是否可以使用 directshow 打开不完整的视频文件进行播放?
是否可以使用 directshow 打开不完整的视频文件进行播放? 当前的解决方案首先下载视频文件(.avi-container,可以是h.264、mpeg2、mpeg4),然后开始播放。这当然可能是一个相当漫长的操作。
下载器从数据库中分块获取视频文件,因此理论上应该可以在下载过程中打开文件。
是否可以创建一个 Directshow 图形,即使在播放开始时文件不完整,也可以在下载期间开始播放?
该软件是用 C++ 编写的服务器/客户端。
谢谢,
Is it possible to open incomplete video-files for playback using directshow?
The current solution first downloads the video file (.avi-container, can be h.264, mpeg2, mpeg4) and then starts playback. This can of course be a rather lengty operation.
The downloader fetches the videofile in chunks from a database so in theory it should be possible to open the file during download.
Is it possible to create a Directshow graph that can start the playback during download even if the file is incomplete when playback starts?
The software is written in C++ both server/client.
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
至少 http://en.wikipedia.org/wiki/VLC_media_player#cite_note-12 可能会做到这一点...
不过,据我所知,只要文件存在,您就应该能够启动图表...只要它在播放过程中没有到达末尾当文件还没有被写入时。
或者您是否正在寻找一些可以在重播之前“耐心等待”的过滤器?
at the least http://en.wikipedia.org/wiki/VLC_media_player#cite_note-12 will probably do it...
As far as I'm aware, though, you should be able to start the graph as soon as the file exists...as long as it doesn't reach the end during playback while the file hasn't been written yet.
Or are you looking for some filter that will "wait patiently" before replaying?