Cut Video with FFmpeg

Here is a quick command that you can use to cut a piece of video with FFMPEG.

ffmpeg -sameq -ss [start_seconds] /
-t [duration_seconds] -i [input_file] [outputfile]

Explanation

-ss position

Seek to given time position in seconds. “hh:mm:ss[.xxx]” syntax is also supported.

-t duration

Set the recording time in seconds. “hh:mm:ss[.xxx]” syntax is also supported.

-i filename

input filename

-sameq

Use same video quality as source (implies VBR).

More Information

I have more information about video formats and codecs, ripping home video from a DVD, a story board sketching, and more on my Digital Video page.

 
video/cut_video_with_ffmpeg.txt · Last modified: 2011/10/09 07:46 by Joel Dare
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki