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

Stefano Sabatini stefano.sabatini-lala at poste.it
Mon May 16 16:16:14 CEST 2011


On date Monday 2011-05-16 12:32:16 +0100, Sebastian Arcus encoded:
> I've just noticed that ffmpeg is using 98%-100% of one of the
> processor cores. It used to take about 28%-38% on the same machine
> doing the same work using an ffmpeg build from 8th March 2011.
> 
> Sebastian
> 
> 
> On 05/15/2011 11:11 PM, Sebastian Arcus wrote:
> >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.

Yes it was borken by a recent commit, I'll fix it soon.

> >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?

Wait...

> Any recent changes that broke the drawtext filter?
-- 
ffmpeg-user random tip #5
FFmpeg documentation:
http://www.ffmpeg.org/documentation.html


More information about the ffmpeg-user mailing list