[FFmpeg-user] Adding black border to RHS of video

Liam Condron-Farnos 23liam at googlemail.com
Fri Feb 1 19:35:03 CET 2013

>Problem solved.  The following command in imagemagik does the job on each
>convert -size 1920x1080 xc:black -page +0+0 img001.jpg -layers flatten

oh god what, no no just use the pad video filter

    ffmpeg -i input.mp4 -filter:v 'pad=iw+300:ih:0:0' -c:a copy -c:v
libx264 -reset veryfast output.mp4

See the documentation: http://ffmpeg.org/ffmpeg-filters.html#pad

More information about the ffmpeg-user mailing list