[FFmpeg-user] Adding Borders

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 31 14:48:16 CET 2013


Indian Maiden <theindianmaiden <at> gmail.com> writes:

> > > 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

Use -filter_complex instead of "-vf" for this filter chain.

> it errors with this:
> 
> Simple filtergraph 'scale=1728x864,pad=1920:1080:0:0:gray

[...]

Please do never post an extract of FFmpeg console output, 
always post at least the first and last 50 lines.

And please cut your quotes, Carl Eugen



More information about the ffmpeg-user mailing list