View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000582 | madVR | bug | public | 2018-10-11 07:56 | 2018-10-11 10:36 |
Reporter | mkver | Assigned To | madshi | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Summary | 0000582: Matroska/Upstream cropping doesn't work in DXVA2 Native mode | ||||
Description | Hello, the Matroska/Upstream cropping doesn't work correctly in DXVA2 Native mode. The size of the rectangle and the aspect ratio is right, but the choosen pixels aren't: It doesn't crop at the top, but only at the bottom (and it crops more than it should there -- so much that the size is right). Here is the pin info MPC-BE reports: - Connection media type: Video: dxva 1280x720 (16:7) 25fps 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: 1382400 cbFormat: 112 VIDEOINFOHEADER: rcSource: (0,80)-(1280,640) rcTarget: (0,80)-(1280,640) dwBitRate: 0 dwBitErrorRate: 0 AvgTimePerFrame: 400000 (25.000 fps) VIDEOINFOHEADER2: dwInterlaceFlags: 0x00000081 dwCopyProtectFlags: 0x00000000 dwPictAspectRatioX: 16 dwPictAspectRatioY: 7 dwControlFlags: 0x0000a581 - VideoChromaSubsampling: 5 - NominalRange : 2 (16-235) - VideoTransferMatrix : 1 (BT.709) - VideoLighting : 0 - VideoPrimaries : 0 - VideoTransferFunction : 0 dwReserved2: 0x00000000 | ||||
Steps To Reproduce | Play the file "Matroska.Container.Cropping.mkv" in MPC-BE with its internal filters with DXVA2 native enabled. You'll see a black bar at the top and you'll also see that the white rectangle isn't centered, but below the middle of the video (it should be a white square in the middle of the video and you shouldn't see black bars at all). | ||||
Additional Information | I have already reported it on doom9 here: http://forum.doom9.org/showthread.php?p=1854410#post1854410 The EVR and EVR-CP renderers are able to correctly crop in DXVA2 mode (if the cropping doesn't respect the subsampling, they are off by one, but I'd be satisfied with this). It works correctly when not in DXVA2 native mode. LAV Filters ignores the Matroska container cropping parameters and can therefore not be used to reproduce this issue. But MPC-BE's internal filters work. | ||||
Tags | No tags attached. | ||||
madVR Version | 0.92.17 | ||||
Media Player (with version info) | 1.5.2 (build 4000) beta | ||||
Splitter (with version info) | Internal MPC-BE Splitter from version 1.5.2 (build 4000) beta | ||||
Decoder (with version info) | Internal MPC-BE Decoder from version 1.5.2 (build 4000) beta | ||||
Decoding | DXVA2 Native | ||||
Deinterlacing | none (progressive) | ||||
DXVA2 Scaling Active | no | ||||
Aero / Desktop Composition | On | ||||
Problem occurs with mode | all modes | ||||
GPU Manufacturer | Intel | ||||
GPU Model | i3 4005U | ||||
GPU Driver Version | 10.18.14.4889 | ||||