Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Animated GIF and Video MP4 commands to aid debugging #14

Closed
1fifoto opened this issue Dec 21, 2018 · 1 comment
Closed

Show Animated GIF and Video MP4 commands to aid debugging #14

1fifoto opened this issue Dec 21, 2018 · 1 comment

Comments

@1fifoto
Copy link

1fifoto commented Dec 21, 2018

Add message for each image capture to understand when image capture takes place and when Animated GIF and Video MP4 creation takes place. To clearly show users what is taking place display the actual commands issued for Animated GIF and Video MP4 creation. This is in preparation to debugging the "TODO These may not get called after the end of the capture_image process..."

Adding

Capture picture: 0
Capture picture: 1
Capture picture: 2
Capture picture: 3
Capture picture: 4
Capture picture: 5
Capture picture: 6
Capture picture: 7
Capture picture: 8
Capture picture: 9

For example, change from

Creating animated gif.
Creating video.

to

Creating animated gif: convert -delay 10 -loop 0 /home/pi/Desktop/pi-timelapse/series-2018-12-20_18-43-32/image*.jpg /home/pi/Desktop/pi-timelapse/series-2018-12-20_18-43-32-timelapse.gif
Creating video: avconv -framerate 20 -i /home/pi/Desktop/pi-timelapse/series-2018-12-20_18-43-32/image%05d.jpg -vf format=yuv420p /home/pi/Desktop/pi-timelapse/series-2018-12-20_18-43-32/timelapse.mp4
@1fifoto
Copy link
Author

1fifoto commented Dec 21, 2018

My goof. Newbie mistake. See pull request associated with #15. Closing this.

@1fifoto 1fifoto closed this as completed Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant