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