[FFmpeg-trac] #4880(avdevice:new): failure to record from webcam

FFmpeg trac at avcodec.org
Fri Sep 25 17:11:47 CEST 2015


#4880: failure to record from webcam
--------------------------------------+------------------------------------
             Reporter:  lr25374       |                    Owner:
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avdevice
              Version:  git-master    |               Resolution:
             Keywords:  avfoundation  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------

Comment (by lr25374):

 Output when framerate and size of video are given:

 {{{
 % ffmpeg -f avfoundation -i "1" -s 1184x 656 -r 5 out.mpg
 ffmpeg version N-42510-gaa6c43f Copyright (c) 2000-2015 the FFmpeg
 developers
   built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
 3.6.0svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
 opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc
 --enable-libxvid --enable-vda
   libavutil      55.  2.100 / 55.  2.100
   libavcodec     57.  3.100 / 57.  3.100
   libavformat    57.  2.100 / 57.  2.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6.  8.100 /  6.  8.100
   libavresample   3.  0.  0 /  3.  0.  0
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 [avfoundation @ 0x7fa79a00da00] Selected framerate (29.970030) is not
 supported by the device
 [avfoundation @ 0x7fa79a00da00] Supported modes:
 [avfoundation @ 0x7fa79a00da00]   160x120@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x720@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1280x960@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   160x120@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   176x144@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x176@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   320x240@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   352x288@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   432x240@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   544x288@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[30.000030 30.000030]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   640x480@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[25.000000 25.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   752x416@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x448@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   864x480@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[20.000000 20.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   800x600@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[15.000015 15.000015]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x544@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1024x576@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   960x720@[5.000000 5.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[10.000000 10.000000]fps
 [avfoundation @ 0x7fa79a00da00]   1184x656@[5.000000 5.000000]fps
 1: Input/output error
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4880#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list