[FFserver-user] stream - minimize delay

Anthony Brown av at bsbc.nb.ca
Mon Mar 28 21:47:10 CEST 2011


On 11-03-28 02:13 PM, Victor Petrescu wrote:

> Now I try to stream it. So I kind of do this (in 2 terminals):
>
> terminal 1:
> #mkfifo pipe.avi
> #ffserver &
> #ffmpeg -i pipe.avi -r 24 http://localhost:8090/feed1.ffm
>
> terminal 2:
> #mplayer -quiet -double -dumpstream rtp://192.168.1.8:5004
> <http://192.168.1.8:5004/> -dumpfile pipe.avi

why the mplayer step?  why not go direct from VLC to ffmpeg:

ffmpeg -i rtp://192.168.1.8:5004 -r 24 http://localhost:8090/feed.ffm
in terminal 1 and skip terminal 2 entirely?

Also, you could turn down the caching value in VLC when you send the stream.

Even better would be to skip VLC entirely, supposing that you can read 
from the webcam with ffmpeg....

A/B

-- 


Anthony Brown
Audiovisual coordinator
Brunswick Street Baptist Church
Telephone: (506)-458-8348 (leave message)
Email:     av at bsbc.nb.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: av.vcf
Type: text/x-vcard
Size: 163 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffserver-user/attachments/20110328/f0d93cb8/attachment.vcf>


More information about the ffserver-user mailing list