dognotdog / ptpwebcam

Mac DSLR webcam plugin for using DSLRs for video conferencing and streaming.
https://ptpwebcam.org
GNU General Public License v3.0
181 stars 19 forks source link

Sony Alpha camera control issues #39

Open dognotdog opened 3 years ago

dognotdog commented 3 years ago

Sony has a weird way of setting PTP properties, making some incremental, like ISO and Shutter Speed, and there is no good way of setting that, at the moment.

Incremental settings have been confirmed to work, but increments only work in 1 or 2 steps, it is unclear why sometimes 2 steps works.

dognotdog commented 3 years ago

Incremental settings now work, but they are not quite getting updated. The update mechanism of the Sony cameras is very different from Canon / Nikon, not sure how to work around it.

dognotdog commented 3 years ago

Worth noting that cameras have a AF with shutter option that prevents AF from being done through simulating a half shutter press when not enabled.

dognotdog commented 3 years ago

44796cb3fcfd0000472a6623ebb10b09a6a83638 fixes the autofusing, at least, but reading of the properties is still a little wonky.

dognotdog commented 3 years ago

There are still some weird things happening, it seems like there is some state that is persistent across camera power cycles that sometimes prevents properties from being read out when the camera is connected, though generating a camera report seems to fix it (the report mechanims re-queries all properties).