[kopete-bugs] [Bug 192326] New: webcam does not work

Vinzenz Hersche hersche at puzzle.ch
Mon May 11 14:36:13 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=192326

           Summary: webcam does not work
           Product: kopete
           Version: 0.70.2
          Platform: Ubuntu Packages
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Main Application
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: hersche at puzzle.ch


Version:           0.70.2 (using KDE 4.2.3)
Installed from:    Ubuntu Packages

hello there,
i had diffrent webcams which i use to test if it work's in kopete, but no one
does work.. :(
i see the driver and the camera-image is blurred, but no image..

for this test i use a "spca561" (driver-name), i print also the output of
v4l-info:

skamster at skamster-laptop:~$ v4l-info 

### v4l2 device info [/dev/video0] ###
general info                          
    VIDIOC_QUERYCAP                   
        driver                  : "spca561"
        card                    : "Camera" 
        bus_info                : "0000:00:1d.0"
        version                 : 2.3.0         
        capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "spca561"
        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             : "S561"       
        pixelformat             : 0x31363553 [S561]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)               
        index                   : 1                
        type                    : VIDEO_CAPTURE    
        flags                   : 0                
        description             : "GBRG"           
        pixelformat             : 0x47524247 [GBRG]
    VIDIOC_G_FMT(VIDEO_CAPTURE)                    
        type                    : VIDEO_CAPTURE    
        fmt.pix.width           : 320              
        fmt.pix.height          : 240              
        fmt.pix.pixelformat     : 0x31363553 [S561]
        fmt.pix.field           : NONE             
        fmt.pix.bytesperline    : 320              
        fmt.pix.sizeimage       : 38400            
        fmt.pix.colorspace      : SRGB             
        fmt.pix.priv            : 1                

controls

### video4linux device info [/dev/video0] ###
general info                                 
    VIDIOCGCAP                               
        name                    : "Camera"   
        type                    : 0x1 [CAPTURE]
        channels                : 1            
        audios                  : 0            
        maxwidth                : 352          
        maxheight               : 288          
        minwidth                : 48           
        minheight               : 32           

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

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

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

buffer
ioctl VIDIOCGFBUF: Invalid argument

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

skamster at skamster-laptop:~$

i started kopete in the console.. these are the messages for the cam:

