[FFmpeg-user] Adding black border to RHS of video
Liam Condron-Farnos
23liam at googlemail.com
Fri Feb 1 19:35:03 CET 2013
>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
See the documentation: http://ffmpeg.org/ffmpeg-filters.html#pad
More information about the ffmpeg-user
mailing list