Log in

View Full Version : Precision encoding with CCE


Morad
6th March 2003, 18:50
My goal is to encode a movie using multiple discs in such a way that Change CD message pops up at a point of my choosing rather than in the middle of a scene.

DVD2SVCD has been creating my AviSynth_Script_file based on the settings I've chosen by reading the Newbie guide and I'm very happy with the results. Will frame selection enable me to start/stop encoding at specific frames?

So far I've been converting with 4-pass VBR and adjusting the minutes per disc within the Bitrate tab to get close to using the complete disc and this seems to be working okay. Is it worth using the AutoFit plugin?

3/8 Update: Thanks for your wisdom Shodan. I would have probably thought of that on my own after about 100 years :)

sh0dan
7th March 2003, 19:45
The most correct (but not the easiest).

A good way might be to encode the complete movie with two passes (this will not be the final movie, so it doesn't have to go all the way through). This encode should be as big as all the CD's put together.

Then split the movie, in parts as big as one CD.

Look through the very end of CD1, and find a good place to split.

Create an AVS-file that _only_ has this segment, by copying the original, and using the trim() command. If you want to split after frame 15000, you have to use trim(0,15000).

Copy the script again, find a new place to split at the end of CD 2, use trim to select a new range of frames for CD 2.
Remember, the math is a bit tricky. If CD 2 should end at frame 12000, and the entire CD 1 is 15500, you have to use trim(15001,12000+15500).

Now encode all segments with the final size of one CD.
You should probably pass the audio through AviSynth too - otherwise it will be very as hard to mux. Use AudioDub(WavSource("file.wav")) to add audio. Do this after the video is loaded and before using the trim.