Skip to content

Instantly share code, notes, and snippets.

@joshschmelzle
Created November 29, 2016 18:17
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joshschmelzle/f7a34fa54a7ba1307cea1fa41577a298 to your computer and use it in GitHub Desktop.
Save joshschmelzle/f7a34fa54a7ba1307cea1fa41577a298 to your computer and use it in GitHub Desktop.
Cut a video without re-encoding with ffmpeg
ffmpeg -i input.mp4 -c copy -ss 00:04:25.000 -to 00:09:25.000 output.mp4
@gordielachance
Copy link

seems there might be a problem with the keyframes - I made a test and when I play the video, it starts without image (then it comes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment