Discussion:
[linux-uvc-devel] Microsoft Lifecam Studio zoom
"
2013-09-30 14:47:35 UTC
Permalink
Hello,

I've bought an Microsoft Lifecam Studio to use with stopmotion
animation. It does have a (digital) zoom function which did work the
first time I plugged it in a few days ago*. After rebooting it never
worked again. There is a zoom control in guvcview and other similar
applications but it doesn't have any effect.
Testing in another machine** zooming doesn't work either but here I
don't even have a zoom control i guvcview.
Have rebooted and reconnected many times but nothing works.

control id: 0x009a090d failed to set (error -1)
control id: 0x009a090d failed to get value (error -1)

* Linux Mint 15, 32-bit, xfce
** Bodhi linux 2.3 (Ubuntu LTS based), Enlightenment.

What more can be tried?

Thank you,
-D.
Paulo Assis
2013-10-01 10:46:15 UTC
Permalink
Hi,
Post by "
Hello,
I've bought an Microsoft Lifecam Studio to use with stopmotion
animation. It does have a (digital) zoom function which did work the
first time I plugged it in a few days ago*. After rebooting it never
worked again. There is a zoom control in guvcview and other similar
applications but it doesn't have any effect.
Digital zoom, at least in some models, may depend on the resolution
you set for the camera.
Did you try changing it to something else ? or even the output format?
Post by "
Testing in another machine** zooming doesn't work either but here I
don't even have a zoom control i guvcview.
I would say this was probably related to the kernel version, but both
Mint 15 and Bodhi 2.3 have linux 3.8.

Can you post the output of 'guvcview --verbose' on both machines Make
sure you use the latest version (1.7.1) or even better the latest git
( https://launchpad.net/~pj-assis/+archive/testing )
Post by "
Have rebooted and reconnected many times but nothing works.
control id: 0x009a090d failed to set (error -1)
control id: 0x009a090d failed to get value (error -1)
The control seems to have died ;( , usually unpluging the camera
should reset it to the factory defaults, but apparently that hasn't
work. Have you tried connecting to a windows box, to check if it works
there ?

Regards,
Paulo
Post by "
* Linux Mint 15, 32-bit, xfce
** Bodhi linux 2.3 (Ubuntu LTS based), Enlightenment.
What more can be tried?
Thank you,
-D.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
"
2013-10-03 12:11:32 UTC
Permalink
Thank you Paulo!
Post by Paulo Assis
Digital zoom, at least in some models, may depend on the resolution
you set for the camera.
Did you try changing it to something else ? or even the output format?
Yes, that was exactly what was going on! I had it at maximum res,
1920x1080 and never thought of lowering it. Trying lower values I get
digital zoom!

However, I cant seem to pass the zoom value from guvcview to the
animation softwares I'm using; qStopMotion and Muan. If I run guvcview
standalone as a viewer/controller I get zoom. (guvcview --size=960x544).
If on the other hand I start guvcview as a controller to pass along
images to my animation software (guvcview --size=960x544 -o), the
animation software still captures 1920x1080 images without ability to
zoom. All other values are passed along from guvcview, I can change
focus, exposure, brightness etc. and they are immediately seen in the
viewport of the animation softwares, but not image size and zoom. (Also
tried Cheese with same result)

Why can't I have guvcview decide size? And sorry if this is the wrong
list to ask guvcview related questions.

Regards,
-David
Paulo Assis
2013-10-04 13:00:17 UTC
Permalink
Hi,
Post by "
Thank you Paulo!
Post by Paulo Assis
Digital zoom, at least in some models, may depend on the resolution
you set for the camera.
Did you try changing it to something else ? or even the output format?
Yes, that was exactly what was going on! I had it at maximum res,
1920x1080 and never thought of lowering it. Trying lower values I get
digital zoom!
That seems logical.
Post by "
However, I cant seem to pass the zoom value from guvcview to the
animation softwares I'm using;
You need to lower the camera resolution also in your software,
otherwise zoom won't work.
If you use guvcview in control mode, 'guvcview --control_only' it
won't stream video, it's your application that requests the video
stream (pixel format and resolution).
Post by "
qStopMotion and Muan. If I run guvcview
standalone as a viewer/controller I get zoom. (guvcview --size=960x544).
If on the other hand I start guvcview as a controller to pass along
images to my animation software (guvcview --size=960x544 -o), the
animation software still captures 1920x1080 images without ability to
zoom.
--size doesn't work with -o or --control_only, like I explained in
control mode guvcview won't stream video, otherwise it would not work
with other softtware. It's the other applications that must request
the aproppriate video format.
Post by "
All other values are passed along from guvcview, I can change
focus, exposure, brightness etc. and they are immediately seen in the
viewport of the animation softwares, but not image size and zoom. (Also
tried Cheese with same result)
Why can't I have guvcview decide size? And sorry if this is the wrong
list to ask guvcview related questions.
Because this would cause other apps to fail, you can only stream video
from one app at a time. Controls are different, you can have multiple
control panels, but unfurtunally only one video stream.

Regards,
Paulo
Post by "
Regards,
-David
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Loading...