Search code examples
c#videodirectxdirectshowmedia

Extract frame from VOB(DVD) file


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


Solution

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