Cut media files using ffmpeg: Difference between revisions

From Notes to self
Jump to navigation Jump to search
m Verbovet moved page Cut media files using ffmpeg to Cut media files using avconv without leaving a redirect
No edit summary
Line 1: Line 1:
<pre>$ avconv -ss hh:mm:ss -t hh:mm:ss -i infile -codec copy outfile</pre>
<pre>$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -codec copy outfile</pre>


;<code>-ss position</code>
;<code>-ss position</code>

Revision as of 14:14, 20 May 2020

$ ffmpeg -ss hh:mm:ss -t hh:mm:ss -i infile -codec copy outfile
-ss position
Seek to given time position
-t duration
Restrict the video to the duration