Cut media files using ffmpeg: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
It's important to place -ss and -t <u>after the input</u>. | It's important to place -ss and -t <u>after the input</u>. | ||
[[Category: | [[Category: Linux]] | ||
Revision as of 10:18, 1 October 2020
$ ffmpeg -i infile -codec copy -ss hh:mm:ss -t hh:mm:ss outfile
-ss position- Seek to given time
position
-t duration- Restrict the video to the
duration
It's important to place -ss and -t after the input.