- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forgot one point. I decode 1920*1080 rtsp stream (hevc), it also has green edge at the bottom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Mark.
I've solved it using DXVA2 Video Processor to set the scope in D3D9 rendering.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to know that you solved it.
Mark

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page