[FFmpeg-user] Adding Borders

Indian Maiden theindianmaiden at gmail.com
Thu Jan 31 15:58:12 CET 2013


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

> 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

First off thanks for your help and sorry for being such a newbie.  This
advanced filters syntax is somehow different and my command now throws this
error (with quotes removed):


Invalid stream specifier: in.

 Stream specifier in in filtergraph description
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] matches no streams.

Here is the complete output of the encode run:  http://pastebin.com/wDvwKFNL


More information about the ffmpeg-user mailing list