Skip to content

Add video utilities #67

@sfmig

Description

@sfmig

Is your feature request related to a problem? Please describe.
There are some video utils with ffmpeg that I use often and would be useful to wrap.

Describe the solution you'd like
A video utils module that supports:

  • applying a reasonable compression to a video
  • extracting frames in a video as images (selected frames, or a range of them, or all frames... ideally the input can be in frame number or in seconds).
  • combining images into a video
  • print out main video "specs" (most are available from ffprobe output): frame rate, codec, length in seconds, length in number of frames, frame size). See also Print video specs to terminal #11
  • crop a video in time (using time in seconds or in frames)
  • crop a video spatially (i.e., crop every frame)

Describe alternatives you've considered
\

Additional context
Related to #4, #4 and #10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions