[FFmpeg-user] Two outputs for ffmpeg

Victor Petrescu victor.petrescu13 at gmail.com
Mon Apr 4 14:03:42 CEST 2011


Good day to all.

I need to stream something from a live cam and to record it in the same
time.

I use ffsever for streaming and use a pipe to feed ffmpeg.

So I have the 2 commands

ffmpeg -i pipe.avi -async 1 -r 25 http://localhost:8090/feed1.ffm -> for
streaming
ffmpeg -i pipe.avi -async 1 -vcodec flv -f flv -r 25 somename.flv -> for
recording

Both work fine independent.

The problem is that when I use them together The recording is decent (not
good) but the stream look like hell (random colors everywhere).

Can any1 tell me how to fix this?

Thank you for your time.

Victor


More information about the ffmpeg-user mailing list