This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Encoder output as 1920x1080 resolution - H264Encoder

Hi,

I am using DM368 based IP Camera .

Capture and Encode application can able to give 1920x1088 output.

I am looking to get 1920x1080 output from encoder.

I have tried to do this using two methods.

1)

I set resizer A output height as 1088 and encoder dynamic parameter inputheight as 1080 then application generate output video with 1920x1080 resolution.

2)

To avoid resizer overhead, I set resizer A output height as same as capture height 1080 and tried to pad encoder input buffer with extra 8 (1920*8*3/2)(colorspace is set as yuvpsemi) pixel data with input height set in encoder as 1080. Here encoder is generating 1920x1080 output but at bottom of encoded frame I can see 8 pixel of green bar. 

How to set input buffer to encoder in multiple of 16 so i will not get green bar at bottom.

Thanks,

Rachit