Help - Search - Members - Calendar
Full Version: Skype V4L2: Could not find a suitable capture format
Skype Community > English > Linux
evenchance
I'm trying to get Skype working with a Logitech Quickcam Pro for Notebooks (PID: 046d:0991) on a Dell Precision 4300n laptop running RHEL5

>uname -a
Linux zappa 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

I've installed skype_static-2.0.0.68

>skype -version
Skype 2.0.0.68
Copyright © 2004-2007, Skype Limited

I've got the latest uvcvideo driver module loaded and the camera works fine with Kopete and lucview. In Skype Options->Video Devices I have 'Enable Skype Video' checked and 'UVC Camera (046d:0991)(/dev/video0)' shows as the selected webcam. But when I try to test the video device I get:

Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
Xlib: extension "XVideo" missing on display ":0.0".
Skype Xv: Xv port query failed
Skype XShm: XShm support enabled

and a black screen. When I'm connected to someone else we can hear each other just fine, I can see them, but they can't see me. Can someone please help me resolve this V4L2 capture format issue?

thanks...
evenchance
I was able to resolve the missing "XVideo" extension by adding
Load "extmod"
to the "Module" section of /etc/X11/xorg.conf. It currently looks like:

CODE
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Feb 14 18:13:41 PST 2008

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapMove" "110"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.3"
Option "MaxSpeed" "0.75"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
BoardName "NVIDIA Quadro FX 360M"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


But I am still getting a black screen and the following output when trying to test my video device

Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 32
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 224
Skype Xv: No suitable overlay format found

My video card is (from lspci):
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 360M (rev a1)

I've attahed a copy of /var/log/Xorg.0.log and output from xvinfo.
Any ideas? thanks...
Andypoo
The problem lies in this case with the capturing. Is it possible to bring a v4l-info output for your camera?

v4l-info can be found in the xawtv package.

Andrew.
zeroowl
Hi ,
I have a similar problem with my Logitech web cam on Ubuntu Linux

[ 96.760939] uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c5)
[ 96.865714] usbcore: registered new interface driver uvcvideo



Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
|Skype Xv: Xv ports available: 64
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 355
Skype Xv: No suitable overlay format found





uname -a
Linux zeroowl 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

SKype 2.0.0.68


v4l-info

QUOTE
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "UVC Camera (046d:08c5)"
bus_info : "0000:00:02.1"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera 1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "MJPEG"
pixelformat : 0x47504a4d [MJPG]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "YUV 4:2:2 (YUYV)"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 360
fmt.pix.pixelformat : 0x56595559 [YUYV]
fmt.pix.field : NONE
fmt.pix.bytesperline : 1280
fmt.pix.sizeimage : 460800
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 : 127
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0

### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "UVC Camera (046d:08c5)"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 0
maxheight : 0
minwidth : 48
minheight : 32

channels
ioctl VIDIOCGCHAN: Invalid argument

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
VIDIOCGPICT
brightness : 32639
hue : 0
colour : 32639
contrast : 32639
whiteness : 65535
depth : 16
palette : YUYV

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
VIDIOCGWIN
x : 0
y : 0
width : 640
height : 360
chromakey : 0
flags
evenchance
Hi Andrew,
thanks for your reply. here's the v4l-info output for my camera:

