Cut media files using ffmpeg: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<pre>$ ffmpeg | <pre>$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -vcodec copy -acodec copy outfile</pre> | ||
;<code>-ss position</code> | ;<code>-ss position</code> | ||
| Line 6: | Line 6: | ||
;<code>-t duration</code> | ;<code>-t duration</code> | ||
:Restrict the video to the '''<code>duration</code>''' | :Restrict the video to the '''<code>duration</code>''' | ||
[[Category: Debian GNU/Linux]] | |||
Revision as of 00:19, 25 February 2012
$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -vcodec copy -acodec copy outfile
-ss position- Seek to given time
position
-t duration- Restrict the video to the
duration