Log in

View Full Version : How to resample unsing cammandline? (wavi/NeroAAC)


jonnysun
30th March 2008, 05:16
Hi, I'm using this commandline

wavi.exe "input.avs" - | neroAacEnc.exe -lc -q 0.34 -if - -of "output.m4a"

but when the input comes to non-48000Hz, sometime PSP will just not support. Is there anyway I can use command line to resample to 48000Hz?

Thanks.

smok3
30th March 2008, 07:27
one option is allready in avisynth;
ResampleAudio(48000)

another would be piping to something like sox (or ssrc) between wavi and nero (but i wasn't able to make this to work...)

http://rarewares.org/others.php
(Shibatch sampling rate converter or maybe WaveFS44 sampling rate converter)

jonnysun
30th March 2008, 09:47
AVS will work for me, thank you.

tebasuna51
30th March 2008, 10:18
You can use also, (from AviSynth doc):

SSRC (int samplerate, bool "fast")

"SSRC Shibata Sample Rate Converter is a resampler. Audio is always converted to float. This filter will result in better audio quality than ResampleAudio.
It uses SSRC by Naoki Shibata, which offers the best resample quality available."