-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easier to reprocess images on other machines (#478)
* Make it easier to reprocess images on other machines `rm -rf /tmp/nonexistent` doesn't fail on nonexistent files, so unconditionally nuke the sequence directory ``` $ rm -rf /tmp/nonexistent && echo that worked that worked ``` provide some default values for the framerate and encoder, just in case you don't have them in your configs. * More reprocessing fun Now this sort of thing works: ``` ~$ env FFLOG=info VCODEC=h264_nvenc ~/allsky/scripts/timelapse.sh 20210913 /nas/home/allsky/20210913/ timelapse.sh: Creating symlinks to generate timelapse ``` * allow sequence directory to be retained Makes tuning encoder settings a little easier by keeping the sequence. Not meant for general consumption which is why it's only documented in a comment. * try to guess image extension if unconfigured ``` ~/allsky$ env VCODEC=h264_nvenc ~/allsky/scripts/timelapse.sh 20210913 /nas/homes/allsky/20210913/ /home/ckuethe/allsky/scripts/timelapse.sh: line 7: /home/ckuethe/allsky/config.sh: No such file or directory jq: error: Could not open file : No such file or directory timelapse.sh: file EXTENSION not found in configuration, guessing jpg timelapse.sh: Creating symlinks to generate timelapse timelapse.sh: Created 6340 links total ... ``` * fix typo * silence stderr from ls
- Loading branch information
Showing
2 changed files
with
73 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters