Discussion:
[Gphoto-user] Gphoto2 & burst mode
LockyT
2011-03-17 00:51:09 UTC
Permalink
Hi All,

I have recently put Gphoto on a Debian embedded system and seems to work
fine.

However, for our use of the system, we require the camera(s) to work in a
burst mode. ie, need the camera(s) to take multiple quick succession images
as though one is holding the camera's button down in sports/continuous mode.

I have played with a variety of config settings but so far had no luck.
Multiple shots can of course be used with -F and -I however the minimum
period is 1 sec, way too slow for what I require. I also notice that
Gphoto2 tends to want to communicate far more with the camera than we need -
we just need a basic command set saying hold down the button and another
command a couple of secs later saying release. I am happy for the shots to
be controlled by the camera and the images to save down to the camera
natively. Of course I am saying all this having no understanding of the
underlying technology, so please excuse my ignorance.

I appreciate this may not be possible with Gphoto2 but if anyone has any
ideas, I'd really appreciate the help. Please note I am very new to linux,
so might be a bit of a numpty with advice, but will try my best. I do also
have access to a good dev who might be able to manipulate libgphoto2, so any
advice there would also be appreciated.

I have also tried setting the drivemode to continuous but this doesn't seem
to do anything. Maybe it would if I could work out how to get it to hold
down instead of single shot that seems to be adopted with --capture-image.

By the way, I am using a Canon 50D and a Canon 400D (not together). I have
also tried on a top level Nikon (forgotten model) to no avail.

Thanks all in advance.

Lachlan.
--
View this message in context: http://old.nabble.com/Gphoto2---burst-mode-tp31168964p31168964.html
Sent from the gphoto-user mailing list archive at Nabble.com.
Andreas Steinel
2011-03-17 21:19:48 UTC
Permalink
Hi Lachlan,

It is possible, if you want to implement this in a small C program or
with some higher level bindings to ruby or python. I implemented burst
mode with varying camera settings and it is VERY fast. Almost
instantaneous.

Best,
Andreas
Post by LockyT
Hi All,
I have recently put Gphoto on a Debian embedded system and seems to work
fine.
However, for our use of the system, we require the camera(s) to work in a
burst mode.  ie, need the camera(s) to take multiple quick succession images
as though one is holding the camera's button down in sports/continuous mode.
I have played with a variety of config settings but so far had no luck.
Multiple shots can of course be used with -F and -I however the minimum
period is 1 sec, way too slow for what I require.  I also notice that
Gphoto2 tends to want to communicate far more with the camera than we need -
we just need a basic command set saying hold down the button and another
command a couple of secs later saying release.  I am happy for the shots to
be controlled by the camera and the images to save down to the camera
natively.  Of course I am saying all this having no understanding of the
underlying technology, so please excuse my ignorance.
I appreciate this may not be possible with Gphoto2 but if anyone has any
ideas, I'd really appreciate the help.  Please note I am very new to linux,
so might be a bit of a numpty with advice, but will try my best.  I do also
have access to a good dev who might be able to manipulate libgphoto2, so any
advice there would also be appreciated.
I have also tried setting the drivemode to continuous but this doesn't seem
to do anything.  Maybe it would if I could work out how to get it to hold
down instead of single shot that seems to be adopted with --capture-image.
By the way, I am using a Canon 50D and a Canon 400D (not together).  I have
also tried on a top level Nikon (forgotten model) to no avail.
Thanks all in advance.
Lachlan.
--
View this message in context: http://old.nabble.com/Gphoto2---burst-mode-tp31168964p31168964.html
Sent from the gphoto-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Gphoto-user mailing list
https://lists.sourceforge.net/lists/listinfo/gphoto-user
LockyT
2011-03-17 22:45:38 UTC
Permalink
Post by Andreas Steinel
Hi Lachlan,
It is possible, if you want to implement this in a small C program or
with some higher level bindings to ruby or python. I implemented burst
mode with varying camera settings and it is VERY fast. Almost
instantaneous.
Best,
Andreas
Thanks Andreas - sounds like what I'm after. Do you have any example code
or ideas from when you managed to do this? I will need to point my dev in
the right direction.

Lachlan.
--
View this message in context: http://old.nabble.com/Gphoto2---burst-mode-tp31168964p31177103.html
Sent from the gphoto-user mailing list archive at Nabble.com.
Klaus Post
2011-03-17 22:09:45 UTC
Permalink
Hi!
Post by LockyT
I have played with a variety of config settings but so far had no luck.
Multiple shots can of course be used with -F and -I however the minimum
period is 1 sec, way too slow for what I require. I also notice that
Gphoto2 tends to want to communicate far more with the camera than we need -
we just need a basic command set saying hold down the button and another
command a couple of secs later saying release. I am happy for the shots to
be controlled by the camera and the images to save down to the camera
natively. Of course I am saying all this having no understanding of the
underlying technology, so please excuse my ignorance.
First, I'm sorry, if it is inappropriate to plug my app here, but since it
is using libgphoto (and free), I hope it is ok.

We've implemented Tethered Shooting into Rawstudio. The support is pretty
basic, and not widely tested, but it might help you.

When you use the "Monitor Camera" function, it will allow you to shoot
photos on the camera. Basically it will allow you to shoot as many images as
you want in continuous mode until it fills the buffer of the camera, while
transferring the images as fast as possible via USB. At least that is my
experience with my Canon 5D Mk2. I know there are some quirks on the 40D,
where you have to remove the CF card, but you might be lucky it just works
out-of-the box.

If you like, try it out. There are pre-built packages for Ubuntu. For other
distributions, you might have to compile it yourself.

A little intro to the Tethered Shooting feature:

http://rawstudio.org/blog/?p=519


Thanks all in advance.
Post by LockyT
Lachlan.
Hope it helps.


Regards, Klaus Post

http://www.klauspost.com
LockyT
2011-03-17 22:55:22 UTC
Permalink
Post by Klaus Post
Hi!
First, I'm sorry, if it is inappropriate to plug my app here, but since it
is using libgphoto (and free), I hope it is ok.
We've implemented Tethered Shooting into Rawstudio. The support is pretty
basic, and not widely tested, but it might help you.
When you use the "Monitor Camera" function, it will allow you to shoot
photos on the camera. Basically it will allow you to shoot as many images as
you want in continuous mode until it fills the buffer of the camera, while
transferring the images as fast as possible via USB. At least that is my
experience with my Canon 5D Mk2. I know there are some quirks on the 40D,
where you have to remove the CF card, but you might be lucky it just works
out-of-the box.
If you like, try it out. There are pre-built packages for Ubuntu. For other
distributions, you might have to compile it yourself.
http://rawstudio.org/blog/?p=519
Hope it helps.
Regards, Klaus Post
Thanks Klaus. Looks very good but can you tell me whether it works in a
command-line mode like Gphoto? The reason I say is we are using our distro
in an embedded system that only has terminal access and no graphical
ability. What we are trying to do is take the shots, let them come down
onto the CF and we would then copy from there to the system or onto a
network share somewhere after the shots are taken. This is where Gphoto
would have been perfect if we could've gotten the burst mode working.

Look forward to your reply.
--
View this message in context: http://old.nabble.com/Gphoto2---burst-mode-tp31168964p31177153.html
Sent from the gphoto-user mailing list archive at Nabble.com.
Loading...