ffmpeg-templates
ffmpeg-templates copied to clipboard
timeline syntax
investigate
- [ ] keypoints
clips:
- file: 'something.mp4'
trim:
start: '0.4'
variable_length: 'end'
keypoints:
- name: important_moment
timestamp: '4.5'
- file: something_else.mp4
keypoints:
- name: important_moment
timestamp: '1.0'
# InputError when two keypoints cant be matched.
# E.g. one clip has a start time too far away,
# or a end time too short to meet the keypoint
timeline:
- id: CLIP_0
- id: CLIP_1
- [ ] variable declarations
duration_vars:
clip_0_important_moment: '0.5'
- [ ] timeline tree
timeline:
- id: CLIP_0
next:
- id: CLIP_1
- id: CLIP_2
next:
- id: CLIP_3
keypoint use cases we havent covered:
- "stop this clip at this keypoint"
- "start this clip at this keypoint"
we should be able to cover these with duration variables...though itd be nice if we didnt have to reintroduce them