Media sdk: Intel® Media SDK 2018 R1
System: Win10 64-bit, Core i7-7770
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
- Development Tools
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
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?
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?
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.