2009-02-16, 05:58 AM
Using the 1080i sample from the link you gave me, ffdshow will connect to pins with either of the following settings:
Possibly just need to change the reported format from FORMAT_VIDEOINFO to FORMAT_VIDEOINFO2? I'll try it tomorrow and let you know if it works.
Code:
Major: MEDIATYPE_Video
Subtype: {6F29D2AD-E130-45AA-B42F-F623AD354A90}
bFixedSizeSamples: FALSE
bTemporalCompression: TRUE
lSampleSize: 0
cbFormat: 112
Format: FORMAT_VIDEOINFO2
VIDEOINFOHEADER2:
rcSource: (0,0,1920,1088)
rcTarget: (0,0,1920,1088)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 400000
dwInterlaceFlags: 0
dwCopyProtectFlags: 0
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0
BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1088
biPlanes: 1
biBitCount: 0
biCompression: 0x34363248
biSizeImage: 6619252
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 7864320
biClrImportant: 0
Code:
Major: MEDIATYPE_Video
Subtype: {31435641-0000-0010-8000-00AA00389B71}
bFixedSizeSamples: TRUE
bTemporalCompression: FALSE
lSampleSize: 1
cbFormat: 167
Format: FORMAT_MPEG2_VIDEO
VIDEOINFOHEADER2:
rcSource: (0,0,0,0)
rcTarget: (0,0,0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 7
dwInterlaceFlags: 0
dwCopyProtectFlags: 0
dwPictAspectRatioX: 1920
dwPictAspectRatioY: 1080
dwControlFlags: 0
BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1080
biPlanes: 0
biBitCount: 0
biCompression: 0x31435641
biSizeImage: 0
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
MPEG2VIDEOINFO:
dwStartTimeCode: 0
cbSequenceHeader: 35
dwProfile: 100
dwLevel: 40
Sequence Header:
00 1b 27 64 40 28 ac 34 c5 01 e0 11 1f 78 0f b8
08 08 0f 80 00 00 03 00 80 00 00 19 4a 00 04 28
ee 3c 80
Possibly just need to change the reported format from FORMAT_VIDEOINFO to FORMAT_VIDEOINFO2? I'll try it tomorrow and let you know if it works.