[FFmpeg-user] Drawtext problem - Not enough inputs specified for the drawtext filter.
Guillaume (Numerizik)
forum at numerizik.com
Wed Oct 12 10:33:43 CEST 2011
Hello everybody
I try to use drawtext but i have problem ! :(
ffmpeg -sameq -i /home/video/temp/step1.mp4 -vf
"movie=0:png:/home/temp/tpl_box.png
[logo];drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.tt
f: text='Test Text' [txt]; [in][logo][txt] overlay=0:0 [out]"
/home/video/temp/step3.mp4
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 12 2011 10:27:12 with gcc 4.4.5
configuration: --enable-filter=movie --enable-libfreetype
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
I have this error msg
[buffer @ 0x8bfff10] w:1280 h:720 pixfmt:yuv420p
Not enough inputs specified for the "drawtext" filter.
Error opening filters!
I check in doc and only fontfile and text are mandatory ? Can you help me ?
Thanks
Guillaume
More information about the ffmpeg-user
mailing list