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# ..
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 ...
You need to either use an undecrypted DVD or you need to decrypt your DVD in order for this to work.
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.