Log in

View Full Version : Is cutting video possible using Avisynth?


pwnsweet
8th May 2011, 02:56
Hi,

I'm fairly new to using Avisynth. The only exposure I have to it is through the program MeGUI while I use that program to encode Blu-ray movies to mp4 files.

To reduce the file sizes of my encodes further, I'd like to cut off the credits and possibly the intro (company logos etc). I've discovered and used the 'AVS cutter' tool that resides within MeGUI but it's not exactly user friendly.

Is there a better GUI frontend for Avisynth files that does the same thing?

manono
8th May 2011, 03:21
Using AviSynth for this will force a reencode of the remaining video. You probably don't want that.

To make the video the size you want, better would be to use the right bitrate to begin with.

pwnsweet
8th May 2011, 03:44
I'd like to cut off the credits and intros before the encode if possible.

Inspector.Gadget
8th May 2011, 04:11
You can do this during the indexing step with any of Donald Graft's tools by using the left and right bracket marks. As a bonus, you don't need to cut on keyframes because the index/Avisynth treats all frames as independent, and the tools will automatically trim your demuxed audio to match. The only caveat here is that cutting out stuff in the middle of a clip requires that you make two indexes, one for each segment on either side (though leaving the middle and cutting off both ends, as with intros and credits, can be done with a single index).

Temuthril
8th May 2011, 11:12
http://avisynth.org/mediawiki/Trim

For example:
Trim(0,500)++Trim(2500,7500)++Trim(10000,0)

Would give you frames 0-500, 2500-7500 and from 10000 to the end of the video.

I'd suggest AvsP for this. You can preview the video frame by frame and see the frame numbers.