Rockaria
11th December 2005, 04:13
2) DSP functions. You need define a new function, then click in New and fill the fields:
Name: ssrc 5.1 48000 #or something like this to remember the function used
AVS Script: #type or copy from here:
a = last
b = GetChannel(a, 1, 2).SSRC(48000)
c = GetChannel(a, 3, 4).SSRC(48000)
d = GetChannel(a, 5, 6).SSRC(48000)
MergeChannels(b, c, d)
Load Plugins: #not needed, all AviSynth internal plugins
...
AVS Script: 6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
...
In DSP you can use the internal function 'Normalize to 100%' (after the 'ssrc 5.1 48000', use up/down buttons).
If the above user function(precisely speaking, the codeblock is better be placed in a user function which returns a processed audio clip, especially when used with the (future virsion of) BeHappy) is not for downmix but for resampling, you can simply use vClip.SSRC(48000) or ResampleAudio(48000). The former is expected higher quality.
If the clip reference is omitted, the 'last' defined clip is pointed as the global variable last.
Any plugins installed in the avisynth's plugin directory need not be loaded explicitly also.
The channel remapping mentioned above is for oggenc(2) to be played on winamp, foobar, ffdshow enabled players. I am not sure if it is same to ac3 encoder(ffmpeg) though.
But the point I want to mention here is you can simply use GetChannel(1,3,2,5,6,4) if you are sure the source contains 6ch.
The default Normalize() is preferred if you want a max-no-clipping-scanning.
If you have any Replaygain dB value from foobar2k or any tools, the Amplify(..) function is preferred of course.
The azidts is said using intervideo decoder dsfilter which is not free. So you may want to use the NicDts plugin for dts or ffdshow for dtswav to be streamed to avisynth->6ch wav->wavewizard-> surecode dts/ softencode ac3. If you want the ac3 encoding with limited encoding options, the BeHappy(NicDts->ffmpeg) seems to be the economic way.
Name: ssrc 5.1 48000 #or something like this to remember the function used
AVS Script: #type or copy from here:
a = last
b = GetChannel(a, 1, 2).SSRC(48000)
c = GetChannel(a, 3, 4).SSRC(48000)
d = GetChannel(a, 5, 6).SSRC(48000)
MergeChannels(b, c, d)
Load Plugins: #not needed, all AviSynth internal plugins
...
AVS Script: 6==Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
...
In DSP you can use the internal function 'Normalize to 100%' (after the 'ssrc 5.1 48000', use up/down buttons).
If the above user function(precisely speaking, the codeblock is better be placed in a user function which returns a processed audio clip, especially when used with the (future virsion of) BeHappy) is not for downmix but for resampling, you can simply use vClip.SSRC(48000) or ResampleAudio(48000). The former is expected higher quality.
If the clip reference is omitted, the 'last' defined clip is pointed as the global variable last.
Any plugins installed in the avisynth's plugin directory need not be loaded explicitly also.
The channel remapping mentioned above is for oggenc(2) to be played on winamp, foobar, ffdshow enabled players. I am not sure if it is same to ac3 encoder(ffmpeg) though.
But the point I want to mention here is you can simply use GetChannel(1,3,2,5,6,4) if you are sure the source contains 6ch.
The default Normalize() is preferred if you want a max-no-clipping-scanning.
If you have any Replaygain dB value from foobar2k or any tools, the Amplify(..) function is preferred of course.
The azidts is said using intervideo decoder dsfilter which is not free. So you may want to use the NicDts plugin for dts or ffdshow for dtswav to be streamed to avisynth->6ch wav->wavewizard-> surecode dts/ softencode ac3. If you want the ac3 encoding with limited encoding options, the BeHappy(NicDts->ffmpeg) seems to be the economic way.