Difference between revisions of "Extract part of a video with a one-line command"

From Pabut
Jump to navigation Jump to search
(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...")
 
 
Line 1: Line 1:
[[http://askubuntu.com/questions/59383/extract-part-of-a-video-with-a-one-line-command Original Posting on ask Ubuntu]]
+
[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:
 
Saving here for posterity and easy access:
  
  '''mencoder''' -ss 00:30:00 -endpos 00:00:05 -oac copy -ovc copy '''originalfile''' -o '''newfile'''
+
  [http://pabut.org/wiki/html/mplayer.html 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'''
 
This says: Start at 30 seconds in and for a length of 5 seconds create '''newfile''' from '''originalfile''' in the same format as '''originalfile'''

Latest revision as of 12:02, 4 February 2015

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