DirectShow DVD 操作和捕获
我是 DirectShow 新手。
我的目的是开发一个处理视频处理的小型应用程序(C#)。
我需要的主要任务是:
1 - 显示 DVD 中的视频内容。 2 - 导航至视频中的特定时间点。 3 - 将特定帧捕获为静态图像并将其保存到文件中。
起初听起来很简单,但在阅读了数千个博客、论坛和代码示例后,我不知道如何做到这一点。
我很确定这些任务已经实施了很多次,所以如果有人有任何可以提供帮助的信息,我会很高兴听到。
当我对这个问题感到绝望时,购买外部 DLL 或付费寻求一些建议是一种选择。
谢谢。
I am new to DirectShow.
My intention was to develope a small application (C#) that handles video processing.
The main tasks i need are :
1 - Display video content from a DVD.
2 - Navigate to specific points of time in the video.
3 - Capture specific frames into still images and save them to files.
Sounded easy at first, but after reading thousands of blogs, forums and code samples i can't figure out how this can be done .
I am pretty sure these tasks have been implemented plenty of times, so if anyone has anything that can help i would be very happy to hear it.
As i am getting desperate on this issue, buying external DLLs or paying for some advice is an option.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不确定这是否有帮助,但我的 WPF MediaKit 中有一个 DvdPlayerElement 控件。
如果您想要音频,则必须安装音频编解码器,因为 Windows 的内置编解码器由于许可而被锁定。
Not sure if this will help, but I have a DvdPlayerElement control in my WPF MediaKit.
You must install an audio codec if you want audio as the built in one with Windows is locked down due to licensing.
也许您可以包装 MSVidWebDVD 对象,并结合一些屏幕捕获技术 [?] 另请参阅 从VOB(DVD) 文件
perhaps you can wrap the MSVidWebDVD object, combined with some screen capture techniques [?] see also Extract frame from VOB(DVD) file
谢谢 Jeremiah,我知道 WPF MediaKit 并尝试使用它。
它非常酷,但不允许使用 DirectShow 中提供的所有功能。
缺少一些事件,并且查找操作似乎对我不起作用。
我想我可以深入研究代码并找出答案,但时间压力不允许。
如果您有一个可以实现我正在寻找的功能(显示、搜索、捕获)的应用程序示例,我将非常乐意查看。
再次感谢。
Thanks Jeremiah, I do know WPF MediaKit and tried working with it.
It is pretty cool, but does not allow all of the functionality available in DirectShow.
There are some events missing and the seeking operation does not seem to work for me.
I guess i can dig in the code and figure it out, but the time pressure won't allow it.
If you have an example of an application that accomplishes what i am looking for (display, seek, capture) i would be very happy to take a look.
Thanks again.