[FFmpeg-user] Cannot stream live in FLV format. SWF works. Why?

Roger Pack rogerdpack2 at gmail.com
Mon Oct 15 19:03:09 CEST 2012


> I would like to generate a live videostream using ffmpeg/ffserver under linux. The stream originates from a sequence of images which are rendered in realtime by processing several sensor data. The images are written as jpegs to the named pipe "jpgpipe" (created by mkfifo) at a rate of 5 fps by a separate process. My problem is that I don't know which is the best format for live streaming with as little latency as possible?
>
> The image sequence is encoded to flv and sent to ffserver on port 8090:
> ffmpeg -y -r 5 -f mjpeg -i jpgpipe -vcodec flv -flags +global_header http://localhost:8090/feed1.ffm

You'd think that with straight images there wouldn't be much latency,
though I'm not sure how ffserver deals with latency.
My previous thoughts on it I wrote up here:
http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide#Latency


More information about the ffmpeg-user mailing list