当我将Microsoft DTV-DVD视频解码器连接到我的变换滤镜时,它不会发送媒体样本。看起来它只在渲染器连接时才发送样本。为了连接到MS DTV-DVD视频解码器(与DXVA或类似的东西有关),我的变换应该满足哪些要求。 仅在某些MOV文件中发生这种情况。 这是DTV-DVD和Renderer之间的联系:
[Microsoft DTV-DVD Video Decoder]/(Video Output 1) -> [Video Renderer]/(VMR Input0)
Major: MEDIATYPE_Video
Subtype: MEDIASUBTYPE_NV12
bFixedSizeSamples: TRUE
bTemporalCompression: FALSE
lSampleSize: 3342336
cbFormat: 1152
Format: FORMAT_VIDEOINFO2
VIDEOINFOHEADER2:
rcSource: (0,0,1920,1088)
rcTarget: (0,0,1920,1088)
dwBitRate: 752026352
dwBitErrorRate: 0
AvgTimePerFrame: 333667
dwInterlaceFlags: 129
dwCopyProtectFlags: 1
dwPictAspectRatioX: 1920
dwPictAspectRatioY: 1088
dwControlFlags: 679547009
BITMAPINFOHEADER:
biSize: 40
biWidth: 2048
biHeight: -1088
biPlanes: 1
biBitCount: 12
biCompression: 0x3231564E
biSizeImage: 3342336
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
这是DTV-DVD和我的变换滤镜之间的连接:
[Microsoft DTV-DVD Video Decoder]/(Video Output 1) -> [Video Transform]/(XForm In)
Major: MEDIATYPE_Video
Subtype: {30323449-0000-0010-8000-00AA00389B71}
bFixedSizeSamples: TRUE
bTemporalCompression: FALSE
lSampleSize: 3110400
cbFormat: 1136
Format: FORMAT_VIDEOINFO2
VIDEOINFOHEADER2:
rcSource: (0,0,1920,1080)
rcTarget: (0,0,1920,1080)
dwBitRate: 746496746
dwBitErrorRate: 0
AvgTimePerFrame: 333333
dwInterlaceFlags: 129
dwCopyProtectFlags: 0
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0
BITMAPINFOHEADER:
biSize: 40
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 12
biCompression: 0x30323449
biSizeImage: 3110400
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
答案 0 :(得分:1)
它与dwCopyProtectFlags = 1有关!我认为该视频受版权保护。我有同样的问题,但没有找到答案喷气机。 您可以使用其他解码器(如ffdshow,
)进行尝试