Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yu__leon
Beginner
286 Views

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

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
286 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. 

Reply