[FFmpeg-devel] Unknown input format: 'video4linux2'

Saurabh Rawat saurabh.rawat at nexbits.com
Fri Nov 25 12:23:39 CET 2011


HI,
I have cross- compiled the ffmpeg for the ARM board but when I am trying to
run the following command

# ./ffmpeg -f video4linux2 -s 640x480 -r ntsc -i /dev/video1 -qscale 3
/data/out.mpeg
 I am gettign this error :

Fmpeg version UNKNOWN, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 25 2011 12:58:56 with gcc 4.4.3
  configuration: --target-os=linux --cross-prefix=arm-linux-androideabi-
--arch=arm
--sysroot=/home/nexbits/Downloads/marvel_Android/android-ndk/platforms/android-3/arch-arm
--soname-prefix=/data/data/com.nexbits/lib/ --enable-shared
--disable-symver --enable-small --optimization-flags=-O2
--disable-everything --enable-encoder=mpeg2video
--enable-encoder=nellymoser --prefix=../build/ffmpeg/armeabi
--extra-cflags= --extra-ldflags=
  libavutil     50.34. 0 / 50.34. 0
  libavcore      0.16. 0 /  0.16. 0
  libavcodec    52.99. 1 / 52.99. 1
  libavformat   52.88. 0 / 52.88. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.69. 0 /  1.69. 0
  libswscale     0.12. 0 /  0.12. 0
Unknown input format: 'video4linux2'



I have already connected my UVC USB camera (/dev/video1) ,and chmoded the
device node(/dev/video1), PLz suggest

Plz Assit.
Rgds,
Saurabh


More information about the ffmpeg-devel mailing list