Re: Canon 1300D: can only capture one image; second capture fails

Oliver Bendig <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <360661060.2134521.1486407978942.JavaMail.open-xchange@app01.ox.hosteurope.de>
> Marcus Meissner <[email protected]> hat am 6. Februar 2017 um 08:36
> geschrieben:
>
> > The shutter releases with every call. But after saving the file, gphoto
> > get's an
> > error -1:
> > UNKNOWN PTP Property d11b changed
> > UNKNOWN Camera Status 1
> > UNKNOWN PTP Property d11b changed
> > Saving file as capt0000.jpg
> > UNKNOWN Camera Status 0
> > *** Error (-1: 'Unspecified error') ***
>
> You have a typo in the commandline ... "+--set-config" should be
> "--set-config"
 
You're absolutely right. That fixed the issue. I saw the plus but thought it was
intentional. It was obviously generated by my mail client.

> I am also wondering if you can decrease or increase the wait after after the
> "Press 2",
> which is the time we hold down the virtual shutter button.
>
> I see you reduced it from 100ms to 80ms already.
>
> (The gphoto capture code currently does not have a wait there, which is
> probably
> the core issue.)
 
>From my tests only the first wait seems the has an impact. I reduced both waits
after Press 1 and 2 to 0 and iterated ten times without problem.
 
for i in `seq 9`; do rm capt0000.jpg; gphoto2 --wait-event=270ms --set-config
eosremoterelease="Press 1" --wait-event=0ms --set-config eosremoterelease="Press
2" --wait-event=0ms --set-config eosremoterelease="Release 2" --set-config
eosremoterelease="Release 1" --wait-event-and-download=2s; done
 
> > In the for loop, the jpg always contains the first image that was taken in
> > that
> > sequence. I moved the camera in between so that the image should differ. But
> > it
> > was always the first image from that loop.
 
The problem that always the same photo is written to disk still occurs. It
occurs even if I execute two single capture statements manually. I have to wait
some seconds between both calls and then the correct images were written to
disk.


Regards, Oliver

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
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.