Modifying focus control for video capture device

GeoNomad

New Member
I have a Tinyscope Dwarf telescope which works fine as a USB videocapture device with OBS.

In the camera controls, the exposure control works with the camera and appears to affect the hardware as it changes the resulting DOF.

The focus control does bump the focus but doesn't properly control it - I am not sure whether there is a standard interface that Tinyscope doesn't use or if the focus control was designed for some other specific camera.

Is there a way to modify the interface affected by the focus control without recompiling OBS? I am new to this project.

It seems close enough that I think a bit of tweaking of what is being sent to the camera would get me there. Perhaps it needs a different range of values than what is being sent. But the fact that it does something means it is almost there.

Can anyone point me to where in the source the focus interface would show up?

Otherwise, once set up, the camera works fine with OBS, so in a fixed situation (such as a nestcam), the camera can be set up with the Android interface and then plugged into OBS for streaming or recording. It is just inconvenient to go back and forth.

Thanks for any input.

Peter
 

konsolenritter

Active Member
To my knowledge all camera control is handled thru your usb video devices driver. It absolutely doesn't relate to OBS at all. The only thing OBS does is opening the drivers control panel for you on the screen on demand. But all you can set and control within that panel or dialog is sent between the driver and the hardware (especially regarding focus, exposure and white balance control - if the driver supports it). OBS just starts and stops and grabs the pictures or stream frame by frame in between.

Even recompile OBS wouldn't change anything on that behaviour.
 

GeoNomad

New Member
Thanks. That is interesting. The control panel displayed is not one that shows up using any other camera software, so I assumed it was an OBS plugin or something like that. I will have to dig deeper. It is the same control panel that shows up with the internal cameras of the notebook. Camera Control and Video Proc Amp. Just different controls blurred out. Maybe it is in Windows.
 

GeoNomad

New Member
Clicking on Video Configuration brings up these dialogs: Video Proc Amp and Camera Control
1629136912896.png


1629136649287.png



I have contacted the manufacturer and there is now a new W10 app that controls the camera. But no new windows driver to correct the interface issues to OBS. Still, it is possible to configure the camera with their app, then switch to OBS and stream from there.
 

konsolenritter

Active Member
Yes. The dialog in your screenshots looks very similar to those i know from standard windows video device drivers. They differ in detail, but only to the extent of exactly what parameters the driver supports to set on the device. For sure, as said this is no software part of OBS.

Hope the way you described will work for you.
 

GeoNomad

New Member
Yes, it would appear the camera is partly compatible with the standard Windows driver. So some settings work and some are available but configured incorrectly at the camera end. The manufacturer should either provide a compatible driver or modify the camera to be compatible with the standard driver. I won't hold my breath.
 
Top