PDA

View Full Version : Converting part of a movie using MeGui?


Shibboleth
16th January 2007, 06:33
I've copied 'The Animatrix' episodes off my DVD set. However, each 'episode' has about 5 minutes of movie and between 10-20 minutes of credits.

Is there any way to encode only certain frames (ie 1-6000) using MeGui?

Alternatively, what's the best method to trim the resulting mp4 file? I've had a quick attempt with YAMB, but it didn't seem to work, and documentation seems non-existant.

Thanks for any help! :D

Skelsgard
16th January 2007, 07:10
With the Trim() option in your Avisynth script you can select the segment to encode.
For example: Trim(0,125) will give you 126 frames, from frame 0 (first frame) up to the frame 125.
A simple script like this one allows you to select several "passages" in the movie and concatenates them into one video stream.
a=AVISource("video.avi").Trim(0,99) #read frames 1 to 100 from video.avi
b=AVISource("video.avi").Trim(199,299) #read frames 200 to 300 from video.avi
c=AVISource("video.avi").Trim(399,499) #read frames 400 to 500 from video.avi
d=a+b+c # joins the different segments
return d # establishes d as the output

Cheers

Donīt ask whatīs best :readrule:

Cheers.

Shibboleth
17th January 2007, 00:30
Many thanks.

'Best' was, of course, in the view of the responder....:rolleyes: