Re: Nikon D5100 burst error

Marcus Meissner <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
Hi,


On Tue, Aug 14, 2018 at 08:01:54PM +0300, Slava Garelin wrote:
> Well I've found a workaround tested on 5200, which demonstrated the same
> issue.
> 
> If I switch back to
> 
> set-config capturemode=0
> 
> and do
> 
> capture-image
> 
> after that I can work with
> 
> set-config capturemode=1
> 
> w/o issue, for the shots amount which fits internal memory. In a case 5200
> that's 2 small images in NORM quality which is 2992x2000 (1.1 MB)
> 
> Pay attention though that capture-image-and-download catches last shot only
> and you have to call get/delete for the first one yourself.
> 
> Best Regards,
> 
> Slava
> 
> 
> On 14.08.18 18:32, Slava Garelin wrote:
> > 
> > Hello everybody,
> > 
> > I need to do quick doubleshot through libgphoto and I perfectly can do
> > this with SD card.
> > 
> > But if I try to avoid using it I have an error for first shot. Each next
> > one in burst seria is ok, but each first one is failure.
> > 
> > Can you suggest me how to operate in this case avoiding the failure?
> > 
> > 
> > gphoto2 --auto-detect --shell
> > Model Port
> > ----------------------------------------------------------
> > Nikon DSC D5100 (PTP mode)     usb:002,013
> > gphoto2: {/home/slava} /> set-config capturemode=1
> > gphoto2: {/home/slava} /> set-config burstnumber=2
> > gphoto2: {/home/slava} /> set-config capturetarget=0
> > gphoto2: {/home/slava} /> capture-image
> > ERROR: Could not capture image.
> > ERROR: Could not capture.
> > New file is in location /capt0000.jpg on the camera
> > gphoto2: {/home/slava} /> capture-image
> > ERROR: Could not capture image.
> > ERROR: Could not capture.
> > New file is in location /capt0001.jpg on the camera
> > gphoto2: {/home/slava} /> set-config capturetarget=1
> > gphoto2: {/home/slava} /> capture-image
> > New file is in location /store_00010001/DCIM/103D5100/DSC_0012.JPG on
> > the camera
> > New file is in location /store_00010001/DCIM/103D5100/DSC_0013.JPG on
> > the camera
> > gphoto2: {/home/slava} />
> > 
> > gphoto2 --version
> > gphoto2 2.5.17

Yes, to get the rest of the images in "burst mode", you need to run
wait-event-and-download=5s, as the capture call can just get 1 image usually.

(replace 5s by the time the camera needs).

Ciao, Marcus

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.