[FFmpeg-user] Drawtext filter with date overlay is not working in git-N-29946-g27614b1

Sebastian Arcus shop at open-t.co.uk
Mon May 16 00:11:36 CEST 2011


Just downloaded latest ffmpeg from git and tried the drawtext filter 
with date overlay. No errors on the command line, but the date on the 
video is completely static - it picks up the date the moment ffmpeg is 
started, and it doesn't change any more. The command I use is:

ffmpeg -fflags +genpts -t 600 -f mjpeg -r 8 -s 640x480 \
     -i http://localhost:8080/?action=stream -vcodec mpeg4 \
     -vf drawtext="fontfile=/usr/share/fonts/TTF/mitra.ttf:x=70:y=455:  \
     text='\%H\:\%M\:\%S  |  \%a \%d/\%b/\%Y  |  S500ATV  |  camera 0': \
     fontcolor=0xFFFFFFFF:fontsize=18: \
     shadowcolor=0x000000EE:shadowx=1:shadowy=1" \
     -b 1500000 -r 8 video_file.avi

This used to work just fine only few weeks ago.

The input stream comes from mjpg-streamer, which generates it from a usb 
webcam - but I don't think that makes any difference.

Anybody any suggestions? Any recent changes that broke the drawtext filter?

Sebastian


More information about the ffmpeg-user mailing list