从VOB(DVD)文件中提取帧 [英] Extract frame from VOB(DVD) file
问题描述
我需要从视频文件生成缩略图,我正在使用IMediaDet从视频获取帧,它不适用于(* .vob)文件DVD,如何在C#中从DVD获取缩略图.
I need to generate thumbnail from video files, i m using IMediaDet to get frame from video, it not working for (*.vob) file DVD, how can i get thumbnail from DVD in C# ..
推荐答案
目前尚不清楚您是否正在使用未加密的DVD.为了这个答案,我假设你是.
It isn't clear whether or not you are using an unencrypted DVD. For the sake of this answer, I'm going to assume you are.
IMediaDet使用Sample Grabber过滤器执行其大部分操作.不幸的是,示例采集卡不支持 VIDEOINFOHEADER2 此处所示的格式.某些MPEG-2解码器将仅使用VIDEOINFOHEADER2格式,从而导致无法连接Sample Grabber和IMediaDet.
IMediaDet uses the Sample Grabber filter to perform most of its operations. Unfortunately the Sample Grabber doesn't support the VIDEOINFOHEADER2 format as indicated here. Some MPEG-2 decoders will only use the VIDEOINFOHEADER2 format, thus preventing the Sample Grabber from connecting, and IMediaDet from working.
我确实知道Elecard的MPEG-2解码器可用这里能够同时输出VIDEOINFOHEADER和VIDEOINFOHEADER2.因此,它与IMediaDet兼容,并且应该能够完成您想要的操作.
I do know that the MPEG-2 decoder from Elecard available here is able to output both VIDEOINFOHEADER and VIDEOINFOHEADER2. It is thus compatible with IMediaDet and should be able to accomplish what you want.
这篇关于从VOB(DVD)文件中提取帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!