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