ffmpeg: cutting your video via command line

Notes from here

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).

Cut unnecessary scene for your kids :

eg : to cut video at scene : time: 41.20 .00 to 43.30.00

sample command : [will be update]

Advertisement



    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s



Follow

Get every new post delivered to your Inbox.