Hi, On Tue, Mar 19, 2019 at 10:30:57PM +0100, Oliver Grünberg wrote: > Hey ho, > > is there a way to stop an ongoing movie recording and keep the so far result? > > Calling 'gphoto2 --set-config movie=0' does not work because the below > mentioned command already is in use. > > 'gphoto2 --set-config capturetarget=1 --wait-event=1s --set-config > viewfinder=1 --set-config movierecordtarget=Card --wait-event=10s > --set-config movierecordtarget=None --wait-event-and-download=2s > --filename="video.mp4"' > > I'm currently interrupting gphoto2 by "sudo pkill -f gphoto2". But this also > trashes any results. > > How can I gracefully stop the recording and keep the result? Can I send a > signal?
It is currently not possible, but it seems a good idea to abort wait-event on a signal for instance. Which granularity would be interesting? seconds? or 0.1 seconds or so? Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel