- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Sir ,
We decode the h264 frame to RGB, and NV12, some outputs are incorrect, anything setting we missed.
The attached are log file.
Thanks
Michael Wu
1. H264 to RGB (SW / VAAPI) ==> Color Incorrect
./sample_decode h264 -sw -vaapi -i ./camera_124_640x_480.h264 -rgb4 -o test_vaapi_hw.rgb
Original Video streamer
2. H264 to RGB (HW / VAAPI) ==> Frame Incorrect
./sample_decode h264 -hw -vaapi -i ./camera_124_640x_480.h264 -rgb4 -o test_vaapi_hw.rgb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> After download the last version MSDK, build and install, this issue is resolved.
good to know this
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>> 1. H264 to RGB (SW / VAAPI) ==> Color Incorrect
It is because MSDK output of MFX_FOURCC_RGB4 color format is actually BGRA format, not the RGBA format, whereas this YUV file viewer tool supports RGB32 format which is RGBA format. That's why R & B components are interchanged while rendering.
>> 2. H264 to RGB (HW / VAAPI) ==> Frame Incorrect
Logically this output should have been exactly same as output of SW mode. Are you getting any decode error in this path? Is this incorrect output for every decode output or only first output frame?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ramashankar,
#1. It is because MSDK output of MFX_FOURCC_RGB4 color format is actually BGRA format,
===>Thank you for your information, this information is good for us.
#2. Logically this output should have been exactly same as output f SW mode. Are you getting any decode error in this path? Is this incorrect output for every decode output or only first output frame?
====> After download the last version MSDK, build and install, this issue is resolved.
Thank you for your support.
Michael Wu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> After download the last version MSDK, build and install, this issue is resolved.
good to know this
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page