[FFmpeg-user] FFmpeg stream copy fail

Soho Soho123 soho123.2012 at gmail.com
Wed Feb 6 17:49:33 CET 2013

Hi All,

I see the document from ffmpeg website, it says tream copy is:
It makes ffmpeg omit the decoding and encoding step for the specified
stream, so it does only demuxing and muxing

But I can NOT get the function work normally, it will cause out of memory,
does anyone have get normally function about stream copy?
for example:
ffserver.conf for Stream:
<Stream test.mjpg>
Feed feed1.ffm
 Format mjpeg

 VideoFrameRate 30
 VideoSize 1280x720
 VideoBitRate 256
 VideoBufferSize 400
 #VideoGopSize 3
 #Strict -1
ffserver command:
ffserver -d -f /etc/ffserver.conf&

ffmpeg command:
ffmpeg -f video4linux2 -r 30 -s 1280x720 -i /dev/video0 -c copy -f
mpegts http://localhost:8090/feed1.ffm

Is something wrong in command of ffmpeg?
Is something wrong in ffserver.conf?

Thanks a lot for your input!

Best Regards,

More information about the ffmpeg-user mailing list