[FFmpeg-user] ffmpeg stream copy fail when video size 1280x720

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 20 09:57:04 CET 2013


Soho Soho123 <soho123.2012 <at> gmail.com> writes:

> # ffmpeg -f video4linux2 -r 2 -s 1280x720 
> -i /dev/video0 /tmp/usb/sda1/out.avi


[...]

> [video4linux2,v4l2 @ 0x8101a0] The driver changed 
> the time per frame from 1/2 to 1/10
> ffmpeg invoked oom-killer: gfp_mask=0xd0, order=0, 
> oomkilladj=0 uptime: 1816.68 1772.01
> Call Trace:[<800157c8>] 0x800157c8

Am I correct that the following command line is sufficient 
to trigger the OOM?
$ ffmpeg -f video4linux2 -r 2 -s 1280x720 -i /dev/video0
(What about different values for -r ?)

If yes, you could add a few av_logs to find out where 
exactly it goes OOM but I would expect the problem is 
not FFmpeg-related.

Please do not top-post here, it is considered rude, 
Carl Eugen



More information about the ffmpeg-user mailing list