[FFmpeg-user] Adding Borders

Indian Maiden theindianmaiden at gmail.com
Thu Jan 31 14:07:38 CET 2013


On Thu, Jan 31, 2013 at 4:52 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Indian Maiden <theindianmaiden <at> gmail.com> writes:
>
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > ffmpeg-user <at> ffmpeg.org
> > > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> Please cut your quotes, we know that my mail was
> sent to ffmpeg-user;-)
>
> > Thanks for your help. That worked for scaling the image but I cant figure
> > out how to put into my existing  filter chain. Any ideas?
> >
> > ffmpeg -i ./1080bars.mov -vf "scale=1728x864,pad=1920:1080:0:0:gray
> > movie='./thumbnail.jpg' [watermark]; [in][watermark]
> > overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/3[water];[water]
> > drawtext=fontsize=50:fontcolor=Yellow:fontfile=./font.ttf:
> > timecode='00\:00\:00\:00':r=23.98:x=(w)/2:y=(h)-50,drawtext=fontsize=50:
> > fontcolor=Yellow:fontfile=./font.ttf:text='Frame\:\%{n}':x=(w)/1.2:
> > y=(h)-50[out]" ./test1/test%06d.tiff
>
> From a quick look, your command line looks fine to me.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


it errors with this:

Simple filtergraph 'scale=1728x864,pad=1920:1080:0:0:gray
movie='./thumbnail.jpg' [watermark]; [in][watermark]
overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/3[water];[water]
drawtext=fontsize=50:fontcolor=Yellow:fontfile=./font.ttf:timecode='00\:00\:00\:00':
r=23.98:x=(w)/2:y=(h)-50,drawtext=fontsize=50:fontcolor=Yellow:fontfile=./font.ttf:text='Frame
\:\%{n}':x=(w)/1.2:y=(h)-50[out]' does not have exactly one input and
output.
Error opening filters!

It works if I take out the scale and pad.


More information about the ffmpeg-user mailing list