gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
1.03k stars 324 forks source link

Add Bulb mode support to the virtual camera #901

Open RReverser opened 1 year ago

RReverser commented 1 year ago

Virtual camera (vusb / vcamera) is very useful for testing libgphoto2 integrations. Unfortunately, it looks like it currently doesn't support bulb mode exposures - a fairly common remote control operation - failing with "property not found" errors.

msmeissn commented 1 year ago

the basic PTP camera does not support Bulb capture ... And implementing more Nikon DSLR style stuff there ... I can try, its not many opcodes but still.

Hmm let me think of something ;)

RReverser commented 1 year ago

Thinking of it a bit more, this might lean into https://github.com/gphoto/libgphoto2/issues/853. If there were high-level functions for "start bulb exposure" and "stop bulb exposure" in libgphoto2, then perhaps it would be easier to implement them in a special way for the virtual camera than replicate the low-level PTP details.

RReverser commented 1 year ago

I'm guessing you didn't have time for this, but... any luck? :)