[FFmpeg-user] Capturing video from old webcam

Paweł Kajak pkajak at gmail.com
Thu Feb 5 15:32:40 CET 2015


Here goes the full output:

$ ffmpeg -f v4l2 -i /dev/video1
test.avi

ffmpeg version 2.1.5 Copyright (c) 2000-2014 the FFmpeg
developers

  built on Feb  5 2015 03:11:40 with gcc 4.8.2
(GCC)

  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/doc/ffmpeg-2.1.5/html --mandir=/usr/man --disable-debug
--enable-shared --disable-static --enable-pthreads --enable-libtheora
--enable-libvorbis --enable-gpl --enable-version3 --enable-postproc
--enable-swscale --enable-x11grab --enable-avfilter --enable-gnutls
--enable-libcdio --enable-libssh --arch=x86_64 --enable-libmp3lame
--enable-libx264

  libavutil      52. 48.101 / 52.
48.101

  libavcodec     55. 39.101 / 55.
39.101

  libavformat    55. 19.104 / 55.
19.104

  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[video4linux2,v4l2 @ 0x1c6f6a0] Cannot find a proper format for codec
'none' (id 0), pixel format 'none' (id -1)
Assertion *codec_id != AV_CODEC_ID_NONE failed at libavdevice/v4l2.c:800

Also:

$ ffmpeg -f video4linux2 -list_formats all -i /dev/video1
ffmpeg version 2.1.5 Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb  5 2015 03:11:40 with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/doc/ffmpeg-2.1.5/html --mandir=/usr/man --disable-debug
--enable-shared --disable-static --enable-pthreads --enable-libtheora
--enable-libvorbis --enable-gpl --enable-version3 --enable-postproc
--enable-swscale --enable-x11grab --enable-avfilter --enable-gnutls
--enable-libcdio --enable-libssh --arch=x86_64 --enable-libmp3lame
--enable-libx264
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[video4linux2,v4l2 @ 0xadb660] Raw       : Unsupported :
S910 : 160x120 176x144 320x240 352x288
[video4linux2,v4l2 @ 0xadb660] Raw       : Unsupported :
BA81 : 160x120 176x144
/dev/video1: Immediate exit requested


2015-02-05 11:13 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> Paweł Kajak <pkajak <at> gmail.com> writes:
>
> > ffmpeg -f v4l2 -i /dev/video1 test.avi
>
> Complete, uncut console output missing.
>
> >         Pixel Format: 'BA81'
>
> This should be supported, test reports are
> welcome.
>
> 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