关于简单媒体播放器的问题。(《DirectShow开发指南》例子)

deltacat 2004-05-14 06:11:28
《DirectShow开发指南》有一个SimplePlayer的例子,一个月前曾经进行过修改,利用他的一些代码来做一个通用的播放器。

这两天又拿出来看,遇到奇怪的问题:播放mpg文件时,有声音,播放正常,但是无法定位(一调用seeking就返回到开头继续播放),divx的avi播放定位都正常,但是没有声音(用graphedit看,在Avi Spliter这里,就没有输出音频)。

可能是什么原因呢?记得一个月前好像没这毛病。

另外,调试时debug窗口的这些信息是什么意思?
emoved from filter graph
Loaded 'C:\WINDOWS\system32\msacm32.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\avi2ac3filter.ax', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\iviaudio.ax', no matching symbolic information found.
The thread 0x80C has exited with code 0 (0x0).
Loaded 'C:\Program Files\Media Player Classic\Codecs\3ivxdsmediasplitter.ax', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\openquicktimelib.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wmpasf.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mpr.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\dxmasf.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\drmclien.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mpg2splt.ax', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\oggds.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\vorbis.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\ogg.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Media Player Classic\Codecs\Vorbisenc.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\strmdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\wsock32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\tapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rtutils.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\aac_parser.ax', no matching symbolic information found.
Destructor
The thread 0xB30 has exited with code 0 (0x0).
The thread 0xD3C has exited with code 0 (0x0).
Loaded 'C:\WINDOWS\system32\msi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\sxs.dll', no matching symbolic information found.
The thread 0xD28 has exited with code 0 (0x0).
The thread 0xFD0 has exited with code 0 (0x0).
The thread 0x848 has exited with code 0 (0x0).
The thread 0xB94 has exited with code 0 (0x0).
...全文
137 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jemyzhang 2004-06-08
  • 打赏
  • 举报
回复
智能连接有时候是不能保证选用的filter可以正常的处理媒体。
你必须手动选择decoder用filtergraph::directconnect来连接才能保证正常
deltacat 2004-06-08
  • 打赏
  • 举报
回复
已经明白了。最近作的其他一些程序,都尽量不用智能连接。不过某些时候智能连接还是能带来一些方便的,要灵活运用了。

多谢。CSDN论坛好久上不来了。这是修复后的第一帖。
happydeer 2004-06-07
  • 打赏
  • 举报
回复
智能连接问题。以前已经解释过了,现在都丢了:(

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