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.

Black border at the video output after H.264 encoding

Other Parts Discussed in Thread: TVP5146M2

I am using custom DM368 hardware and TVP5146M2 analog decoder to convert analog NTSC video input to digital.(720X480)
After H.264 encoding I see black border at the right of the video, after doing a bit of search found it was because of padding(736X480).
How to remove the black border at the output video.

Below is the pipeline I am using:
gst-launch -v v4l2src always-copy=FALSE input-src=composite ! "video/x-raw-yuv,format=(fourcc)NV12,width=720,height=480,pitch=736" !
dmaiaccel ! dmaienc_h264 targetbitrate=800000 ! dmaiperf print-arm-load=true ! rtph264pay ! udpsink host=192.168.1.15 port=3000 sync=false