ffmpeg-templates icon indicating copy to clipboard operation
ffmpeg-templates copied to clipboard

timeline syntax

Open andykais opened this issue 3 years ago • 1 comments

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

andykais avatar Feb 18 '22 14:02 andykais

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

andykais avatar Mar 08 '22 04:03 andykais