[FFmpeg-user] how to co-work between ffserver and ffmpeg
soho123.2012 at gmail.com
Fri May 24 11:24:56 CEST 2013
Can anyone give some comments about :
how to co-work between ffserver and ffmpeg?
When ffmpeg is started, I can see ffserver receive data , but the source ip
address is 127.0.0.1.
and when I use VLC from remote host with the url:
then ffserver can output video stream to the VLC client.
but I confused about:
ffmpeg will keep write video data to feed,
and ffserver should read video data from feed with the format of feed,
ffmpeg may corrupt the content of feed if ffserver is reading at the same
then ffserver can not parse the ffm header.
Can someone give some comments about this mechanism?
the command I use:
ffserver.conf for the stream:
AVOptionVideo flags +global_header
ffserver -f /etc/ffserver.conf &
ffmpeg -f video4linux2 -r 30 -s 1280x720 -input_format h264 -i /dev/video1
-vcodec copy http://localhost:8090/feed1.ffm > /dev/null 2>&1 &
More information about the ffmpeg-user