Extract part of a video with a one-line command

From Pabut
Revision as of 11:59, 4 February 2015 by Pabut (talk | contribs) (Created page with "http://askubuntu.com/questions/59383/extract-part-of-a-video-with-a-one-line-command Original Posting on ask Ubuntu Saving here for posterity and easy access: '''mencod...")
(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