Trim video in ffmpeg
Posted: | Updated: | Tags: ffmpeg tilffmpeg -i input.mkv -ss 00:00:03 -t 00:00:08 -async 1 output.mkv
Arugment | Description |
---|---|
-i | Specify input filename |
-ss | Seek start position |
-t | Duration after start position |
-async 1 | Start of audio stream is synchronised |
See these StackOverflow answers for a debate on various other methods of trimming a video with ffmpeg.