[FFmpeg-user] libv4l2: error dequeuing buf: Resource temporarily unavailable

llarevo at gmx.net llarevo at gmx.net
Sun Jul 22 18:15:49 CEST 2012


> > libavcodec/x86/h264_qpel_mmx.c: Assembler messages:
> > libavcodec/x86/h264_qpel_mmx.c:1294: Error: operand type mismatch for
> > `cmp'
> 
> Try --disable-decoder=h264 or --disable-asm or both.

Thanks, the latter allowed compilation. But the so compiled ffmpeg shows
the io error:

/usr/local/bin/ffmpeg -t 300 -f video4linux2 -s vga -r 25 -b 2000k
-i /dev/video0 out-vga-2M-5min.mpg
FFmpeg version git-44b2784, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Jul 22 2012 18:02:34 with gcc 4.7.0 20120507 (Red Hat
4.7.0-5)
  configuration: --prefix=/usr/local --libdir=/usr/local/lib64
--shlibdir=/usr/local/lib64 --enable-nonfree --enable-runtime-cpudetect
--enable-gpl --enable-version3 --enable-libfaac --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-libtheora
--enable-libx264 --enable-libxvid --disable-asm
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.102. 0 / 52.102. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
[video4linux2 @ 0x2084d80] ioctl set time per frame(1/25) failed
/dev/video0: Input/output error


Without setting the framerate, nothing happens after starting ffmpeg:


/usr/local/bin/ffmpeg -t 300 -f video4linux2 -s vga -b 2000k
-i /dev/video0 out-vga-2M-5min.mpg
FFmpeg version git-44b2784, Copyright (c) 2000-2011 the FFmpeg
developers
  built on Jul 22 2012 18:02:34 with gcc 4.7.0 20120507 (Red Hat
4.7.0-5)
  configuration: --prefix=/usr/local --libdir=/usr/local/lib64
--shlibdir=/usr/local/lib64 --enable-nonfree --enable-runtime-cpudetect
--enable-gpl --enable-version3 --enable-libfaac --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-libtheora
--enable-libx264 --enable-libxvid --disable-asm
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.102. 0 / 52.102. 0
  libavformat   52.92. 0 / 52.92. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.72. 0 /  1.72. 0
  libswscale     0.12. 0 /  0.12. 0
^C


ffmpeg 0.5.10 without setting the framerate doesn't work too, but gives:

/usr/local/bin/ffmpeg -t 300 -f video4linux2 -s vga -b 2000k
-i /dev/video0 out-vga-2M-5min.mpg
FFmpeg version 0.5.10, Copyright (c) 2000-2012 Fabrice Bellard, et al.
  configuration: --prefix=/usr/local --libdir=/usr/local/lib64
--shlibdir=/usr/local/lib64 --enable-nonfree --enable-runtime-cpudetect
--enable-gpl --enable-version3 --enable-libamr-nb --enable-libamr-wb
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-libtheora --enable-libx264
--enable-libxvid
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 1 / 52.20. 1
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jul 22 2012 17:56:49, gcc: 4.7.0 20120507 (Red Hat 4.7.0-5)
     I. [video4linux2 @ 0x2e1ca90][3]Capabilities: 5010015




More information about the ffmpeg-user mailing list