[FFserver-user] ffserver will not display drawtext content

Gudmundur Karlsson gudmundur.karlsson at gmail.com
Wed Nov 30 22:11:49 CET 2011


I have set up streaming for my webcam. With this in my ffserver.conf:
-------------------------------------------
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 100k
ACL allow 192.168.0.0 192.168.255.255
</Feed>
<Stream test.asf>
Feed feed1.ffm
Format asf
VideoCodec msmpeg4
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
NoAudio
StartSendOnKey
ACL allow 192.168.0.0 192.168.255.255
</Stream>
-------------------------------------------
I use this ffmpeg command, and it works:

ffmpeg -f video4linux2 -i /dev/video0 -vcodec msmpeg4 \
   -vf
drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:x=7:y=7:text='\%H\:\%M\:\%S
\%a \%b/\%d/\%Y'" \
   http://localhost:8090/feed1.ffm

But the drawtext filter is ignored.  It works when I put the output in a
file like this:

ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 \
   -vf
drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:x=7:y=7:text='\%H\:\%M\:\%S
\%a \%b/\%d/\%Y'" test.mp4

I built the ffmpeg and ffserver with this ubuntu howto:
http://ubuntuforums.org/showthread.php?t=786095

ffmpeg -filters returns a long list of filters
ffserver -filters returns no filter list, just "Filters:".

How do I overlay a date/time on an ffserver videostream?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/ffserver-user/attachments/20111130/a0666f35/attachment.html>


More information about the ffserver-user mailing list