Comments (47)
Yes Tommy, actually I have beta version available to test.
Camera controls are curently working for UVC cameras on Windows and on Linux.
Raspberry PI camera controls are not supported yet.
Would you be interested to test it?
from collimationcircles.
Btw, in windows my UVC still failed to perform focus and other functions. I still depends on Sharpcap to act as video streamer.
Yeah, camera controls are work in progress. I don't have focusable camera at my hands, so I guess I will need your help here. Will contact you when I'm back to implementing controls.
from collimationcircles.
Ok, I'll release new version with fix to see if it helps.
from collimationcircles.
Any progress on this? Thanks.
from collimationcircles.
Oh yes. I can test the beta version for you since I have both Linux and Windows OS with UVC camera.
Thanks.
from collimationcircles.
Here is beta release that you can test.
https://github.com/sajmons/CollimationCircles/releases/tag/version-3.2.0-beta
Please write all your findings here.
Thank you!
from collimationcircles.
Hi Sajmons,
This is what I found out in the beta release.
Kubuntu:
- Brightness until Zoom functions are okay to use.
- Sadly Gain until Exposure functions are nothing happen when adjusting. Especially the FOCUS, nothing happens at all.
- The camera control windows are always kept below others. A bit inconvenient.
- when the UVC camera started, the framerates became very slow.
- I have to always adjust the Camera Video stream windows to the correct size every time CC starts.
Windows OS:
- The camera control windows are always kept below others.
- Camera control nothing working in Windows.
these are what I've found so far.
Thanks.
from collimationcircles.
What version of windows were you using when testing?
from collimationcircles.
Windows 10
from collimationcircles.
Interesting on windows 11 controls are working. I'll investigate.
from collimationcircles.
Ok. Thanks a lot.
Maybe you can consider creating a discord group for CC discussion?
from collimationcircles.
One more issue on my Kubuntu Laptop with webcam. Even though UVC has already been selected, when I start the live stream, it always connects to my laptop webcam.
from collimationcircles.
Okay, I tested my UVC camera in Windows 11. Nothing happens with camera control too. Anything that I need to add or install?
from collimationcircles.
Okay, I tested my UVC camera in Windows 11. Nothing happens with camera control too. Anything that I need to add or install?
Hmm, UVC cameras should work out of the box. Do you have multiple cameras on your Windows system?
from collimationcircles.
One more issue on my Kubuntu Laptop with webcam. Even though UVC has already been selected, when I start the live stream, it always connects to my laptop webcam.
Probably your camera is UVC camera is not /dev/video0 device. Use v4l2-ctl --list-devices
command in terminal to see your UVC camera.
Then try to change v4l2:///dev/video0 address to v4l2:///dev/video1 or what is aplicable for your UVC camera. I should add here dropdown of available cameras.
from collimationcircles.
Okay, I tested my UVC camera in Windows 11. Nothing happens with camera control too. Anything that I need to add or install?
Hmm, UVC cameras should work out of the box. Do you have multiple cameras on your Windows system?
there is a webcam in my notebook.
from collimationcircles.
Now Kubuntu and Windows 10/11 manage to display via my UVC camera. But both still cannot control the camera parameters. Going through other webcam software no problem.
Under Kubuntu, my webcam display becomes very lag.
from collimationcircles.
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices
Virtual Camera (platform:v4l2loopback-000):
/dev/video0
HD User Facing: HD User Facing (usb-0000:00:14.0-5):
/dev/video1
/dev/video2
/dev/media0
Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8):
/dev/video3
/dev/video4
/dev/media1
Is a virtual camera normal to be there?
from collimationcircles.
Can you please confirm if command line controls are working, while CC is running on linux?
Example:
v4l2-ctl
--set-ctrl=brightness=150
--set-ctrl=contrast=51
--set-ctrl=saturation=32
--set-ctrl=white_balance_temperature_auto=0
--set-ctrl=gain=90
--set-ctrl=power_line_frequency=1
--set-ctrl=white_balance_temperature=1140
--set-ctrl=sharpness=24
--set-ctrl=backlight_compensation=1
--set-ctrl=exposure_auto=1
--set-ctrl=exposure_absolute=870
--set-ctrl=exposure_auto_priority=1
from collimationcircles.
Can you please confirm if command line controls are working, while CC is running on linux?
Example: v4l2-ctl --set-ctrl=brightness=150 --set-ctrl=contrast=51 --set-ctrl=saturation=32 --set-ctrl=white_balance_temperature_auto=0 --set-ctrl=gain=90 --set-ctrl=power_line_frequency=1 --set-ctrl=white_balance_temperature=1140 --set-ctrl=sharpness=24 --set-ctrl=backlight_compensation=1 --set-ctrl=exposure_auto=1 --set-ctrl=exposure_absolute=870 --set-ctrl=exposure_auto_priority=1
Hi,
This is the result i got from console.
ommylkw@tommylkw-N3-Linux:$ v4l2-ctl --set-ctrl=brightness=150$ v4l2-ctl --set-ctrl=contrast=52
unknown control 'brightness'
tommylkw@tommylkw-N3-Linux:
unknown control 'contrast'
from collimationcircles.
exposure_auto_priority=1
From my console, this is what i get. Those commands without unknown control return are good.
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl brightness=150$ v4l2-ctl -d /dev/video3 --set-ctrl contrast=51
tommylkw@tommylkw-N3-Linux:
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl saturation=32$ v4l2-ctl -d /dev/video3 --set-ctrl white_balance_temperature_auto=0
tommylkw@tommylkw-N3-Linux:
unknown control 'white_balance_temperature_auto'
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl gain=90$ v4l2-ctl -d /dev/video3 --set-ctrl power_line_frequency=1
unknown control 'gain'
tommylkw@tommylkw-N3-Linux:
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl white_balance_temperature=1140$ v4l2-ctl -d /dev/video3 --set-ctrl sharpness=24
VIDIOC_S_CTRL: failed: Permission denied
white_balance_temperature: Permission denied
tommylkw@tommylkw-N3-Linux:
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl backlight_compensation=1$ v4l2-ctl -d /dev/video3 --set-ctrl exposure_auto=1
tommylkw@tommylkw-N3-Linux:
unknown control 'exposure_auto'
tommylkw@tommylkw-N3-Linux:$ v4l2-ctl -d /dev/video3 --set-ctrl exposure_absolute=870$ v4l2-ctl -d /dev/video3 --set-ctrl exposure_auto_priority=1
unknown control 'exposure_absolute'
tommylkw@tommylkw-N3-Linux:
unknown control 'exposure_auto_priority'
tommylkw@tommylkw-N3-Linux:~$
from collimationcircles.
This is what i found out.
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-ctrls --device /dev/video3
User Controls
brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0
contrast 0x00980901 (int) : min=0 max=95 step=1 default=3 value=0
saturation 0x00980902 (int) : min=0 max=100 step=1 default=64 value=50
hue 0x00980903 (int) : min=-2000 max=2000 step=1 default=0 value=0
white_balance_automatic 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=100 max=300 step=1 default=115 value=100
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1 (50 Hz)
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int) : min=1 max=7 step=1 default=2 value=7
backlight_compensation 0x0098091c (int) : min=0 max=1 step=1 default=0 value=1
Camera Controls
auto_exposure 0x009a0901 (menu) : min=0 max=3 default=3 value=3 (Aperture Priority Mode)
exposure_time_absolute 0x009a0902 (int) : min=3 max=2047 step=1 default=166 value=166 flags=inactive
focus_absolute 0x009a090a (int) : min=0 max=1023 step=1 default=0 value=190 flags=inactive
focus_automatic_continuous 0x009a090c (bool) : default=0 value=1
from collimationcircles.
One more thing, Can I know my UVC camera is running YUYY or MJPEG when connected in CC?
I believe MJPEG far more better than YUYY. Maybe you can provide an option to change this.
Thanks.
from collimationcircles.
Any progress on this? Thanks a lot.
from collimationcircles.
@tlkw79 No, no progres on this jet, sorry. I guess I'll have to get list of controly dynamically, so that user will only see those, that are supported by his camera. I just need to find time to implement this.
from collimationcircles.
this "Cameras are now detected dynamically and available in dropdown control" is good for windows user. But not for linux user on notebook with built in webcam. It will always start the built in webcam but not my UVC.
from collimationcircles.
Btw, in windows my UVC still failed to perform focus and other functions. I still depends on Sharpcap to act as video streamer.
from collimationcircles.
this "Cameras are now detected dynamically and available in dropdown control" is good for windows user. But not for linux user on notebook with built in webcam. It will always start the built in webcam but not my UVC.
You should change your camera in dropdown to see vich one will work. I dont know how to get default camera on Linux yet.
from collimationcircles.
this "Cameras are now detected dynamically and available in dropdown control" is good for windows user. But not for linux user on notebook with built in webcam. It will always start the built in webcam but not my UVC.
You should change your camera in dropdown to see vich one will work. I dont know how to get default camera on Linux yet.
It doesn't show my UVC camera port. Unless I uninstall the V4l2loopback, then I can access the UVC camera.
from collimationcircles.
This is your Linux laptop?
Can you run v4l2-ctl --list-devices
or send me log file from logs folder.
from collimationcircles.
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices
Virtual Camera (platform:v4l2loopback-000):
/dev/video0
HD User Facing: HD User Facing (usb-0000:00:14.0-5):
/dev/video1
/dev/video2
/dev/media0
Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8):
/dev/video3
/dev/video4
/dev/media1
HD User Facing is my notebook built in webcam.
Depstech webcam is my UVC camera
from collimationcircles.
@tlkw79 Can you attach log too please?
from collimationcircles.
@tlkw79 Can you attach log too please?
Log for the UVC? I can't even connect to the UVC camera. I can only access to my HD User Facing webcam.
from collimationcircles.
@tlkw79 Can you attach log too please?
Log for the UVC? I can't even connect to the UVC camera. I can only access to my HD User Facing webcam.
No, what I ment is log of CollimationCircles application. It's located in same folder as CC application in logs subfolder.
from collimationcircles.
This is the log file that you need.
from collimationcircles.
@tlkw79 Can you attach log too please?
Log for the UVC? I can't even connect to the UVC camera. I can only access to my HD User Facing webcam.
@tlkw79 Thank you for log file.
You have UVC camera conected to that Linux laptop? V4L2 seams to detect only HD User Facing camera. How you conected UVC camera? With USB camle I supose? Can you use your UVC camera with your Linux machine?
from collimationcircles.
@tlkw79 Can you attach log too please?
Log for the UVC? I can't even connect to the UVC camera. I can only access to my HD User Facing webcam.
@tlkw79 Thank you for log file. You have UVC camera conected to that Linux laptop? V4L2 seams to detect only HD User Facing camera. How you conected UVC camera? With USB camle I supose? Can you use your UVC camera with your Linux machine?
UVC camera is connected to my laptop using USB cable. Before the latest version of CC, I can change the /dev/videoX. But in the latest version, I can't see the UVC camera option.
from collimationcircles.
@tlkw79 I found possible bug in my code recognizing output from v4l2-ctl --list-devices command. But, when reviewing log that you send there is no
Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8):
/dev/video3
/dev/video4
/dev/media1
in the log. Are you sure, that your UVC camera is properly connected and recognized by v4l2-ctl?
It should be in the log regerdles of that bug I mentioned.
from collimationcircles.
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices Virtual Camera (platform:v4l2loopback-000): /dev/video0
HD User Facing: HD User Facing (usb-0000:00:14.0-5): /dev/video1 /dev/video2 /dev/media0
Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8): /dev/video3 /dev/video4 /dev/media1
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices
Virtual Camera (platform:v4l2loopback-000):
/dev/video0
HD User Facing: HD User Facing (usb-0000:00:14.0-5):
/dev/video1
/dev/video2
/dev/media0
Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8):
/dev/video3
/dev/video4
/dev/media1
This is what I got when I plug in UVC camera into my laptop. The log is not capturing the UVC camera at all.
from collimationcircles.
@tlkw79 there is new version available. Now your should be able to pick your UVC camera from list and control it's parameters.
Please let me know if it is working for you now?
https://github.com/sajmons/CollimationCircles/releases/tag/version-3.2.0-beta3
from collimationcircles.
There is new version 3.2.0 beta5 available!
Changes are:
Finally camera controls should work for UVC cameras on Windows (through DShow) and Linux (through V4L2).
Performance improvements
Full change log: version-3.2.0-beta4...version-3.2.0-beta5
https://github.com/sajmons/CollimationCircles/releases
from collimationcircles.
Wow! latest version looks good in Linux but not good in windows 11. Log files attached.
CC_Log.2024-05-16.txt
CC_Log.2024-05-16.1.txt
CC_Log.2024-05-16.0.txt
By the way, where is the Focus option?
Thanks a lot.
from collimationcircles.
@tlkw79 Can you be more specific about what is not working on Windows 11? I see there are errors in the logs, I'll correct that, but did camera stream showed or not?
Wow! latest version looks good in Linux but not good in windows 11. Log files attached. CC_Log.2024-05-16.txt CC_Log.2024-05-16.1.txt CC_Log.2024-05-16.0.txt
By the way, where is the Focus option?
Thanks a lot.
from collimationcircles.
@sajmons The camera doesn't stream at all. Just a small black screen pop up then the whole program hung there. Need to force it to close.
Thanks.
from collimationcircles.
Wow! latest version looks good in Linux but not good in windows 11. Log files attached. CC_Log.2024-05-16.txt CC_Log.2024-05-16.1.txt CC_Log.2024-05-16.0.txt
By the way, where is the Focus option?
Thanks a lot.
Do you see focus slider in camera controls? Can you send me screenshot of camera controls dialog, from windows and linux machine? Thank you
from collimationcircles.
Hi,
I can see Focus option in Windows, but not in Linux. But still, CC camera control not functioning in Windows.
from collimationcircles.
Thank you Tommy. I found problem why Focus control is not visible on Linux. But I still don't know why it is not working? I'l have to investigate that further.
from collimationcircles.
Related Issues (17)
- cannot run HOT 2
- Correction of camera chip offset? HOT 4
- window movement (and transparency) HOT 2
- Canβt work on MacOS HOT 27
- packaging for OS HOT 2
- [LINUX] strip breaks the binary HOT 8
- version 2.1.0 lost transparency on KDE HOT 6
- Settings window lost after detaching and closing app HOT 1
- Windows 11 icon dont apear in exe file HOT 2
- utilizes an UVC USB camera HOT 6
- Transparent background does not work on Win10 x86 HOT 2
- Error selecting JSON files HOT 1
- Stay on top setting not woring
- Collimation Circle V3 Crash HOT 1
- App doesn't run on ArchLinux HOT 13
- No camera under Ubuntu 22.04 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collimationcircles.