PDA

View Full Version : divx->dvdr...where does avisynth come into play? per the guide...


hummus19
14th September 2003, 03:17
ok, moving along....

where in the process of divx->dvdr (http://www.doom9.org/mpg/avi2dvdr.htm) does AviSynth come into play? there is a rather larg part of the guide devoted to telling you how to create *.avs file for cce, but when it links to cce (http://www.doom9.org/mpg/cce-advanced.htm#encoding) it says nothing about it again. if you scroll up to the top it talks about avisynth, but only as creating a frameserver for your "dvd2avi" files? (isnt this the OPPOSITE of what im doing?) feel like im running in circles here....with such a LARGE part of the guide devoted to Aspect ratios and telling you how to setup avisynth to take care of em, it looks to me like it kinda drops the ball in finishing the explanation. im more than likely wrong, so feel free to clarify this :) thanks!!!

|minister
14th September 2003, 04:42
in the second link you provide (http://www.doom9.org/mpg/cce-advanced.htm#encoding) just ignore the first two steps and start with the third one. i.e. load your avs file into CCE and encode.

When that's done return to the Divx 2 Avi guide and follow step four.

hummus19
14th September 2003, 05:50
im about to take my darn dvd player and use it for target practice.
as near as i can tell, this is what i need done:resize the video during encoding and i should have all the working parts for a dvd.

alittle background:
every cce encoded m2v ive made gets "illegal picture for dvd" error in maestro, spruceup....etc. so, my dimensions are wrong! so....

i created an avs file with this:
AviSource("D:\movie.avi")
BicubicResize(720,352)
AddBorders(0,64,0,64)
ResampleAudio(44100)

i got this resizing information from the divx-dvdr guide since gspot says the x:y is 1:1.9 (so i used the 1:1.85 info that was provided)

if i open cce then "add" movie.avs....make all the option changes and so forth, then ENCODE....it encodes my movie.avs, NOT the movie.avi! for like a grand total of 0.04 seconds. PLEASE, someone tell me what the hell im doin here. ive ruined most of my weekend staring crosseyed at the monitor!

manono
14th September 2003, 10:37
Hi-

If you're using an up-to-date version of AviSynth (up to 2.52 now), then that:

ResampleAudio(44100)

line no longer works. Try:

AddAudio()

instead. Also, if using CCE 2.50, since it doesn't support YV12, you have to add this line to the .avs:

ConvertToYUY2()

Also, it is encoding the .avi. The .avs feeds the .avi frames into CCE as they are needed (sort of). And if I were you, I'd be using FitCD (http://mitglied.lycos.de/fitcd/) to get proper Resize and AddBorders.

jggimi
14th September 2003, 16:19
AddAudio() requires that an AddAudio function also be added to the AviSynth environment (per the AddAudio documentation at www.avisynth.org). I could not figure out how to make that work.

The circumvention I use is to replace:

# FOOL CCEnc
ResampleAudio(44100)

with:

# FOOL CCEnc
empty = BlankClip()
AudioDub(last,empty)

Len0x mentioned to me that this will be in the Gknot scripts at patch level 0.28.5.3.

hummus19
14th September 2003, 18:19
ok, i couldnt get cce to do anything with my avs, so i started VirtualDub, resized the video the way i wanted avisynth to have been, turned off audio, and dtarted framserver. i then opened cce, loaded the frameserver file, setup the options per the divx->dvdr guide.

its about 60% done now, but im worried about the frames....Frames Encoded in CCE is about 15,000 less than Frames Served in VIrtual Dub....and growing. will it catch up or work itself out at the end?