[FFmpeg-user] Can ffmpeg+ffserver save video data to local disk and send out to network simultaneously ?

Soho Soho123 soho123.2012 at gmail.com
Fri May 31 03:59:40 CEST 2013


> > If I would like to implement a stream server and it have to save video
> data
> > to local disk simultaneously when ffserver output the video stream,
> > is it possible to use ffmpeg +ffserver?
>
>
> ffmpeg -i … -f mpegts - | ffmpeg -i - -c copy backup.ts -c copy rtsp://…
>
> Do you mean ffmpeg can output rtsp stream and save to backup.ts, right?
then ffserver is not necessary?

if my ffmpeg command is :
ffmpeg -f video4linux2 -r %d -s 1280x720 -input_format h264 -i /dev/video1
-vcodec copy http://localhost:8090/feed1.ffm > /dev/null 2>&1 &
and I also to start ffserver for http service,
then how to get the result I want?


More information about the ffmpeg-user mailing list