[FFmpeg-user] ffmpeg filters
David Previs
david.previs at twensoft.com
Fri Nov 15 17:35:54 EET 2019
Hello
I have the following Filters:
Watermark:
"overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2"
Text Overlay:
drawtext="fontsize=24:fontcolor=ffff00 at 0.5:fontfile=/Windows/Fonts/Arial.ttf
:text='Test Overlay':x=(w-text_w)/2:y=(h-text_h)-2"
Time Stamp:
,"drawtext=fontfile='C\:\\WINDOWS\\Fonts\\Arial.ttf'\:fontcolor=White\:fonts
ize=12\:timecode ='00\:00\:00\:00'\:r=25\:x=(w-text_w)/2\:y=(h-text_h)-2"
The command line I send to ffmpeg is:
-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"
The error is receive is:
No such filter: ''
Error initializing complex filters.
Invalid argument
Please help!
David
More information about the ffmpeg-user
mailing list