[FFmpeg-user] overlay and drawtext

jacky renaux.jacky at orange.fr
Fri Jan 25 09:15:19 CET 2013


Le 24/01/2013 22:24, Carl Eugen Hoyos a écrit :
> jacky <renaux.jacky <at> orange.fr> writes:
>
>> ffmpeg -i smptebars.flv -i uad.png -filter_complex
>> "[0][1]overlay[b];[b] drawtext=fontsize=20:
>> fontfile=C:/WINDOWS/Fonts/ARIAL.TTF:=text=hello
> I suspect there is a problem with the escaping
> of ":" in "C:", either try "C\\:" or copy ARIAL.TTF
> into your current directory.
>
> (And I wonder if "=text=hello" is really the
> correct syntax.)
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
Hi
I found which I had syntax problem these are working fine
_texte from the command line_
ffmpeg -y -i  in_file.flv -i logo.png -filter_complex 
"[0][1]overlay[b];[b] 
drawtext=fontfile=/Windows/Fonts/arialbd.ttf:text=my texte 
:fontsize=46:fontcolor=white:shadowcolor=black:shadowx=1:shadowy=1:x=W*(1-0.05*t):y=H+descent-ascent" 
out_file.flv

_texte taken from  my_texte.txt file _
ffmpeg -y -i  in_file.flv -i logo.png -filter_complex 
"[0][1]overlay[b];[b] 
drawtext=fontfile=/Windows/Fonts/arialbd.ttf:textfile=my_texte.txt:fontsize=15:fontcolor=white:shadowcolor=black:shadowx=1:shadowy=1:x=W*(1-0.05*t):y=H-120+descent-ascent" 
out_file.flv

these exemples belongs to the archive thanks to all

I still have a pending question
how could I made with ffmpeg a png file with transparency and/or alpha 
like pink at 0.5 (example)
I have tried
ffmpeg -i uad.jpg  -vcodec png -pix_fmt rgb32 -y uad.png

many thanks to all
jacky









More information about the ffmpeg-user mailing list