I have set up streaming for my webcam. With this in my ffserver.conf:<br class="Apple-interchange-newline">-------------------------------------------<div><div><Feed feed1.ffm></div><div>File /tmp/feed1.ffm</div><div>
FileMaxSize 100k</div><div>ACL allow 192.168.0.0 192.168.255.255</div><div></Feed></div></div><div><div><Stream test.asf></div><div>Feed feed1.ffm</div><div>Format asf</div><div>VideoCodec msmpeg4</div><div>VideoFrameRate 15</div>
<div>VideoSize 352x240</div><div>VideoBitRate 256</div><div>VideoBufferSize 40</div><div>VideoGopSize 30</div><div>NoAudio</div><div>StartSendOnKey</div><div>ACL allow 192.168.0.0 192.168.255.255</div><div></Stream></div>
</div><div>-------------------------------------------</div><div>I use this ffmpeg command, and it works:</div><div><br></div><div><div>ffmpeg -f video4linux2 -i /dev/video0 -vcodec msmpeg4 \</div><div> -vf drawtext="fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:x=7:y=7:text='\%H\:\%M\:\%S \%a \%b/\%d/\%Y'" \</div>
<div> <a href="http://localhost:8090/feed1.ffm">http://localhost:8090/feed1.ffm</a></div></div><div><br></div><div>But the drawtext filter is ignored. It works when I put the output in a file like this:</div><div><br></div>
<div><div>ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 \</div><div> -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</div>
</div><div><br></div><div>I built the ffmpeg and ffserver with this ubuntu howto:</div><div><a href="http://ubuntuforums.org/showthread.php?t=786095">http://ubuntuforums.org/showthread.php?t=786095</a></div><div><br></div>
<div>ffmpeg -filters returns a long list of filters<br></div><div>ffserver -filters returns no filter list, just "Filters:".</div><div><br></div><div>How do I overlay a date/time on an ffserver videostream?</div>
<div><br></div><div>Thanks in advance.</div><div><br></div><div><br></div>