Skip to content

Instantly share code, notes, and snippets.

@juliarose
Created May 28, 2024 02:53
Show Gist options
  • Save juliarose/61b33226f6b26ba4b459c26fcc15634d to your computer and use it in GitHub Desktop.
Save juliarose/61b33226f6b26ba4b459c26fcc15634d to your computer and use it in GitHub Desktop.
Trims a video from a set point to a set duration.
ffmpeg -ss 00:01:07 -i input.mkv -t 00:28:26 -vcodec copy -acodec copy -avoid_negative_ts make_zero output.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment