SourceForge has been redesigned. Learn more.
Close

#441 Bulb mode in newer Nikons

None
open
5
2014-08-24
2014-03-05
No

Bulb was not possible via tethering on older Nikons, but it is now possible for D800, D4, D600, D7100 and more.
You can find source code here, but you need to port it:
http://digicamcontrol.com
It would allow gphoto to be used for astrophotography, that benefits from exposures between 60s and 360s. Stacking 30s pictures produces lower S/N ratios, important in astrophotography.

Discussion

  • Marcus Meissner

    Marcus Meissner - 2014-03-10

    A test implementation is in SVN now, but the D7100 I have access too here is hanging / crashing its firmware after TerminateCapture. (The shutter is working and apparently open for the wait time, so most is correct.)

    Must have missed a detail.

     
  • Olaf Marzocchi

    Olaf Marzocchi - 2014-03-10

    My knowledge stops at basic C and at Perl, I cannot help unfortunately. I will also be busy for a month before I will take the D7100 out for astrophotos.
    However, the developer from the other project seemed very receptive to the requests from his forum. Maybe if you discuss the matter with him, he will be happy to help users from other platforms to obtain similar features. He has already stated he is not interested in doing any port, there is therefore no conflict of interests in giving you some directions :)

     
  • Marcus Meissner

    Marcus Meissner - 2014-08-17

    if you can get someone to try it, it would be appreciated

    gphoto2 --set-config bulb=1 --wait-event=10s --set-config bulb=0 --wait-event-and-download=5s

     
  • Marcus Meissner

    Marcus Meissner - 2014-08-17
    • assigned_to: Marcus Meissner
    • Group: -->
     
  • Olaf Marzocchi

    Olaf Marzocchi - 2014-08-17

    I downloaded 2.5.5 but I have a compilation error when compiling gphoto2 (libgphoto2 is fine), so I cannot test it yet.
    I will check back from the holidays.


    /bin/sh ../libtool --tag=CC --mode=link /usr/local/bin/gcc -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -g -g -o gphoto2 gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o -L/usr/local/lib -lgphoto2 -lgphoto2_port -lm -lpthread -lreadline -L/usr/ -lpopt -lm
    libtool: link: /usr/local/bin/gcc -I.. -I../gphoto2 -I/usr/local/include/gphoto2 -DLOCALEDIR=\"/usr/local/share/locale\" -D_GPHOTO2_INTERNAL_CODE -I/usr/include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -g -g -o gphoto2 gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o -L/usr/local/lib /usr/local/lib/libgphoto2.dylib /usr/local/lib/libgphoto2_port.dylib /usr/local/lib/libltdl.dylib -lpthread -lreadline -L/usr/ /usr/local/lib/libpopt.dylib -liconv -lm
    Undefined symbols for architecture x86_64:
    "_rl_copy_text", referenced from:
    _shell_completion_function in gphoto2-shell.o
    ld: symbol(s) not found for architecture x86_64
    collect2: error: ld returned 1 exit status

     
  • Marcus Meissner

    Marcus Meissner - 2014-08-23

    rebuilding libgphoto2 is sufficient to activate the code!

    i hope you got it working in the meantime?

     
  • Olaf Marzocchi

    Olaf Marzocchi - 2014-08-24

    Typo?

      --trigger-capture                      Trigger capture of an image
     ...
      --trigger-capture                      Trigger image capture
    

    I tested this:
    ~/Downloads/gphoto2-2.5.5 olaf$ ./gphoto2/gphoto2 -B 5 -F 2 -I 5 --capture-image-and-download
    Time-lapse mode enabled (interval: 5s).
    Bulb mode enabled (exposure time: 5s).
    Capturing frame #1/2...

    *** Error ***              
    PTP I/O Error
    
    *** Error ***              
    An error occurred in the io-library ('I/O problem'): No error description available
    ERROR: Could not set bulb capture, result -7.
    *** Error (-7: 'I/O problem') ***
    
    ~/Downloads/gphoto2-2.5.5 olaf$ ./gphoto2/gphoto2 --set-config bulb=1 --wait-event=10s --set-config bulb=0 --wait-event-and-download=5s
    *** Error ***              
    PTP I/O Error
    
    *** Error ***              
    An error occurred in the io-library ('I/O problem'): No error description available
    Waiting for 10 seconds for events from camera. Press Ctrl-C to abort.
    ^C
    Cancelling...
    
    *** Error ***              
    PTP I/O Error
    
    *** Error ***              
    An error occurred in the io-library ('I/O problem'): No error description available
    

    But I noticed that the camera (in S mode) was correctly set by gphoto2 to "bulb" exposure. Only, it never fired.

     

Log in to post a comment.