Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

1080p hevc video decoded to render with a green edge at the bottom

zhou__christine
Beginner
757 Views

Media sdk: Intel® Media SDK 2018 R1

System: Win10 64-bit, Core i7-7770

Driver: 24.20.100.6286

when using sample_decode to decode and render, a green edge(8 rows) appears at the bottom of display window. mfxVideoParam.mfx.FrameInfo.Height=1088 ,  mfxVideoParam.mfx.FrameInfo.CropH=1080, it seems to be a  problem here.

But decoding H264 video to render has not green edge.

sample_decode.exe h265 -i Lifting_1080p.hevc -d3d -r -p 15dd936825ad475ea34e35f3f54217a6

 

0 Kudos
8 Replies
Mark_L_Intel1
Moderator
757 Views

Hi Christine,

Sorry for the late response, did you still have this issue?

We just had a new release on Windows, MSDK 2018R2. I checked this release on i7-7700 with Win 10 but I can't reproduce your observation. Could you check this against 2018R2?

Mark

0 Kudos
zhou__christine
Beginner
757 Views

Hi Mark,

Yes . I try with MSDK 2018R2 . It still has the same problem, and only occurs with resolution 1920*1080.

I've uploaded the test videos. Would it be the problem is?

 

0 Kudos
zhou__christine
Beginner
757 Views

Forgot one point. I decode 1920*1080 rtsp stream (hevc), it also has green edge at the bottom.

0 Kudos
Mark_L_Intel1
Moderator
757 Views

Thanks so much for the quick response,

I used your input and run sample_decode.exe in my Windows 10 with i5-6440HQ, installed MSDK 2018R2. But I can't see the screen line.

I also double check with an output file and played with ffplay, I can't see the green line either.

So my command line is:

# sample_decode.exe h265 -i mobcal_ter1920x1080.hevc -d3d -r -f 30

If I use an output file and ffplay to play the output file, the command line is:

# sample_decode.exe h265 -i mobcal_ter1920x1080.hevc -d3d -o out.yuv
# ffplay -f rawvideo -pix_fmt nv12 -s 1920x1080 -i out.yuv

Could you check it with 2018R2 and also output a separate file?

Mark

0 Kudos
zhou__christine
Beginner
757 Views

Hi Mark,

yuv file output is correct. The green edge occurs when rendering to window with d3d9.

Sorry, I mixed d3d up with d3d11 before.

0 Kudos
Mark_L_Intel1
Moderator
757 Views

Yes, that's confirmed my speculation.

So I don't know how to help you on this. I can not reproduce this on my environment. Media SDK supports HW accelerated codec in the Intel platform, DirectX rendering is a mix of the Microsoft framework and graphic driver and out of the scope.

You might try to change the output mfxVideoParam.mfx.FrameInfo to see if anything changes.

Mark

0 Kudos
zhou__christine
Beginner
757 Views

Thank you, Mark.

I've solved it using DXVA2 Video Processor to set the scope in D3D9 rendering.

0 Kudos
Mark_L_Intel1
Moderator
757 Views

Glad to know that you solved it.

Mark

0 Kudos
Reply