How to cut videos from the command line in Ubuntu 12.10 and later (Mint 14 and later)

avconv -i DP4U12.ogv -vcodec copy -acodec copy -ss 00:00:00 -t 00:04:20 DP4U12_complete.ogv

The above command preserves the same format of the input file, where:

DP4U12.ogv is the input file

DP4U12_complete.ogv is the output file

The command cuts the video from the beginning till 4 minutes 20 seconds.

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , , , , , . Bookmark the permalink.

Leave a Reply

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

You are commenting using your 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