Skip to content

Commit

Permalink
Add new time-lapse movie
Browse files Browse the repository at this point in the history
  • Loading branch information
153957 committed May 12, 2024
1 parent 92f1c72 commit 115e00a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions scripts/240510_APL_ADL_Northern_Lights.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
from pathlib import Path

import ffmpeg

from time_lapse import output, source, thumbnail

NAME = Path(__file__).stem
PATTERNS = [
('/Volumes/Jedi/Cache/240510_Aurora/APL_1/*.tif', 12, 2), # APL_216574 - APL_216598
('/Volumes/Jedi/Cache/240510_Aurora/APL_2/*.tif', 24, 2), # APL_216610 - APL_216917
('/Volumes/Jedi/Cache/240510_Aurora/APL_3/*.tif', 24, 4), # APL_216921 - APL_217044
('/Volumes/Jedi/Cache/240510_Aurora/ADL_1/*.tif', 24, 0), # ADL_289448 - ADL_289527
('/Volumes/Jedi/Cache/240510_Aurora/APL_4/*.tif', 48, 4), # APL_217050 - APL_217571
('/Volumes/Jedi/Cache/240510_Aurora/APL_5/*.tif', 48, 0), # APL_217575 - APL_217934
]
POSTER = '/Volumes/Jedi/Cache/240510_Aurora/ADL_1/ADL_289449.tif'


if __name__ == '__main__':
inputs = [
source.get_input(pattern, fps=framerate, deflicker=size, filters=None)
for pattern, framerate, size in PATTERNS
]
combined_inputs = ffmpeg.concat(*inputs)
output.create_outputs(combined_inputs, NAME, framerate=48, watermark=True, verbose=False, dryrun=False)

thumbnail.create_thumbnail(NAME, Path(POSTER))

0 comments on commit 115e00a

Please sign in to comment.