kopete(14811) Kopete::AV::VideoInput::VideoInput: Executing Video Input's
constructor!!!                                                               
kopete(14811) Kopete::AV::VideoDevicePool::open: open(): No devices found. Must
scan for available devices. 0                                          
kopete(14811) Kopete::AV::VideoDevicePool::scanDevices: called                  
kopete(14811) Kopete::AV::VideoDevicePool::registerDevice: New video device at 
"/org/freedesktop/Hal/devices/usb_device_46d_92f_noserial_video4linux" 
kopete(14811) Kopete::AV::VideoDevicePool::registerDevice: vendor:  "Logitech,
Inc." , product:  "QuickCam Express Plus"                               
kopete(14811) Kopete::AV::VideoDevicePool::registerDevice: V4L device path is
"/dev/video0"                                                            
kopete(14811) Kopete::AV::VideoDevicePool::registerDevice: Found device 
"/dev/video0"                                                                 
kopete(14811) Kopete::AV::VideoDevice::open: called                             
kopete(14811) Kopete::AV::VideoDevice::open: File  "/dev/video0"  was opened
successfuly                                                               
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice() called.       
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  is a V4L2 device.                                                
kopete(14811) Kopete::AV::VideoInput::VideoInput: Executing Video Input's
constructor!!!                                                               
kopete(14811) Kopete::AV::VideoDevice::detectSignalStandards: called.           
VIDIOC_ENUMSTD: Invalid argument                                                
kopete(14811) Kopete::AV::VideoDevice::checkDevice: Input  0 :  "spca561" 
(tuner:  false )                                                            
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: 825636179    "None"  
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: 1196573255    "None" 
VIDIOC_ENUM_FMT: Invalid argument                                               
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: Supported pixel
formats:                                                                    
kopete(14811) Kopete::AV::VideoDevice::enumerateControls: Checking CID controls 
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "White
Balance"  Values from  1  to  127  with steps of  1 . Default:  64         
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Exposure"
 Values from  1  to  3195  with steps of  1 . Default:  200            
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Auto
Gain"  Values from  0  to  1  with steps of  1 . Default:  1                
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Gain" 
Values from  0  to  36  with steps of  1 . Default:  36                   
kopete(14811) Kopete::AV::VideoDevice::enumerateControls: Checking CID private
controls                                                                
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice() exited
successfuly.                                                                  
kopete(14811) Kopete::AV::VideoDevice::initDevice: initDevice() started         
kopete(14811) Kopete::AV::VideoDevice::initDevice:     Read/Write interface     
kopete(14811) Kopete::AV::VideoDevice::initDevice:     Streaming interface      
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() called.                                                
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Device model: 
"Camera"                                                                 
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Device name : 
"Camera"                                                                 
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Capabilities:    
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Video
capture                                                                       
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:         Read     
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:        
Streaming                                                                       
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Max res: 
352  x  288                                                               
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Min res: 
320  x  240                                                               
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Inputs :  1  
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Input  0 : 
"spca561"  (tuner:  0 )                                                     
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() exited successfuly.                                    
kopete(14811) Kopete::AV::VideoDevice::initDevice: initDevice() exited
successfuly                                                                     
kopete(14811) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"spca561" )                                                                   
kopete(14811) Kopete::AV::VideoDevice::setBrightness: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setBrightness: Device doesn't support
the Brightness control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setContrast: ( 0.5 ) called.             
kopete(14811) Kopete::AV::VideoDevice::setContrast: Device doesn't support the
Contrast control.                                                       
kopete(14811) Kopete::AV::VideoDevice::setSaturation: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setSaturation: Device doesn't support
the Saturation control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: ( 0 ) called.              
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: Device doesn't support the
Whiteness control.                                                     
kopete(14811) Kopete::AV::VideoDevice::setHue: ( 0.5 ) called.                  
kopete(14811) Kopete::AV::VideoDevice::setHue: Device doesn't support the Hue
control.                                                                 
kopete(14811) Kopete::AV::VideoDevice::open: exited successfuly                 
kopete(14811) Kopete::AV::VideoDevicePool::registerDevice: File  "/dev/video0" 
was opened successfuly                                                 
kopete(14811) Kopete::AV::VideoDevice::close:  called.                          
kopete(14811) Kopete::AV::VideoDevice::close:  Device is open. Trying to
properly shutdown the device.                                                 
kopete(14811) Kopete::AV::VideoDevice::stopCapturing: called.                   
kopete(14811) Kopete::AV::VideoDevice::stopCapturing: exited successfuly.       
kopete(14811) Kopete::AV::VideoDevice::close: ::close() returns  0              
kopete(14811) Kopete::AV::VideoDevicePool::scanDevices: exited successfuly      
kopete(14811) Kopete::AV::VideoDevice::open: called                             
kopete(14811) Kopete::AV::VideoDevice::open: File  "/dev/video0"  was opened
successfuly                                                               
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice() called.       
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice(): 
"/dev/video0"  is a V4L2 device.                                                
kopete(14811) Kopete::AV::VideoInput::VideoInput: Executing Video Input's
constructor!!!                                                               
kopete(14811) Kopete::AV::VideoDevice::detectSignalStandards: called.           
VIDIOC_ENUMSTD: Invalid argument                                                
kopete(14811) Kopete::AV::VideoDevice::checkDevice: Input  0 :  "spca561" 
(tuner:  false )                                                            
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: 825636179    "None"  
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: 1196573255    "None" 
VIDIOC_ENUM_FMT: Invalid argument                                               
kopete(14811) Kopete::AV::VideoDevice::detectPixelFormats: Supported pixel
formats:                                                                    
kopete(14811) Kopete::AV::VideoDevice::enumerateControls: Checking CID controls 
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "White
Balance"  Values from  1  to  127  with steps of  1 . Default:  64         
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Exposure"
 Values from  1  to  3195  with steps of  1 . Default:  200            
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Auto
Gain"  Values from  0  to  1  with steps of  1 . Default:  1                
kopete(14811) Kopete::AV::VideoDevice::enumerateControls:  Control:  "Gain" 
Values from  0  to  36  with steps of  1 . Default:  36                   
kopete(14811) Kopete::AV::VideoDevice::enumerateControls: Checking CID private
controls                                                                
kopete(14811) Kopete::AV::VideoDevice::checkDevice: checkDevice() exited
successfuly.                                                                  
kopete(14811) Kopete::AV::VideoDevice::initDevice: initDevice() started         
kopete(14811) Kopete::AV::VideoDevice::initDevice:     Read/Write interface     
kopete(14811) Kopete::AV::VideoDevice::initDevice:     Streaming interface      
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() called.                                                
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Device model: 
"Camera"                                                                 
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Device name : 
"Camera"                                                                 
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Capabilities:    
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Video
capture                                                                       
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:         Read     
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:        
Streaming                                                                       
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Max res: 
352  x  288                                                               
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Min res: 
320  x  240                                                               
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:     Inputs :  1  
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities: Input  0 : 
"spca561"  (tuner:  0 )                                                     
kopete(14811) Kopete::AV::VideoDevice::showDeviceCapabilities:
showDeviceCapabilities() exited successfuly.                                    
kopete(14811) Kopete::AV::VideoDevice::initDevice: initDevice() exited
successfuly                                                                     
kopete(14811) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"spca561" )                                                                   
kopete(14811) Kopete::AV::VideoDevice::setBrightness: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setBrightness: Device doesn't support
the Brightness control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setContrast: ( 0.5 ) called.             
kopete(14811) Kopete::AV::VideoDevice::setContrast: Device doesn't support the
Contrast control.                                                       
kopete(14811) Kopete::AV::VideoDevice::setSaturation: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setSaturation: Device doesn't support
the Saturation control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: ( 6.01853e-36 ) called.    
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: Device doesn't support the
Whiteness control.                                                     
kopete(14811) Kopete::AV::VideoDevice::setHue: ( 0.5 ) called.                  
kopete(14811) Kopete::AV::VideoDevice::setHue: Device doesn't support the Hue
control.                                                                 
kopete(14811) Kopete::AV::VideoDevice::open: exited successfuly                 
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: called                   
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Current device:  ""      
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Device name:  "Camera"   
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Device current input:  0 
kopete(14811) Kopete::AV::VideoDevice::selectInput: Selected input  0  (
"spca561" )                                                                   
kopete(14811) Kopete::AV::VideoDevice::setBrightness: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setBrightness: Device doesn't support
the Brightness control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setContrast: ( 0.5 ) called.             
kopete(14811) Kopete::AV::VideoDevice::setContrast: Device doesn't support the
Contrast control.                                                       
kopete(14811) Kopete::AV::VideoDevice::setSaturation: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setSaturation: Device doesn't support
the Saturation control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: ( 6.01853e-36 ) called.    
kopete(14811) Kopete::AV::VideoDevice::setWhiteness: Device doesn't support the
Whiteness control.                                                     
kopete(14811) Kopete::AV::VideoDevice::setHue: ( 0.5 ) called.                  
kopete(14811) Kopete::AV::VideoDevice::setHue: Device doesn't support the Hue
control.                                                                 
kopete(14811) Kopete::AV::VideoDevice::setBrightness: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setBrightness: Device doesn't support
the Brightness control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setContrast: ( 0.5 ) called.             
kopete(14811) Kopete::AV::VideoDevice::setContrast: Device doesn't support the
Contrast control.                                                       
kopete(14811) Kopete::AV::VideoDevice::setSaturation: ( 0.5 ) called.           
kopete(14811) Kopete::AV::VideoDevice::setSaturation: Device doesn't support
the Saturation control.                                                   
kopete(14811) Kopete::AV::VideoDevice::setHue: ( 0.5 ) called.                  
kopete(14811) Kopete::AV::VideoDevice::setHue: Device doesn't support the Hue
control.                                                                 
kopete(14811) Kopete::AV::VideoDevice::setAutoBrightnessContrast:
VideoDevice::setAutoBrightnessContrast( false ) called.                         
kopete(14811) Kopete::AV::VideoDevice::setAutoColorCorrection:
VideoDevice::setAutoColorCorrection( false ) called.                            
kopete(14811) Kopete::AV::VideoDevice::setImageAsMirror:
VideoDevice::setImageAsMirror( false ) called.                                  
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Brightness: 0.5          
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Contrast  : 0.5          
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Saturation: 0.5          
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Whiteness : 0.5          
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: Hue       : 0.5          
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: AutoBrightnessContrast:
false                                                                   
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: AutoColorCorrection   :
false                                                                   
kopete(14811) Kopete::AV::VideoDevicePool::loadConfig: ImageAsMirror         :
false                                                                   
kopete(14811) Kopete::AV::VideoDevicePool::open: Number of clients:  1          
kopete(14811) Kopete::AV::VideoDevice::setSize: setSize( 320 ,  240 ) called.   
kopete(14811) Kopete::AV::VideoDevice::setSize: Trying YUY422P                  
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
YUV422P format. Trying YUYV.                                            
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
YUYV format. Trying UYVY.                                               
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
UYVY format. Trying YUV420P.                                            
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
YUV420P format. Trying RGB24.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
RGB24 format. Trying BGR24.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
RGB24 format. Trying RGB32.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
RGB32 format. Trying BGR32.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
BGR32 format. Trying SBGGR8.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
SBGGR8 format. Trying SN9C10X.
kopete(14811) Kopete::AV::VideoDevice::setSize: Device doesn't seem to support
BGR32 format. Fallback to it is not yet implemented.
kopete(14811) Kopete::AV::VideoDevice::setSize: VIDIOC_S_FMT worked ( 22
).Returned width:  "None"   320 x 240
kopete(14811) Kopete::AV::VideoDevice::setSize: -------------------------
------- -- m_buffer_size:  0  !!! -- -------
-----------------------------------------
kopete(14811) Kopete::AV::VideoDevice::initMmap: "/dev/video0"  Trying to MMAP
kopete(14811) Kopete::AV::VideoDevice::initMmap: "/dev/video0" 
m_currentbuffer.data.size():  40960
kopete(14811) Kopete::AV::VideoDevice::setSize: setSize( 320 ,  240 ) exited
successfuly.
kopete(14811) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Called.
kopete(14811) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Combobox
cleaned.
kopete(14811) Kopete::AV::VideoDevicePool::fillDeviceKComboBox: Added device  0
:  "Camera"
kopete(14811) Kopete::AV::VideoDevicePool::fillInputKComboBox: Called.
kopete(14811) Kopete::AV::VideoDevicePool::fillInputKComboBox: Added input  0 :
 "spca561"  (tuner:  0 )
