-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding some camera controls, focus, zoom, etc. #18
Comments
Any progress on this? Thanks. |
Yes Tommy, actually I have beta version available to test. |
Oh yes. I can test the beta version for you since I have both Linux and Windows OS with UVC camera. Thanks. |
Here is beta release that you can test. Please write all your findings here. |
Hi Sajmons, This is what I found out in the beta release. Kubuntu:
Windows OS:
these are what I've found so far. Thanks. |
What version of windows were you using when testing? |
Windows 10 |
Interesting on windows 11 controls are working. I'll investigate. |
Ok. Thanks a lot. Maybe you can consider creating a discord group for CC discussion? |
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. |
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? |
Probably your camera is UVC camera is not /dev/video0 device. Use 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. |
there is a webcam in my notebook. |
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. |
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices HD User Facing: HD User Facing (usb-0000:00:14.0-5): Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8): Is a virtual camera normal to be there? |
Can you please confirm if command line controls are working, while CC is running on linux? Example: |
Hi, This is the result i got from console. ommylkw@tommylkw-N3-Linux: |
From my console, this is what i get. Those commands without unknown control return are good. tommylkw@tommylkw-N3-Linux: |
This is what i found out. tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-ctrls --device /dev/video3 User Controls
Camera Controls
|
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. |
Any progress on this? Thanks a lot. |
@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. |
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. |
Btw, in windows my UVC still failed to perform focus and other functions. I still depends on Sharpcap to act as video streamer. |
You should change your camera in dropdown to see vich one will work. I dont know how to get default camera on Linux yet. |
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. |
It doesn't show my UVC camera port. Unless I uninstall the V4l2loopback, then I can access the UVC camera. |
This is your Linux laptop? |
tommylkw@tommylkw-N3-Linux:~$ v4l2-ctl --list-devices HD User Facing: HD User Facing (usb-0000:00:14.0-5): Depstech webcam MIC: Depstech w (usb-0000:00:14.0-8): HD User Facing is my notebook built in webcam. |
Wow! latest version looks good in Linux but not good in windows 11. Log files attached. By the way, where is the Focus option? Thanks a lot. |
@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?
|
@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. |
Do you see focus slider in camera controls? Can you send me screenshot of camera controls dialog, from windows and linux machine? Thank you |
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. |
Hi, Any good news on software development? Thanks |
Hi, No new updates yet? Best regards, |
Today I have released new version beta7. More here: https://www.saimons-astronomy.com/1956214_new-release-of-collimation-circles-3-2-0-beta7 |
Hi, Thanks for the latest update.
Best regards, |
Can you send some screenshots for linux and logs for Windows? |
Also some screenshots from windows 11 and logs. CC_Log.2024-07-26.txt |
"Fix for executing v4l2 commands while on windows platform" Just curious about windows implementation. Is it possible to use dshow instead? Tommy |
On windows dshow is used. It was a bug that I fixed not to execute v4l2 commands on windows any more. They had no efect, but probably some performance degradation. But as I said that's now fixed. I'll see what can I do with controls not working on windows, for me they working normaly. |
That's weird. If your windows works, then how come mine can't? Is there any additional plugin or application needed that I need to install? for your info, in my laptop I got few others astro camera drivers as well. Will it be some sort of drivers compatibility happening here? Tommy |
@tlkw79 I have succedded in repeting your case. I think that problem is in camera index. CC has curently hardcoded camera at index 0 thats equals to default camera on windows. Now I have two cameras and I'm able to reproduce error. I think that I will bw able to corect that issue soon. Till then stay tuned. |
Wohooo! Finally.....you did it! Will wait for your good news. Well done. Thanks a lot! Tommy |
Any news on the further release yet? Thanks |
@tlkw79 try final stable release 3.2.0 |
Good news! Later tonight I will test it out. Thanks a lot. |
Hi, Now everything running fine now in Linux and Windows 11 as well. I can refresh the list and point to the UVC that I use now once plug in. Under Linux OS, the video still very lagging. But under windows OS, video display looks fine. Function list all working fine in both OS. I believe now you can implement the focus function back to the function list. This is more important to me :) Thanks a lot. Regards, |
Tommy, that's really great news! Your help was priceless! I could not have done it without you. I'm pretty sure that on Linux OS focus feature will be possible to implement (camera must support it), not so sure about Windows. I'll do my best! What Linux distro are you using? |
I am using Kubuntu OS. Regarding to the video display lagging issue, will it be the resolution or framerate value? Tommy |
What hardware you run your Kubuntu OS on? |
What do you mean by hardware running on my Kubuntu OS? |
Operating System: Kubuntu 24.04 |
Hardware shouldn't be issue here. I'm running it on my Raspberry Pi 4B with decent frame-rate and less than half second lag. |
Hi, Logs file and videos attached. Regards, CC_Log.2024-10-20.10.txt test.mp4 |
@tlkw79 I think you have some video driver issue or resolution of your camera is to high. |
See here for some documentation
https://www.kurokesu.com/main/2016/01/16/manual-usb-camera-settings-in-linux/
https://code.videolan.org/videolan/vlc/-/issues/11105
The text was updated successfully, but these errors were encountered: