Extract frame from VOB(DVD) file

依然范特西╮ 提交于 2020-01-16 08:08:10

问题


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# ..


回答1:


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 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.

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.




回答2:


You might be able to write your own render filter ... that way you'd have the raw data that you could do what you please with. Dunno if the copy protection mechanisms will stop you doing that though ...




回答3:


You need to either use an undecrypted DVD or you need to decrypt your DVD in order for this to work.



来源:https://stackoverflow.com/questions/1476975/extract-frame-from-vobdvd-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!