kopete(14811) Kopete::AV::VideoDevicePool::fillStandardKComboBox: Called.
kopete(14811) AVDeviceConfig::slotBrightnessSliderChanged: kopete:config
(avdevice): slotBrightnessSliderChanged(int) called.  0.499992
kopete(14811) Kopete::AV::VideoDevice::setBrightness: ( 0.499992 ) called.
kopete(14811) Kopete::AV::VideoDevice::setBrightness: Device doesn't support
the Brightness control.
kopete(14811) AVDeviceConfig::slotContrastSliderChanged: kopete:config
(avdevice): slotContrastSliderChanged(int) called.  0.499992
kopete(14811) Kopete::AV::VideoDevice::setContrast: ( 0.499992 ) called.
kopete(14811) Kopete::AV::VideoDevice::setContrast: Device doesn't support the
Contrast control.
kopete(14811) AVDeviceConfig::slotSaturationSliderChanged: kopete:config
(avdevice): slotSaturationSliderChanged(int) called.  0.499992
kopete(14811) Kopete::AV::VideoDevice::setSaturation: ( 0.499992 ) called.
kopete(14811) Kopete::AV::VideoDevice::setSaturation: Device doesn't support
the Saturation control.
kopete(14811) AVDeviceConfig::slotHueSliderChanged: kopete:config (avdevice):
slotHueSliderChanged(int) called.  0.499992
kopete(14811) Kopete::AV::VideoDevice::setHue: ( 0.499992 ) called.
kopete(14811) Kopete::AV::VideoDevice::setHue: Device doesn't support the Hue
control.
kopete(14811) Kopete::AV::VideoDevicePool::startCapturing: startCapturing()
called.
kopete(14811) Kopete::AV::VideoDevice::startCapturing: called.
kopete(14811) Kopete::AV::VideoDevice::startCapturing: exited successfuly.

with the programm "cheese" the camera work's good. so i don't belive that this
is a failure of the driver or of the cam.. :)

greets

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list