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.

ffmpeg H264_qsv encoding generates horizontal green bar at the bottom of the video

yu__leon
Beginner
1,443 Views

hi there, 

I am using ffmpeg 4.1.3 H264_qsv encoder to capture a video from  camera at 1920 x 1080.

the camera outputs BGRA frame, and I use  IPP function ippiBGRToYCbCr420_8u_AC4P2R to convert it to NV12 format. then the NV12 frame is passed to H264_qsv  encoder. the video file extension is mp4. 

however, the video has a horizontal green bar at the bottom of video. the height of the bar is a few pixels and the width is across the full frame. 

does anyone have some advices how to debug the problem?

thank you and regards

Leon

0 Kudos
1 Reply
yu__leon
Beginner
1,443 Views

found the problem.   the height  needs  to be multiple of 16.    1920 x 1088  has no green bar. 

fyi  nvidia encoder  h264_nvenc is fine with 1920 x 1080. 

0 Kudos
Reply