[FFmpeg-devel] ffmpeg can not grap mjpeg stream from UVC Cam in high fps

Soho Soho123 soho123.2012 at gmail.com
Mon Jun 13 14:06:18 CEST 2011


Dears,

Any one know how  to decode mjpeg stream from UVC Cam when using ffmpeg?
When I try the options:
ffmpeg -f video4linux2 -vcodec mjpeg -r 10 -s 640x480 -i /dev/video0
-r 10 -vcodec copy http://localhost:8090/feed1.ffm
ffmpeg will hang, since system memory has been  exhausted.
When UVC Cam pass mjpeg format via v4l2 to ffmpeg, I use 'copy' to
pass to outptu file ,
but the function is fail when system is exhausted. Why ffmpeg will
occupy system memory for stream?


Thanks!

Best Regards,
Soho


More information about the ffmpeg-devel mailing list