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.
3056 Discussions

sample_decode render 640x360 h264 appears green edge

QS
Beginner
422 Views

When using sample_decode to render 640x360 h264 stream which encoded by sample_encode, there will be green edge. But when using x264, or using sample_encode with a different resolution, it will be ok.

step to reproduce:

x264 --profile main --preset superfast --tune zerolatency --keyint 25 --vbv-maxrate 1500 --vbv-bufsize 1500 --input-res 640x360 -o x264.h264 camera_move_yuv420p_640_360_25fps.yuv -v

 

sample_encode.exe h264 -nv12 -i camera_move_nv12_640_360_25fps.yuv -o intel.h264 -w 640 -h 360 -r 1 -g 25

 

sample_decode.exe h264 -f 25 -i intel.h264 -r -w 640 -h 360(Green Edge)

 

sample_decode.exe h264 -f 25 -i x264.h264 -r -w 640 -h 360(OK)

---

x264 --profile main --preset superfast --tune zerolatency --keyint 25 --vbv-maxrate 1500 --vbv-bufsize 1500 --input-res 1280x720 -o x264.h264 camera_move_yuv420p_1280_720_25fps.yuv -v

 

sample_encode.exe h264 -nv12 -i camera_move_nv12_1280_720_25fps.yuv -o intel.h264 -w 1280 -h 720 -r 1 -g 25

 

sample_decode.exe h264 -f 25 -i intel.h264 -r -w 1280 -h 720(OK)

 

sample_decode.exe h264 -f 25 -i x264.h264 -r -w 1280 -h 720(OK)

 

---

system: win7 x64/i5 4590

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
422 Views

Hi,

Sorry for the late response, could you check if the following post help?

https://software.intel.com/en-us/forums/intel-media-sdk/topic/796585

Mark

0 Kudos
Reply