Opened 4 years ago

Last modified 2 years ago

#39 new defect

Unsupported video cameras

Reported by: guepe Owned by: vadim
Priority: major Milestone:
Component: 3rd party libs Version: 2.2
Keywords: webcam, gspca, swScaler, Unknown format Cc:

Description

I am using Ubuntu 8.10 (Intrepid Ibex) with package from https://edge.launchpad.net/~cavedon/+archive. Currenly Qutecom 2.2 revg-20081226175100

My webcam is working perfectly with ekiga (v4l2). The driver is detected by qutecom, as a : gspca main driver : video0

When clicking on webcam preview, the console output says :

swScaler: Unknown format is not supported as input format

A large number of times. I see a pink striped (and strange) preview. I think it is a bug as this webcam is greatly handled by v4l2 and ekiga, skype under GNU/Linux.

Ask if you need anything.

Change History (7)

comment:1 Changed 4 years ago by cavedon

  • Summary changed from gspca driver based (Logitech 046d:08d7) not handled by Qutecom to Unsupported video cameras

This problem was also confirmed by two Ubuntu users at https://bugs.edge.launchpad.net/ubuntu/+source/wengophone/+bug/236244

In particular with a zc3xx based USB camera. Here is the v4l-info output:

### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
 driver : "zc3xx"
 card : "USB Camera (046d:08d7)"
 bus_info : "0000:00:1d.0"
 version : 2.2.0
 capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
 index : 0
 name : "zc3xx"
 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 : "JPEG"
 pixelformat : 0x4745504a [JPEG]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
 type : VIDEO_CAPTURE
 fmt.pix.width : 320
 fmt.pix.height : 240
 fmt.pix.pixelformat : 0x4745504a [JPEG]
 fmt.pix.field : NONE
 fmt.pix.bytesperline : 320
 fmt.pix.sizeimage : 29390
 fmt.pix.colorspace : JPEG
 fmt.pix.priv : 1

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 : 256
 step : 1
 default_value : 128
 flags : 0

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

channels
    VIDIOCGCHAN(0)
 channel : 0
 name : "zc3xx"
 tuners : 0
 flags : 0x0 []
 type : CAMERA
 norm : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
 brightness : 32896
 hue : 0
 colour : 0
 contrast : 32768
 whiteness : 39321
 depth : 8
 palette : unknown

buffer
ioctl VIDIOCGFBUF: Invalid argument

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

In particular note the video output from the webcam are JPEG frames instead of the traditional YUV video.

comment:2 Changed 4 years ago by vadim

  • Milestone changed from QuteCom 2.2-RC2 to QuteCom 2.3

comment:3 Changed 3 years ago by chris-mac

  • Version changed from 2.2-RC3 to 2.3

comment:4 Changed 2 years ago by kozaki

  • field_os set to linux64
  • Version changed from 2.3 to 2.2

Same issue than the former user in this location

QuteCom 2.2rev7b1824579b5b-2011012200909
Arch Linux, kernel 2.6.37-ARCH x86_64, webcam working with guvcview, Skype, Gmail audio/video chat.

When clicking on webcam preview, webcam show up with the green light saying it's activating ;
Preview shows a purple static image (camera light stays on) ;
Console output says :

swScaler: Unknown format is not supported as input pixel format

$ usb-devices

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=08af Rev=01.00
C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=zc3xx

$ dmesg tail

zc3xx: probe 2wr ov vga 0x0000

comment:5 Changed 2 years ago by dneary

  • Milestone changed from QuteCom 2.3 to QuteCom 3.0

comment:6 Changed 2 years ago by dneary

  • Milestone QuteCom 3.0 deleted

Hi,

Unless something changes & someone steps up, it looks like video support won't be a top priority for 3.0 - although of course, I'm open to anyone mad enough to want to get knee deep in ffmpeg, directx, mediastreamer and QuteCom and ensure that video works well for 3.0 :)

In the meantime, I'm moving this off the 3.0 milestone. It should be added to the 3.1 milestone when the time comes.

Dave.

comment:7 Changed 2 years ago by laurent

Experimental video support has been integrated into QuteCom-3.0 ... need to be tested

Note: See TracTickets for help on using tickets.