Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zhou__christine
Beginner
141 Views

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

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
141 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

zhou__christine
Beginner
141 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?

 

zhou__christine
Beginner
141 Views

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

Mark_L_Intel1
Moderator
141 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

zhou__christine
Beginner
141 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.

Mark_L_Intel1
Moderator
141 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

zhou__christine
Beginner
141 Views

Thank you, Mark.

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

Mark_L_Intel1
Moderator
141 Views

Glad to know that you solved it.

Mark

Reply