mogo dev blog

 

cutting and splitting video with mencoder
23/01/2010 12:26
basically to cut and split video on linux you need to install mplayer and mencoder.

mencoder input.flv -ovc copy -oac copy -of lavf -o result.flv -ss 00:00:01.01 -endpos 00:04:04

-ovc refers the video codec ( copy, libx264, mpeg4 )
-oac refers the audio codec.
-ss starting time
-endpos ending time

mencoder can practically handle all formats like avi, mp4, flv.

check the man for more info.
mencoder can easy be installed by standard distributions.
sudo apt-get install mencoder


also ffmpeg can be used for cutting and splitting.
search blog(s)
articles comments
feed rss
  • contact