Cut media files using ffmpeg: Difference between revisions

From Notes to self
Jump to navigation Jump to search
Created page with "<pre>$ ffmpeg -vcodec copy -acodec copy -ss hh:mm:ss -t hh:mm:ss -i infile outfile</pre> ;<code>-ss position</code> :Seek to given time <code>position</code> ;<code>-t durat..."
 
No edit summary
Line 2: Line 2:


;<code>-ss position</code>
;<code>-ss position</code>
:Seek to given time <code>position</code>
:Seek to given time '''<code>position</code>'''


;<code>-t duration</code>
;<code>-t duration</code>
:Restrict the video to the '''<code>duration</code>'''
:Restrict the video to the '''<code>duration</code>'''

Revision as of 23:47, 24 February 2012

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