Log in

View Full Version : AVI2SVCD ver. 1.2.1 build 3 Always adds Resample Audio on AviSynth Script...


edguit@r
12th October 2003, 15:13
No matter I checked (or not) the option "Add ResampleAudio" on frameserver tab, AVI2SVCD ver. 1.2.1 build 3 Always adds the following code on avisynth script:


Import("G:\Encoding\Video\ResampleAudio.avs")
ResampleAudio(44100)


I using CCE 2.66.01.07/EclCCE.
Tested only converting Avi to SVCD.

I'll installed 1.2.1 b3 over 1.2.1 b2.

Is this a bug or I'm doing something wrong?

DDogg
12th October 2003, 15:42
This is just a workaround for a bug in earlier versions of cce and will not effect anything in your encode or audio so there is no need to switch versions. However, afaik it should not be there if you unchecked resample audio in the frameserver tab so it may be a potential bug, albeit a harmless one.

edguit@r
12th October 2003, 15:48
Ok.

Tried with another avi and works now. No ResampleAudio added to avs script. Maybe the project restored came with this option checked and I forgot to uncheck it.

chipvideo
13th October 2003, 01:01
Does the resample audio actually happen even if I have Do not convert audio in the audio options? The only reason why I checked the resample audio under the frameserver dialog box was because of me having athlon chips.

DDogg
13th October 2003, 12:36
Just for the record on this very confusing subject (IIRC), the resample audio checkbox in the frameserver tab has absolutely nothing to do with the audio of your encode.

CCE 2.5, running on older AMD processors, could not do the initial load of an avs file without crashing. The resample audio statement "fakes" audio in such a way as to make cce 2.50 think real audio is there for the initial load of the avs file. After that first load and the subsequent saving of the ecl file, it is generally not needed anymore.

However there were some reports (again, IIRC), which I personally think were incorrect, that insisted it should be left in the avs script for the full encode rather that just the first initial load. The resampleaudio checkbox just tells d2s whether to leave the statement in for the full encode or to only use it for the initial ecl creation sequence where it always must be present to workaround an old bug with CCE 2.5 and certain AMD processors.

In other words, the resample audio statement will always be in your script for the first loading and creation of the ecl file. After the initial ecl file is created, the resampleaudio statement will be either left in or removed depending on whether resampleaudio is checked in the frameserver tab.

The thing to do is to do a one time test on a short chapter with it on and with it off. After that you should know whether you need to ever use it again. AFAIK, it is harmless and I don't think it causes any loss of speed, so people should not really care anyway.