[FFmpeg-user] Drawtext - how to stop text at certain point?

Stefano Sabatini stefasab at gmail.com
Sun Jun 17 13:18:23 CEST 2012


On date Friday 2012-06-15 14:39:33 -0700, stpn encoded:
> Hi, if I wanted to draw moving text, but stop it at the middle of the screen,
> how would I do that? 
> Using drawtext..

Use the draw parameter.

ffplay -f lavfi -i testsrc=n=2 -vf "drawtext=fontsize=25:fontfile=FreeSerif.ttf:x=100:y=x/dar:draw=lt(t\,5):text='hello world'"

Also check complete documentation and examples:
http://ffmpeg.org/libavfilter.html#drawtext
-- 
ffmpeg-user random tip #3
Some few multimedia formats (mpeg-1, mpeg-2:PS, DV) support physical merge 
consistency, which means you can merge two files with cat. E.g.:
cat input1.mpeg input2.mpeg > output.mpeg
See: http://www.ffmpeg.org/faq.html#SEC25


More information about the ffmpeg-user mailing list