Re: MSI StarCam working in vlc only (with poor colors)

2009-12-10 Thread Paulo Assis
Josef,
white balance temperature and hue controls are being blacklisted in
uvcvideo for all cameras due to a bug in the driver.
A patch fixing the issue was committed recently
(https://lists.berlios.de/pipermail/linux-uvc-devel/2009-December/005396.html)
but I'm not sure when it will be available.
These controls if supported by your camera could help improve the image color.

Best regards,
Paulo

2009/12/10 Jozef Riha :
> thank you again, paulo, for your off-list help. cam is now working
> nicely with xawtv, guvcview and skype. the colors slightly improved
> during day-light, when artificial light is used they still look bad
> though. i fiddled around with just about all v4l controls but couldn't
> really fix it. i'll run a comparison with windows driver when i have a
> chance.
>
> for others interested: the fix was indeed the quirks mode. i had to
> set it like this:
>
> $ cat /etc/modprobe.d/uvcvideo.conf
> options uvcvideo trace=15 quirks=2
>
> regards all,
>
> joe
>
> On Wed, Dec 9, 2009 at 11:53 PM, Paulo Assis  wrote:
>> You must reload the driver,
>>
>> rmmod uvcvideo
>> modprobe uvcvideo
>>
>> otherwise the quirks want have any effect.
>>
>> uvcvideo is now mantained in the mercurial repo at linuxtv,
>> installing v4l-dvb will also install uvcvideo, but if you want, just
>> follow the instructions on the wiki to compile, but use:
>>  hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/
>> so that you get the very latest (testing) uvc code.
>> In any case the quirks should be enough:
>> http://lists.berlios.de/pipermail/linux-uvc-devel/2009-October/005235.html
>>
>> Best regards,
>> Paulo
>>
>> 2009/12/9 Jozef Riha :
>>> setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
>>>
>>> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
>>> guvcview 1.2.1
>>> unexpected integer value (1) for snd_numsec
>>> Strings must be quoted
>>> video_device: /dev/video0
>>> vid_sleep: 0
>>> cap_meth: 1
>>> resolution: 640 x 480
>>> windowsize: 480 x 700
>>> vert pane: 0
>>> spin behavior: 0
>>> mode: mjpg
>>> fps: 1/25
>>> Display Fps: 0
>>> bpp: 0
>>> hwaccel: 1
>>> avi_format: 0
>>> sound: 1
>>> sound Device: 0
>>> sound samp rate: 0
>>> sound Channels: 0
>>> Sound delay: 0 nanosec
>>> Sound Format: 80
>>> Sound bit Rate: 160 Kbps
>>> Pan Step: 2 degrees
>>> Tilt Step: 2 degrees
>>> Video Filter Flags: 0
>>> image inc: 0
>>> profile(default):/home/jose/default.gpfl
>>> starting portaudio...
>>> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
>>> mjpg: setting format to 1196444237
>>> capture method = 1
>>> video device: /dev/video0
>>> /dev/video0 - device 1
>>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>>> { pixelformat = 'MJPG', description = 'MJPEG' }
>>> { discrete: width = 640, height = 480 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 320, height = 240 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 160, height = 120 }
>>>        Time interval between frame: 1/30,
>>> vid:1b3b
>>> pid:2951
>>> driver:uvcvideo
>>> checking format: 1196444237
>>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>>> Init v4L2 failed !!
>>> Init video returned -2
>>> trying minimum setup ...
>>> capture method = 1
>>> video device: /dev/video0
>>> /dev/video0 - device 1
>>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>>> { pixelformat = 'MJPG', description = 'MJPEG' }
>>> { discrete: width = 640, height = 480 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 320, height = 240 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 160, height = 120 }
>>>        Time interval between frame: 1/30,
>>> vid:1b3b
>>> pid:2951
>>> driver:uvcvideo
>>> checking format: 1196444237
>>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>>> Init v4L2 failed !!
>>> ERROR: Minimum Setup Failed.
>>>  Exiting...
>>> free audio mutex
>>> VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
>>> closed v4l2 strutures
>>> free controls - vidState
>>> cleaned allocations - 100%
>>> Closing portaudio ...OK
>>> Terminated.
>>>
>>> are you sure with the web-page? i cannot see a relationship between
>>> dvb and uvcvideo. shouldn't i download the most recent driver from
>>> http://linux-uvc.berlios.de/#download ?
>>>
>>> thank you,
>>>
>>> joe
>>>
>>> On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis  wrote:
 Hi, could you try the following:

 echo 2 > /sys/module/uvcvideo/parameters/quirks

 this will set uvcvideo quirks to 2

 or you can also try the latest uvcvideo:
 http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

 please if you can, use the latest version for guvcview (1.2.1)  :D

 Regards,
 Paulo

 2009/12/9 Jozef Riha :
> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
> guvcview 1.1.4
> video_device: /dev/video0
> vid_sleep: 0
> cap

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-10 Thread Jozef Riha
thank you again, paulo, for your off-list help. cam is now working
nicely with xawtv, guvcview and skype. the colors slightly improved
during day-light, when artificial light is used they still look bad
though. i fiddled around with just about all v4l controls but couldn't
really fix it. i'll run a comparison with windows driver when i have a
chance.

for others interested: the fix was indeed the quirks mode. i had to
set it like this:

$ cat /etc/modprobe.d/uvcvideo.conf
options uvcvideo trace=15 quirks=2

regards all,

joe

On Wed, Dec 9, 2009 at 11:53 PM, Paulo Assis  wrote:
> You must reload the driver,
>
> rmmod uvcvideo
> modprobe uvcvideo
>
> otherwise the quirks want have any effect.
>
> uvcvideo is now mantained in the mercurial repo at linuxtv,
> installing v4l-dvb will also install uvcvideo, but if you want, just
> follow the instructions on the wiki to compile, but use:
>  hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/
> so that you get the very latest (testing) uvc code.
> In any case the quirks should be enough:
> http://lists.berlios.de/pipermail/linux-uvc-devel/2009-October/005235.html
>
> Best regards,
> Paulo
>
> 2009/12/9 Jozef Riha :
>> setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
>>
>> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
>> guvcview 1.2.1
>> unexpected integer value (1) for snd_numsec
>> Strings must be quoted
>> video_device: /dev/video0
>> vid_sleep: 0
>> cap_meth: 1
>> resolution: 640 x 480
>> windowsize: 480 x 700
>> vert pane: 0
>> spin behavior: 0
>> mode: mjpg
>> fps: 1/25
>> Display Fps: 0
>> bpp: 0
>> hwaccel: 1
>> avi_format: 0
>> sound: 1
>> sound Device: 0
>> sound samp rate: 0
>> sound Channels: 0
>> Sound delay: 0 nanosec
>> Sound Format: 80
>> Sound bit Rate: 160 Kbps
>> Pan Step: 2 degrees
>> Tilt Step: 2 degrees
>> Video Filter Flags: 0
>> image inc: 0
>> profile(default):/home/jose/default.gpfl
>> starting portaudio...
>> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
>> mjpg: setting format to 1196444237
>> capture method = 1
>> video device: /dev/video0
>> /dev/video0 - device 1
>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>> { pixelformat = 'MJPG', description = 'MJPEG' }
>> { discrete: width = 640, height = 480 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 320, height = 240 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 160, height = 120 }
>>        Time interval between frame: 1/30,
>> vid:1b3b
>> pid:2951
>> driver:uvcvideo
>> checking format: 1196444237
>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>> Init v4L2 failed !!
>> Init video returned -2
>> trying minimum setup ...
>> capture method = 1
>> video device: /dev/video0
>> /dev/video0 - device 1
>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>> { pixelformat = 'MJPG', description = 'MJPEG' }
>> { discrete: width = 640, height = 480 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 320, height = 240 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 160, height = 120 }
>>        Time interval between frame: 1/30,
>> vid:1b3b
>> pid:2951
>> driver:uvcvideo
>> checking format: 1196444237
>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>> Init v4L2 failed !!
>> ERROR: Minimum Setup Failed.
>>  Exiting...
>> free audio mutex
>> VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
>> closed v4l2 strutures
>> free controls - vidState
>> cleaned allocations - 100%
>> Closing portaudio ...OK
>> Terminated.
>>
>> are you sure with the web-page? i cannot see a relationship between
>> dvb and uvcvideo. shouldn't i download the most recent driver from
>> http://linux-uvc.berlios.de/#download ?
>>
>> thank you,
>>
>> joe
>>
>> On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis  wrote:
>>> Hi, could you try the following:
>>>
>>> echo 2 > /sys/module/uvcvideo/parameters/quirks
>>>
>>> this will set uvcvideo quirks to 2
>>>
>>> or you can also try the latest uvcvideo:
>>> http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>>
>>> please if you can, use the latest version for guvcview (1.2.1)  :D
>>>
>>> Regards,
>>> Paulo
>>>
>>> 2009/12/9 Jozef Riha :
 [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
 guvcview 1.1.4
 video_device: /dev/video0
 vid_sleep: 0
 cap_meth: 1
 resolution: 640 x 480
 windowsize: 480 x 700
 vert pane: 0
 spin behavior: 0
 mode: mjpg
 fps: 1/25
 Display Fps: 0
 bpp: 0
 hwaccel: 1
 avi_format: 0
 sound: 1
 sound Device: 0
 sound samp rate: 0
 sound Channels: 0
 Sound Block Size: 1 seconds
 Sound Format: 80
 Sound bit Rate: 160 Kbps
 Pan Step: 2 degrees
 Tilt Step: 2 degrees
 Video Filter Flags: 0
 image inc: 0
 profile(default):/home/jose/default.gpfl
 starting portaudio...
 language catalog=> dir:/usr/share/locale 

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Paulo Assis
You must reload the driver,

rmmod uvcvideo
modprobe uvcvideo

otherwise the quirks want have any effect.

uvcvideo is now mantained in the mercurial repo at linuxtv,
installing v4l-dvb will also install uvcvideo, but if you want, just
follow the instructions on the wiki to compile, but use:
 hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/
so that you get the very latest (testing) uvc code.
In any case the quirks should be enough:
http://lists.berlios.de/pipermail/linux-uvc-devel/2009-October/005235.html

Best regards,
Paulo

2009/12/9 Jozef Riha :
> setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below
>
> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
> guvcview 1.2.1
> unexpected integer value (1) for snd_numsec
> Strings must be quoted
> video_device: /dev/video0
> vid_sleep: 0
> cap_meth: 1
> resolution: 640 x 480
> windowsize: 480 x 700
> vert pane: 0
> spin behavior: 0
> mode: mjpg
> fps: 1/25
> Display Fps: 0
> bpp: 0
> hwaccel: 1
> avi_format: 0
> sound: 1
> sound Device: 0
> sound samp rate: 0
> sound Channels: 0
> Sound delay: 0 nanosec
> Sound Format: 80
> Sound bit Rate: 160 Kbps
> Pan Step: 2 degrees
> Tilt Step: 2 degrees
> Video Filter Flags: 0
> image inc: 0
> profile(default):/home/jose/default.gpfl
> starting portaudio...
> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
> mjpg: setting format to 1196444237
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 640, height = 480 }
>        Time interval between frame: 1/30,
> { discrete: width = 320, height = 240 }
>        Time interval between frame: 1/30,
> { discrete: width = 160, height = 120 }
>        Time interval between frame: 1/30,
> vid:1b3b
> pid:2951
> driver:uvcvideo
> checking format: 1196444237
> VIDIOC_S_FORMAT - Unable to set format: Input/output error
> Init v4L2 failed !!
> Init video returned -2
> trying minimum setup ...
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 640, height = 480 }
>        Time interval between frame: 1/30,
> { discrete: width = 320, height = 240 }
>        Time interval between frame: 1/30,
> { discrete: width = 160, height = 120 }
>        Time interval between frame: 1/30,
> vid:1b3b
> pid:2951
> driver:uvcvideo
> checking format: 1196444237
> VIDIOC_S_FORMAT - Unable to set format: Input/output error
> Init v4L2 failed !!
> ERROR: Minimum Setup Failed.
>  Exiting...
> free audio mutex
> VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
> closed v4l2 strutures
> free controls - vidState
> cleaned allocations - 100%
> Closing portaudio ...OK
> Terminated.
>
> are you sure with the web-page? i cannot see a relationship between
> dvb and uvcvideo. shouldn't i download the most recent driver from
> http://linux-uvc.berlios.de/#download ?
>
> thank you,
>
> joe
>
> On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis  wrote:
>> Hi, could you try the following:
>>
>> echo 2 > /sys/module/uvcvideo/parameters/quirks
>>
>> this will set uvcvideo quirks to 2
>>
>> or you can also try the latest uvcvideo:
>> http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>>
>> please if you can, use the latest version for guvcview (1.2.1)  :D
>>
>> Regards,
>> Paulo
>>
>> 2009/12/9 Jozef Riha :
>>> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
>>> guvcview 1.1.4
>>> video_device: /dev/video0
>>> vid_sleep: 0
>>> cap_meth: 1
>>> resolution: 640 x 480
>>> windowsize: 480 x 700
>>> vert pane: 0
>>> spin behavior: 0
>>> mode: mjpg
>>> fps: 1/25
>>> Display Fps: 0
>>> bpp: 0
>>> hwaccel: 1
>>> avi_format: 0
>>> sound: 1
>>> sound Device: 0
>>> sound samp rate: 0
>>> sound Channels: 0
>>> Sound Block Size: 1 seconds
>>> Sound Format: 80
>>> Sound bit Rate: 160 Kbps
>>> Pan Step: 2 degrees
>>> Tilt Step: 2 degrees
>>> Video Filter Flags: 0
>>> image inc: 0
>>> profile(default):/home/jose/default.gpfl
>>> starting portaudio...
>>> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
>>>
>>> (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist:
>>> object class `GtkSettings' has no property named `gtk-button-images'
>>> mjpg: setting format to 1196444237
>>> capture method = 1
>>> video device: /dev/video0
>>> /dev/video0 - device 1
>>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>>> { pixelformat = 'MJPG', description = 'MJPEG' }
>>> { discrete: width = 640, height = 480 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 320, height = 240 }
>>>        Time interval between frame: 1/30,
>>> { discrete: width = 160, height = 120 }
>>>        Time interval between frame: 1/30,
>>> checking format: 1196444237
>>> VIDIOC_S_FORMAT - Unable to set

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Jozef Riha
setting quirks to 2 unfortunately did not help. gucview's 1.2.1 output below

[j...@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.2.1
unexpected integer value (1) for snd_numsec
Strings must be quoted
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 480 x 700
vert pane: 0
spin behavior: 0
mode: mjpg
fps: 1/25
Display Fps: 0
bpp: 0
hwaccel: 1
avi_format: 0
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound delay: 0 nanosec
Sound Format: 80
Sound bit Rate: 160 Kbps
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 0
profile(default):/home/jose/default.gpfl
starting portaudio...
language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
mjpg: setting format to 1196444237
capture method = 1
video device: /dev/video0
/dev/video0 - device 1
Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
vid:1b3b
pid:2951
driver:uvcvideo
checking format: 1196444237
VIDIOC_S_FORMAT - Unable to set format: Input/output error
Init v4L2 failed !!
Init video returned -2
trying minimum setup ...
capture method = 1
video device: /dev/video0
/dev/video0 - device 1
Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
vid:1b3b
pid:2951
driver:uvcvideo
checking format: 1196444237
VIDIOC_S_FORMAT - Unable to set format: Input/output error
Init v4L2 failed !!
ERROR: Minimum Setup Failed.
 Exiting...
free audio mutex
VIDIOC_REQBUFS - Failed to delete buffers: Invalid argument (errno 22)
closed v4l2 strutures
free controls - vidState
cleaned allocations - 100%
Closing portaudio ...OK
Terminated.

are you sure with the web-page? i cannot see a relationship between
dvb and uvcvideo. shouldn't i download the most recent driver from
http://linux-uvc.berlios.de/#download ?

thank you,

joe

On Wed, Dec 9, 2009 at 11:20 PM, Paulo Assis  wrote:
> Hi, could you try the following:
>
> echo 2 > /sys/module/uvcvideo/parameters/quirks
>
> this will set uvcvideo quirks to 2
>
> or you can also try the latest uvcvideo:
> http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
>
> please if you can, use the latest version for guvcview (1.2.1)  :D
>
> Regards,
> Paulo
>
> 2009/12/9 Jozef Riha :
>> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
>> guvcview 1.1.4
>> video_device: /dev/video0
>> vid_sleep: 0
>> cap_meth: 1
>> resolution: 640 x 480
>> windowsize: 480 x 700
>> vert pane: 0
>> spin behavior: 0
>> mode: mjpg
>> fps: 1/25
>> Display Fps: 0
>> bpp: 0
>> hwaccel: 1
>> avi_format: 0
>> sound: 1
>> sound Device: 0
>> sound samp rate: 0
>> sound Channels: 0
>> Sound Block Size: 1 seconds
>> Sound Format: 80
>> Sound bit Rate: 160 Kbps
>> Pan Step: 2 degrees
>> Tilt Step: 2 degrees
>> Video Filter Flags: 0
>> image inc: 0
>> profile(default):/home/jose/default.gpfl
>> starting portaudio...
>> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
>>
>> (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist:
>> object class `GtkSettings' has no property named `gtk-button-images'
>> mjpg: setting format to 1196444237
>> capture method = 1
>> video device: /dev/video0
>> /dev/video0 - device 1
>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>> { pixelformat = 'MJPG', description = 'MJPEG' }
>> { discrete: width = 640, height = 480 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 320, height = 240 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 160, height = 120 }
>>        Time interval between frame: 1/30,
>> checking format: 1196444237
>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>> Init v4L2 failed !!
>> Init video returned -2
>> trying minimum setup ...
>> capture method = 1
>> video device: /dev/video0
>> /dev/video0 - device 1
>> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
>> { pixelformat = 'MJPG', description = 'MJPEG' }
>> { discrete: width = 640, height = 480 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 320, height = 240 }
>>        Time interval between frame: 1/30,
>> { discrete: width = 160, height = 120 }
>>        Time interval between frame: 1/30,
>> checking format: 1196444237
>> VIDIOC_S_FORMAT - Unable to set format: Input/output error
>> Init v4L2 failed !!
>> ERROR: Minimum Setup Failed.
>>  Exiting...
>> Terminated.
>>
>>
>> On Wed, Dec 9, 2009 at 10:53 PM, Paulo A

Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Paulo Assis
Hi, could you try the following:

echo 2 > /sys/module/uvcvideo/parameters/quirks

this will set uvcvideo quirks to 2

or you can also try the latest uvcvideo:
http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers

please if you can, use the latest version for guvcview (1.2.1)  :D

Regards,
Paulo

2009/12/9 Jozef Riha :
> [j...@darkstar ~]$ LC_ALL=C guvcview --verbose
> guvcview 1.1.4
> video_device: /dev/video0
> vid_sleep: 0
> cap_meth: 1
> resolution: 640 x 480
> windowsize: 480 x 700
> vert pane: 0
> spin behavior: 0
> mode: mjpg
> fps: 1/25
> Display Fps: 0
> bpp: 0
> hwaccel: 1
> avi_format: 0
> sound: 1
> sound Device: 0
> sound samp rate: 0
> sound Channels: 0
> Sound Block Size: 1 seconds
> Sound Format: 80
> Sound bit Rate: 160 Kbps
> Pan Step: 2 degrees
> Tilt Step: 2 degrees
> Video Filter Flags: 0
> image inc: 0
> profile(default):/home/jose/default.gpfl
> starting portaudio...
> language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo
>
> (guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist:
> object class `GtkSettings' has no property named `gtk-button-images'
> mjpg: setting format to 1196444237
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 640, height = 480 }
>        Time interval between frame: 1/30,
> { discrete: width = 320, height = 240 }
>        Time interval between frame: 1/30,
> { discrete: width = 160, height = 120 }
>        Time interval between frame: 1/30,
> checking format: 1196444237
> VIDIOC_S_FORMAT - Unable to set format: Input/output error
> Init v4L2 failed !!
> Init video returned -2
> trying minimum setup ...
> capture method = 1
> video device: /dev/video0
> /dev/video0 - device 1
> Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
> { pixelformat = 'MJPG', description = 'MJPEG' }
> { discrete: width = 640, height = 480 }
>        Time interval between frame: 1/30,
> { discrete: width = 320, height = 240 }
>        Time interval between frame: 1/30,
> { discrete: width = 160, height = 120 }
>        Time interval between frame: 1/30,
> checking format: 1196444237
> VIDIOC_S_FORMAT - Unable to set format: Input/output error
> Init v4L2 failed !!
> ERROR: Minimum Setup Failed.
>  Exiting...
> Terminated.
>
>
> On Wed, Dec 9, 2009 at 10:53 PM, Paulo Assis  wrote:
>> Hi,
>> Could you please try guvcview ( http://guvcview.berlios.de )
>>
>> Please post me the output of guvcview --verbose
>>
>> Best regards,
>> Paulo
>>
>> 2009/12/9 Jozef Riha :
>>> Jozef Riha  gmail.com> writes:
>>>

 Hello dear ML members,

 I wonder whether you can help me with the following issue. My webcam
 MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i)
 identified as

 ...
>>>
>>>
>>> Sorry I forgot to add kernel version. It is 2.6.32, config at
>>> http://repos.archlinux.org/wsvn/packages/kernel26/repos/core-i686/config
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>>> the body of a message to majord...@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Jozef Riha
[j...@darkstar ~]$ LC_ALL=C guvcview --verbose
guvcview 1.1.4
video_device: /dev/video0
vid_sleep: 0
cap_meth: 1
resolution: 640 x 480
windowsize: 480 x 700
vert pane: 0
spin behavior: 0
mode: mjpg
fps: 1/25
Display Fps: 0
bpp: 0
hwaccel: 1
avi_format: 0
sound: 1
sound Device: 0
sound samp rate: 0
sound Channels: 0
Sound Block Size: 1 seconds
Sound Format: 80
Sound bit Rate: 160 Kbps
Pan Step: 2 degrees
Tilt Step: 2 degrees
Video Filter Flags: 0
image inc: 0
profile(default):/home/jose/default.gpfl
starting portaudio...
language catalog=> dir:/usr/share/locale type:C lang:C cat:guvcview.mo

(guvcview:31380): GLib-GObject-WARNING **: IA__g_object_set_valist:
object class `GtkSettings' has no property named `gtk-button-images'
mjpg: setting format to 1196444237
capture method = 1
video device: /dev/video0
/dev/video0 - device 1
Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
checking format: 1196444237
VIDIOC_S_FORMAT - Unable to set format: Input/output error
Init v4L2 failed !!
Init video returned -2
trying minimum setup ...
capture method = 1
video device: /dev/video0
/dev/video0 - device 1
Init. UVC Camera (1b3b:2951) (location: usb-:00:1d.1-1)
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
Time interval between frame: 1/30,
checking format: 1196444237
VIDIOC_S_FORMAT - Unable to set format: Input/output error
Init v4L2 failed !!
ERROR: Minimum Setup Failed.
 Exiting...
Terminated.


On Wed, Dec 9, 2009 at 10:53 PM, Paulo Assis  wrote:
> Hi,
> Could you please try guvcview ( http://guvcview.berlios.de )
>
> Please post me the output of guvcview --verbose
>
> Best regards,
> Paulo
>
> 2009/12/9 Jozef Riha :
>> Jozef Riha  gmail.com> writes:
>>
>>>
>>> Hello dear ML members,
>>>
>>> I wonder whether you can help me with the following issue. My webcam
>>> MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i)
>>> identified as
>>>
>>> ...
>>
>>
>> Sorry I forgot to add kernel version. It is 2.6.32, config at
>> http://repos.archlinux.org/wsvn/packages/kernel26/repos/core-i686/config
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majord...@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Jozef Riha
Jozef Riha  gmail.com> writes:

> 
> Hello dear ML members,
> 
> I wonder whether you can help me with the following issue. My webcam
> MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i)
> identified as
> 
> ...


Sorry I forgot to add kernel version. It is 2.6.32, config at  
http://repos.archlinux.org/wsvn/packages/kernel26/repos/core-i686/config

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


MSI StarCam working in vlc only (with poor colors)

2009-12-09 Thread Jozef Riha
Hello dear ML members,

I wonder whether you can help me with the following issue. My webcam
MSI StarCam (http://www.aaronpc.cz/produkty/msi-starcam-370i)
identified as

(lsusb)
Bus 003 Device 002: ID 1b3b:2951 iPassion Technology Inc. PC
Camera/Webcam controller

(dmesg)
input: Video Bus as
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:1d/LNXVIDEO:00/input/input8
ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
Linux video capture interface: v2.00
uvcvideo: Found UVC 1.00 device  (1b3b:2951)
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling
workaround.
input: UVC Camera (1b3b:2951) as
/devices/pci:00/:00:1d.1/usb3/3-1/3-1:1.0/input/input9
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)

It is apparently detected while appropriate modules are loaded
(v4l1_compat, uvcvideo, videodev), but of 3 tested applications: vlc,
xawtv and skype, only vlc shows some output. Moreover there's plenty
of

uvcvideo: Failed to query (130) UVC probe control : -32 (exp. 26).

in dmesg.log.

The console outputs of all three programs follow.

xawtv:

libv4l2: error setting pixformat: Input/output error
ioctl: 
VIDIOC_S_FMT(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=77312;fmt.pix.colorspace=SRGB;fmt.pix.priv=0):
Input/output error
ioctl: VIDIOC_S_STD(std=0x0 []): Invalid argument

skype:

libv4l2: error setting pixformat: Input/output error

vlc v4l2://

[0xa18a530] main input error: demux doesn't like DEMUX_GET_TIME
(probably irrelevant)

As I wrote above vlc is able to capture the image but the quality is
really low - please see screenshot at
http://yfrog.com/86vlcsnap2009120920h48m50p

I'd be glad to see the colors improved but main concern is that the
camera does not seem to be Skype-friendly.

Is there anything that can be done to improve this situation?

Thank you,

joe
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html