Extract part of a video with a one-line command

From Pabut
Revision as of 12:02, 4 February 2015 by Pabut (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Original Posting on ask Ubuntu

Saving here for posterity and easy access:

mencoder -ss 00:30:00 -endpos 00:00:05 -oac copy -ovc copy originalfile -o newfile

This says: Start at 30 seconds in and for a length of 5 seconds create newfile from originalfile in the same format as originalfile