CODE
### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "UVC Camera (046d:0991)"
bus_info : "0000:00:1d.7"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera 1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "MJPEG"
pixelformat : 0x47504a4d [MJPG]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "YUV 4:2:2 (YUYV)"
pixelformat : 0x56595559 [YUYV]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 320
fmt.pix.height : 240
fmt.pix.pixelformat : 0x47504a4d [MJPG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 0
fmt.pix.sizeimage : 102400
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 : 128
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0

### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "UVC Camera (046d:0991)"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 960
maxheight : 720
minwidth : 48
minheight : 32

channels
ioctl VIDIOCGCHAN: Invalid argument

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
VIDIOCGPICT
brightness : 32896
hue : 0
colour : 9509
contrast : 8224
whiteness : 0
depth : 0
palette : unknown

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
VIDIOCGWIN
x : 0
y : 0
width : 320
height : 240
chromakey : 0
flags : 0

pelle
I'm having the same problem that the video is not shown from a Logitech Notebook Pro webcam on Fedora 9.

uname -a
Linux fenix 2.6.25.4-30.fc9.i686 #1 SMP Wed May 21 18:12:35 EDT 2008 i686 i686 i386 GNU/Linux

skype -v
Skype 2.0.0.72
Copyright © 2004-2007, Skype Limited

Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 64
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 355
Skype Xv: No suitable overlay format found

ioctl VIDIOCGCHAN: Invalid argument
ioctl VIDIOCGTUNER: Invalid argument
ioctl VIDIOCGAUDIO: Invalid argument
ioctl VIDIOCGFBUF: Invalid argument

### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "uvcvideo"
card : "UVC Camera (046d:08c3)"
bus_info : "0000:00:1f.2"
version : 0.1.0
capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera 1"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "MJPEG"
pixelformat : 0x47504a4d [MJPG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 864
fmt.pix.height : 480
fmt.pix.pixelformat : 0x47504a4d [MJPG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 0
fmt.pix.sizeimage : 62933
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 : 127
flags : 0
VIDIOC_QUERYCTRL(BASE+1)
id : 9963777
type : INTEGER
name : "Contrast"
minimum : 0
maximum : 255
step : 1
default_value : 32
flags : 0
VIDIOC_QUERYCTRL(BASE+2)
id : 9963778
type : INTEGER
name : "Saturation"
minimum : 0
maximum : 255
step : 1
default_value : 39
flags : 0

### video4linux device info [/dev/video0] ###
general info
VIDIOCGCAP
name : "UVC Camera (046d:08c3)"
type : 0x1 [CAPTURE]
channels : 1
audios : 0
maxwidth : 0
maxheight : 0
minwidth : 48
minheight : 32

channels

tuner

audio

picture
VIDIOCGPICT
brightness : 32639
hue : 0
colour : 10280
contrast : 8224
whiteness : 65535
depth : 0
palette : unknown

buffer

window
VIDIOCGWIN
x : 0
y : 0
width : 864
height : 480
chromakey : 0
flags : 0
dusty128
I have the very same problem here, with a new Logitech Quickcam Pro 9000 (UVC driver). When I try to configure video and test it, the screen stays blank, skype gives me the following output:

Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format
Starting the process...
Skype Xv: Xv ports available: 64
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 275
Skype Xv: No suitable overlay format found

Are there any solutions to this problem?
frank_hagen
Hello,

Same problem with a Hercules Dualpix Express webcam on Skype 2.0.0.72 in Ubuntu Hardy with a Radeon 7000/VE videocard. This webcam is properly working with this same version of Skype in Ubuntu Feisty with a Geforce 6200.
After compile last version of uvcvideo driver and reinstall skype:

Skype V4L2: Could not find.....
Skype Xv: Using Xv port 73
Skype Xv: No suitable overlay format found

This webcam works in this PC with Ekiga, luvcvideo and others

Thanks for your help.
JerryHutch
Same here, Pro9000 on Gentoo.

uname -a
Linux quartz 2.6.25-gentoo-r7 #8 SMP Fri Oct 24 12:22:29 PDT 2008 x86_64 Intel® Core™2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux


skype -v
Skype 2.0.0.63
Copyright © 2004-2007, Skype Limited

Start skype and go to video and click on test and :

skype
Skype V4L: Failed to query capabilities: Invalid argument
Starting the process...
Skype Xv: Xv ports available: 32
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 280
Skype Xv: No suitable overlay format found
Aborted


The cam works in other apps such as Kopete.
JerryHutch
Bump ? Nothing ?

I've tried just about all the other options I think and nothing.
frodon
@ Ubuntu users

Read this :
https://bugs.launchpad.net/debian/+bug/260918

You will find there full description of the bug including a workaround which may work for some of you.

@skype devs:
Please include the LD_PRELOAD hack in your code and prevent linux users from having a painful skype experience requiring CLI fix before getting it working. It's no problem for advanced users but it's killer bug for beginners.
Almost any apps using webcam as been fixed in ubuntu but since skype is closed source you are the only one able to fix this.
Charlie Armor
I think I have the same problem described by others in this thread:

My webcam (Logitech QuickCam Pro 9000) works fine with Ekiga and on my laptop but not on my desktop PC.

Both boxes used to run Ubuntu Hardy and had no problem with the Skype webcam. Both were recently moved to Ubuntu Intrepid. The laptop ran through the upgrade process, the desktop was rebuilt with a new install of Intrepid.

Since the install of Intrepid the webcam has stopped working with Skype on the desktop, although it is fine with Ekiga. When I start Skype from the command line and run the camera test the little test box shows a black screen and I get the following errors on the command line:

Starting the process...
Skype Xv: Xv ports available: 1
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 56
Skype Xv: No suitable overlay format found
libv4l2: error dequeuing buf: Invalid argument

I have tried using the workaround "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype" but the error is unchanged.

I have also tried installing Stéphane Marguet's patched version of libv4l (https://bugs.launchpad.net/debian/+bug/260918), again the error is unchanged.

Can anyone suggest anything else I might try to fix or help debug the problem?

Thanks got any help.

Charlie
Charlie Armor
The fix described in the first post here worked for me:

http://ubuntuforums.org/showthread.php?t=966398
biggihubimaeuse
hi,
I have the same problem with a Microsoft VX-500 camera and Ubuntu 8.10 (in https://wiki.ubuntu.com/SkypeWebCams declared as working with Ubuntu 8.04). Unfortunately all your recomendations are not solving the issue.
The error messages I get are:

ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
ALSA lib pcm_bluetooth.c:1619:(bluetooth_init) BT_GETCAPABILITIES failed : Input/output error(5)
Skype V4L2: Could not find a suitable capture format
Skype V4L2: Could not find a suitable capture format

[and for camera test]

Starting the process...
Skype Xv: Xv ports available: 33
Skype XShm: XShm support enabled
Skype Xv: Using Xv port 158
Skype Xv: No suitable overlay format found


Anyone a solution?

thanx in advance, Hubi
biggihubimaeuse
hi,
failure found - first I found out that my camera works in Skype after starting it in the terminal with sudo su.
solution:
chmod 777 skype

Cheers, Hubi
JerryHutch
QUOTE (JerryHutch @ Sat Nov 1 2008, 22:07)
Go to the original post
Bump ? Nothing ?

I've tried just about all the other options I think and nothing.



Bump ? It's still broken and no fixes here work sadsmile.png
pelle
I moved my Logitech Notebook Pro webcam to a another computer that has USB 2 interfaces and the webcam started working in Skype with a resolution of 1024*576. Unfortunately the picture is very unstable and stops working after a minute or so.
Hopefully this will improve in the next Skype version for Linux.

The previous PC:s I have tried to use this webcam with have only USB 1.1 ports. With a USB 1.1 connection the webcam has only Motion JPEG modes, that are not supported by Skype. Skype so far only supports YUV modes, but hopefully this will be fixed in the next Skype release for Linux.

I checked the modes of my webcam by installing luvcview from
http://mxhaard.free.fr/spca50x/Investigation/uvc/
The modes can be queried with

luvcview -d /dev/video1 -L
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video1
/dev/video1 does not support read i/o
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 176, height = 144 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 352, height = 288 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 432, height = 240 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 480, height = 360 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 512, height = 288 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 640, height = 360 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30, 1/25, 1/20, 1/15, 1/10, 1/5,
{ discrete: width = 704, height = 576 }
Time interval between frame: 1/15, 1/10, 1/5,
{ discrete: width = 864, height = 480 }
Time interval between frame: 1/15, 1/10, 1/5,
{ discrete: width = 960, height = 720 }
Time interval between frame: 1/15, 1/10, 1/5,
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 1024, height = 576 }
Time interval between frame: 1/10, 1/5,
{ discrete: width = 1280, height = 960 }
Time interval between frame: 2/15, 1/5,

I have an analog capture device at /dev/video0 so the webcam becomes /dev/video1.
There are modules for turning MJPG devices on the fly into YUV devices, but I have not tried them.
JerryHutch
Have tried on ubuntu now as well, still no joy sadsmile.png
ThomasU
How to launch Skype + V4L2 directly from Gnome/Ubuntu Jaunty menus so that the webcam works:
Menu System --> Preferences --> Main Menu
In the window select Internet, then Skype
Click on [Properties] button
In Command enter:
bash -c 'export LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so; skype'
sQz
Thats iT!!!!

You ARe A GeNiuS!!!!

Thank You Very MucH!!!!!!

tanx again!


wink.png

Op3n SouRc3 4 3v3R!!!
bseeingu2
I can tell you what the problem is, Ive been thru this MANY times. You have to set gstreamer props for V4L1, not V4L2. Go to your multi media settings>video tab. 1st one is: Auto detect (pipeline will show blank ) The 2cd one is: V4L1 (pipeline will show blank) test both, you will see color bars. Youre good to go. You can always run tests thru "camorama" OR "cheese" both found in synaptic or sudo apt get install camorama... sudo apt get install cheese. Once you install camorama, the cam box that comes up will be blank. Do a right click inside the blank box, and set your prefs> color correction, ect. Good to go. Also, you must reboot for it to pick up the Logitech. I too have that cam, works great. Good luck :-s
ManiacMagee
Thanks ThomasU. I spent hours trying several different fixes to make my webcam work with Skype. I finally came across your solution and it worked immediately. Thanks!
acampbell
Thanks from another grateful reader! With this plus the microdia driver, the camera is at last working perfectly on my Thinkpad Z61M.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.