Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2935 Discussions

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

yu__leon
Beginner
668 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
668 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