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

Rodney Baker rodney.baker at iinet.net.au
Sat Feb 2 02:21:04 CET 2013

On Fri, 1 Feb 2013 18:35:03 Liam Condron-Farnos wrote:
> >Hi,
> >Problem solved.  The following command in imagemagik does the job on each
> >image.
> >convert -size 1920x1080 xc:black -page +0+0 img001.jpg -layers flatten
> >test.jpg
> 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

s/reset/preset (or it won't work). 

Rodney Baker VK5ZTV
rodney.baker at iinet.net.au

More information about the ffmpeg-user mailing list