Results 1 to 2 of 2
Hi,
So I'm teaching myself some scripting to try and create a fairly simple photobooth type affair... I've got gphoto2 playing fairly nicely with my canon, and imagemagick taking that ...
- 11-04-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 2
Display Images Whilst Running Other Functions
Hi,
So I'm teaching myself some scripting to try and create a fairly simple photobooth type affair... I've got gphoto2 playing fairly nicely with my canon, and imagemagick taking that output and rearranging it to a vertical format...
EDIT:
*smacks forehead*
Fairly simple to do what I needed initially:
This shows a countdown from 5 to 1 in images and $SMILE is bigCode:feh -FZ -D 1 --cycle-once $COUNTDOWN & sleep 2 & feh -FZ -D 20 --cycle-once $SMILE
that says 'smile'
So my question is thus... (fairly basic but I can't get my head round the use of & and sleep in this context) what's the best way to call my gphoto instructions (or a script with them in) mid way through the above code?!
'feh code'
sleep 5
'gphoto code'
this kind of thing seems like the way, but the'sleep 5' and 'gphoto code' doesn't start until feh is finished in this case?? It's late and I must be missing something obvious - but any pointers appreciated.
Thanks!Last edited by raguff; 11-04-2010 at 11:45 PM.
- 12-11-2010 #2
Code:'feh code' & sleep 5 'gphoto code' wait


Reply With Quote