• AnyStream is having some DRM issues currently, Netflix is not available in HD for the time being.
    Situations like this will always happen with AnyStream: streaming providers are continuously improving their countermeasures while we try to catch up, it's an ongoing cat-and-mouse game. Please be patient and don't flood our support or forum with requests, we are working on it 24/7 to get it resolved. Thank you.

Wrong video stream info with DXVA decoder

Karlson2k

Active Member
Thread Starter
Joined
Nov 24, 2008
Messages
27
Likes
0
System: Windows Vista SP1, ReClock 1.8.3.0, CyberLink H264/AVC Decoder (PDVD8 ), Radeon HD4670

During playback of H264 MKV file with DXVA acceleration ReClock info window ("ReClock Properties") show "23.976 fps, 1280x532i, NV12 12 bits". I understand about "532i" instead of "532p", but colorspace isn't NV12. According to KMPlayer info output pin of decoder has following properties:
majortype: MEDIATYPE_Video({73646976-0000-0010-8000-00AA00389B71})
subtype: Unknown({3231564E-0000-0010-8000-00AA00389B71})
formattype: FORMAT_VideoInfo2({F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA})

When playing MPEG2 files ReClock reports "25.000 fps, 720x576i, NV12 12 bits" or "25.000 fps, 720x576p, YUY2 16 bits" while actual values of decoder output pin are:
majortype: MEDIATYPE_Video({73646976-0000-0010-8000-00AA00389B71})
subtype: Unknown({EE27417F-5E28-4E65-BEEA-1D26B508ADC9})
formattype: FORMAT_VideoInfo2({F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA})
 
Last edited:
System: Windows Vista SP1, ReClock 1.8.3.0, CyberLink H264/AVC Decoder (PDVD8 ), Radeon HD4670

During playback of H264 MKV file with DXVA acceleration ReClock info window ("ReClock Properties") show "23.976 fps, 1280x532i, NV12 12 bits". I understand about "532i" instead of "532p", but colorspace isn't NV12. According to KMPlayer info output pin of decoder has following properties:
majortype: MEDIATYPE_Video({73646976-0000-0010-8000-00AA00389B71})
subtype: Unknown({3231564E-0000-0010-8000-00AA00389B71})
formattype: FORMAT_VideoInfo2({F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA})

"According to KMPLAYER": What do you think the "subtype: Unknown" is?

From uuids.h:

Code:
// 3231564E-0000-0010-8000-00AA00389B71  'NV12' ==  MEDIASUBTYPE_NV12
OUR_GUID_ENTRY(MEDIASUBTYPE_NV12,
0x3231564E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71)
 
"According to KMPLAYER": What do you think the "subtype: Unknown" is?

From uuids.h:

Code:
// 3231564E-0000-0010-8000-00AA00389B71  'NV12' ==  MEDIASUBTYPE_NV12
OUR_GUID_ENTRY(MEDIASUBTYPE_NV12,
0x3231564E, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71)

I'm not sure about correct GUID I was quoted but it's DXVA for sure: CPU load about 3-5% (in opposite to 30-60% software decode).
"ReClock Properties" window allow me to turn on "Show VSYNC on screen" and "Tearing test" but nothing visible exist in both cases.
In case of DXVA shitched off "Tearing test" is visible.
Here is first part of info from KMPlayer on decoder output pin:
Code:
=========================================
Connected Pin/Filter
=========================================
Pin: EVR Input0
Filter: Enhanced Video Renderer(C/A)({FA10746C-9B63-4B6C-BC49-FC300EA5F256})


=========================================
Enum Media Type 0
=========================================
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video({73646976-0000-0010-8000-00AA00389B71})
subtype: Unknown({3231564E-0000-0010-8000-00AA00389B71})
formattype: FORMAT_VideoInfo2({F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA})
bFixedSizeSamples: True
bTemporalCompression: False
lSampleSize: 1382400
cbFormat: 112
pbFormat: $00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 D0 02 00 00 00 00 00 00 00 00 00 00 3B 5D 06 00 00 00 00 00 81 00 00 00 01 00 00 00 00 05 00 00 D0 02 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 D0 02 00 00 01 00 0C 00 64 78 76 61 00 18 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(1280,720)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: $00000081
dwCopyProtectFlags: $00000001
dwPictAspectRatioX: 1280
dwPictAspectRatioY: 720
dwControlFlags: $00000000
dwReserved2: $00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 720
biPlanes: 1
biBitCount: 12
biCompression: dxva
biSizeImage: 1382400
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0


=========================================
Enum Media Type 1
=========================================
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video({73646976-0000-0010-8000-00AA00389B71})
subtype: Unknown({1B81BE69-A0C7-11D3-B984-00C04F2E73C5})
formattype: FORMAT_VideoInfo2({F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA})
bFixedSizeSamples: True
bTemporalCompression: False
lSampleSize: 1382400
cbFormat: 112
pbFormat: $00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 D0 02 00 00 00 00 00 00 00 00 00 00 3B 5D 06 00 00 00 00 00 81 00 00 00 01 00 00 00 00 05 00 00 D0 02 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 05 00 00 D0 02 00 00 01 00 0C 00 64 78 76 61 00 18 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(1280,720)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: $00000081
dwCopyProtectFlags: $00000001
dwPictAspectRatioX: 1280
dwPictAspectRatioY: 720
dwControlFlags: $00000000
dwReserved2: $00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 720
biPlanes: 1
biBitCount: 12
biCompression: dxva
biSizeImage: 1382400
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

Same info from MPC HC:
Code:
Filter : CyberLink H.264/AVC Decoder (PDVD8) - CLSID : {C16541FF-49ED-4DEA-9126-862F57722E31}

- Connected to:

CLSID: {FA10746C-9B63-4B6C-BC49-FC300EA5F256}
Filter: Enhanced Video Renderer (custom presenter)
Pin: EVR Input0

- Connection media type:

Video: DXVA 1280x720 23.98fps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 518400
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,0)-(1280,720)
rcTarget: (0,0)-(1280,720)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 417083

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000001
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0x00000000
dwReserved2: 0x00000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1280
biHeight: 720
biPlanes: 1
biBitCount: 12
biCompression: dxva
biSizeImage: 1382400
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

Full Info is attached.
And ReClock log is also attached (just in case).
 

Attachments

  • KMP Decoder Info.zip
    1.5 KB · Views: 7
  • MPC HC Decoder Info.zip
    1.9 KB · Views: 5
  • reclock_log.zip
    6 KB · Views: 2
Back
Top