[FFmpeg-user] problem video4linux2 @ 0x8791880
giorgio19291 gmail
giorgio19291 at gmail.com
Sat Dec 29 09:31:46 CET 2012
Hello to all.
I want stream from a webcam but have this error with ffmpeg with this
webcam input.
I think is a problem of pixel format but can not resolve it.
Can someone help me?
Many thanks in advance.
This is the command output
ffmpeg -v debug -f video4linux2 -i /dev/video1 -vcodec mpeg2video output.mpg
ffmpeg version 0.8.4-6:0.8.4-0ubuntu0.12.10.1, Copyright (c) 2000-2012 the
Libav developers
built on Nov 6 2012 16:49:20 with gcc 4.7.2
configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect
--extra-version='6:0.8.4-0ubuntu0.12.10.1' --libdir=/usr/lib/i386-linux-gnu
--prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype
--enable-gnutls --enable-libgsm --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--shlibdir=/usr/lib/i386-linux-gnu --enable-shared --disable-static
avutil configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc
--enable-version3 --enable-libvo-amrwbenc --enable-version3
avcodec configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc
--enable-version3 --enable-libvo-amrwbenc --enable-version3
avformat configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc
--enable-version3 --enable-libvo-amrwbenc --enable-version3
avdevice configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4-0ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libfreetype --enable-gnutls --enable-libgsm
--enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis
--enable-libvpx --enable-zlib --enable-gpl --enable-postproc
--enable-swscale --enable-libcdio --enable-x11grab
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static
avfilter configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4-0ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libfreetype --enable-gnutls --enable-libgsm
--enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis
--enable-libvpx --enable-zlib --enable-gpl --enable-postproc
--enable-swscale --enable-libcdio --enable-x11grab
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static
swscale configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc
--enable-version3 --enable-libvo-amrwbenc --enable-version3
postproc configuration: --arch=i386 --enable-pthreads
--enable-runtime-cpudetect --extra-version='6:0.8.4ubuntu0.12.10.1'
--libdir=/usr/lib/i386-linux-gnu --prefix=/usr --enable-bzlib
--enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-gnutls
--enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau
--enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-postproc --enable-swscale --enable-libcdio --enable-x11grab
--enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared
--disable-static --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc
--enable-version3 --enable-libvo-amrwbenc --enable-version3
libavutil 51. 22. 1 / 51. 22. 1
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a
future release. Please use avconv instead.
[video4linux2 @ 0x8152880] [5]Capabilities: 85000001
[video4linux2 @ 0x8152880] Querying the device for the current frame size
[video4linux2 @ 0x8152880] Setting frame size to 352x288
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x32315559 to 0x37303250
Last message repeated 1 times
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x50323234 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x56595559 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x59565955 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x50313134 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x39565559 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x4F424752 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x50424752 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x33524742 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x33424752 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x34524742 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x59455247 to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x3231564E to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x47504A4D to 0x37303250
[video4linux2 @ 0x8152880] The V4L2 driver changed the pixel format from
0x4745504A to 0x37303250
[video4linux2 @ 0x8152880] Cannot find a proper format for codec_id 0,
pix_fmt -1.
/dev/video1: Input/output error
The command vl4-info /dev/video1 give me this output:
### v4l2 device info [/dev/video1] ###
general info
VIDIOC_QUERYCAP
driver : "pac207"
card : "CIF Single Chip "
bus_info : "usb-0000:00:1d.1-1"
version : 3.5.7
capabilities : 0x85000001
[VIDEO_CAPTURE,READWRITE,STREAMING,(null)]
standards
inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "pac207"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []
video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : "P207"
pixelformat : 0x37303250 [P207]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 352
fmt.pix.height : 288
fmt.pix.pixelformat : 0x37303250 [P207]
fmt.pix.field : NONE
fmt.pix.bytesperline : 352
fmt.pix.sizeimage : 101952
fmt.pix.colorspace : SRGB
fmt.pix.priv : 0
controls
VIDIOC_QUERYCTRL(BASE+0)
id : 9963776
type : INTEGER
name : "Brightness"
minimum : 0
maximum : 255
step : 1
default_value : 46
flags : 32
VIDIOC_QUERYCTRL(BASE+17)
id : 9963793
type : INTEGER
name : "Exposure"
minimum : 3
maximum : 90
step : 1
default_value : 5
flags : 16
VIDIOC_QUERYCTRL(BASE+18)
id : 9963794
type : BOOLEAN
name : "Gain, Automatic"
minimum : 0
maximum : 1
step : 1
default_value : 1
flags : 8
VIDIOC_QUERYCTRL(BASE+19)
id : 9963795
type : INTEGER
name : "Gain"
minimum : 0
maximum : 31
step : 1
default_value : 7
flags : 16
More information about the ffmpeg-user
mailing list