Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DirectShow and VIDEOINFOHEADER2 ?

40 views
Skip to first unread message

Infinitesimal

unread,
Oct 4, 2007, 8:15:21 PM10/4/07
to
Hi!

I am using DirectShow to load an AVI movie into a graph and query its
properties. I specifically am trying to obtain the interlace
properties. Documentation suggests that I can find this information
in the VIDEOINFOHEADER2 struct. but there doesn't seem to be always
get data in this format.

Is their another way to expose interlace info or a reliable way to get
data in this format ?

Thanks!

Michel Roujansky - DirectShow Consultant and Trainer

unread,
Oct 7, 2007, 12:29:34 PM10/7/07
to

If you get the mediatypes of connections, there are more format types
than VIDEOINFOHEADER2 :
FORMAT_None None.
FORMAT_DvInfo DVINFO
FORMAT_MPEGVideo MPEG1VIDEOINFO
FORMAT_MPEG2Video MPEG2VIDEOINFO
FORMAT_VideoInfo VIDEOINFOHEADER
FORMAT_VideoInfo2 VIDEOINFOHEADER2
FORMAT_WaveFormatEx WAVEFORMATEX
GUID_NULL None

0 new messages