[FFmpeg-user] ffmpeg stream copy fail when video size 1280x720
Soho Soho123
soho123.2012 at gmail.com
Wed Feb 20 07:19:31 CET 2013
Hi, Carl Eugen
When I try the command line:
ffmpeg -f video4linux2 -r 2 -s 1280x720 -i /dev/video0 /tmp/usb/sda1/out.avi
it still get out-of-memory.
The log is :
# ffmpeg -f video4linux2 -r 2 -s 1280x720 -i /dev/video0 /tmp/usb/sda1/out.avi
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Feb 20 2013 10:20:48 with gcc 4.4.7 (Realtek RSDK-1.5.8p1 Build 1050)
configuration: --enable-cross-compile --cross-prefix=rsdk-linux-
--arch=mips --target-os=linux --disable
-doc --disable-htmlpages --disable-manpages --disable-podpages
--disable-txtpages --disable-w32threads --d
isable-os2threads --disable-ffplay --disable-postproc
--disable-mips32r2 --disable-yasm --disable-vis --di
sable-altivec --disable-mipsdspr1 --disable-mipsdspr2
--disable-mipsfpu --enable-small --prefix=/ffmpeg-1.1.1/romfs
--bindir=/ffmpeg-1.1.1/romfs --enable-pic --disable-encoders --ena
ble-encoder=mjpeg --enable-encoder=flv --enable-encoder=mpeg4
--disable-decoders --enable-decoder=mjpeg --
enable-decoder=flv --enable-decoder=mpeg4 --enable-decoder=rawvideo
--enable-encoder=rawvideo --enable-dec
oder=vorbis --enable-encoder=vorbis --disable-hwaccels
--disable-muxers --disable-demuxers --enable-muxer=
rawvideo --enable-muxer=mpegts --enable-muxer=ffm --enable-muxer=mov
libavutil 52. 13.100 / 52. 13.
100
libavcodec 54. 86.100 / 54. 86.100
libavformat 54. 59.106 / 54. 59.106
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 32.100 / 3. 32.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
[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
2013/2/19 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Soho Soho123 <soho123.2012 <at> gmail.com> writes:
>
>> ffmpeg -f video4linux2 -r 30 -s 1280x720 -input_format mjpeg
>> -i /dev/video0 -c copy http://localhost:8090/feed1.ffm
>
> (Complete, uncut console output missing.)
> Does it work if you use a file instead of the ffm feed?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list