[Ilugc] .a-tip-a-day. (mencoder tip - pick out a portion from a video)

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Tue Nov 3 06:13:15 2009

$ mencoder -oac copy -ovc copy foo.mpg -o out.mpg -ss 00:02:00 -endpos 560

will dump the video contained in foo.mpg from 2 minutes of starting
and continue till
560 seconds is consumed. Which is 9 minutes and 20 seconds.

When you record videos and want only the relevant portion this can help.

I shall talk about other advanced tricks like combining videos with
mencoder later.

It takes care of frame boundaries correctly. I think there are 3 types
of frames in MPEG.

B frame, I frame and P frame.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts:

  • » [Ilugc] .a-tip-a-day. (mencoder tip - pick out a portion from a video) - Girish Venkatachalam