[FFmpeg-user] ffmpeg filters
Michael Koch
astroelectronic at t-online.de
Fri Nov 15 18:25:54 EET 2019
Am 15.11.2019 um 16:53 schrieb David Previs:
> -y -i "c:\ffmpeg\Black.mp4" -i "C:\pw\temp\watermark99.png" -filter_complex
> "overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2",
> drawtext="fontsize=24:fontcolor=ffff00 at 0.5:fontfile=/Windows/Fonts/Arial.ttf
> :text='Huntley Film
> Archives':x=(w-text_w)/2:y=(h-text_h)-2","drawtext=fontfile='C\:\\WINDOWS\\F
> onts\\Arial.ttf'\:fontcolor=White\:fontsize=12\:timecode
> ='00\:00\:00\:00'\:r=25\:x=(w-text_w)/2\:y=(h-text_h)-2" -ac 2 -s 640x480
> -preset veryfast "c:\ffmpeg\Output.mp4"
I suggest that you remove all quotation marks and all space characters
and all line feeds from the command line.
The following example is a little bit modified and working. But I did
remove the timecode part because I didn't get that part working.
c://ffmpeg/ffmpeg -y -f lavfi -i testsrc2=size=hd720:duration=10 -f
lavfi -i testsrc2=size=vga:duration=10 -filter_complex
overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2,drawtext=fontsize=24:fontcolor=ffff00 at 0.5:fontfile='arial.ttf':text='Huntley':x=(w-text_w)/2:y=(h-text_h)-2
-ac 2 -s 640x480 -preset veryfast out.mp4
Michael
More information about the ffmpeg-user
mailing list