[FFmpeg-user] need help with 'drawtext' usage

Etienne Buira etienne.buira.lists at free.fr
Tue Jun 7 19:29:47 CEST 2011


On Tue, Jun 07, 2011 at 09:52:51AM -0700, pgoldweic wrote:
> Hi,
> I'm a newbie to ffmpeg and I would like to draw a title on top of a video
> clip. I've installed an ffmpeg executable for Windows (just downloaded),
> compiled with the following options:
> --enable-gpl --enable-version3 --enable-memalign-hack
> --enable-runtime-cpudetect --enable-avisynth --enablebzlib --enable-frei0r
> --enable-libopencore-amrnb --enable-libopencore-armwb --enable-libfreetype
> -- enable-libgsm -- enable-libmp3lame --enable-libopenjpeg --enablelibrtmp
> --enable-libschroedinger --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
> enable-libxvid -- enable-zlib --pkg-config=pkg-config
> 
> 
> When I run the following command, I get no text whatsoever on my clip. Any
> suggestions on what could be wrong?
> ffmpeg -i mymovie.mov -vcodec copy -acodec copy -vf
> "drawtext=fontfile=c:\Windows\Fonts\arial.ttf:text='test'" mytitledmovie.mov

With -vcodec copy, you ask for a copy, so it is normal that the video
does not get modified.
If you want to change the video, you have to reencode the video track.


More information about the ffmpeg-user mailing list