fifer55
15th August 2007, 20:24
Hey everyone,
i have found many threads here to encode uncompressed audio to AC3, but nothing really on doing it the other way around.
basically what i am doing is creating a *.avs script that joins a QT file with a *.vob. i have successfully merged and outputted a video file, but having more trouble with the audio file.
source audio for QT is uncompressed 48Khz and for *.vob is *.ac3 48Khz (192Kbps-stereo).
so far, my *.avs script look like this:
-------------------
LoadVFAPIPlugin("C:\\QTReader\\QTReader.vfp", "QTReader")
movie0 = QTReader("V:\Mike test\ColorBars_AVSynth.mov")
movie0= movie0.AssumeFPS(29.97)
movie0 = movie0.FlipVertical().ConvertAudioTo24bit().ConvertToRGB24().Lanczos4Resize(720,480)
movie1=directshowsource("V:\Mike test\VIDEO_TS\VTS_01_2.VOB") + directshowsource("V:\Mike test\VIDEO_TS\VTS_01_3.VOB").ConvertAudioTo24bit()
movie1= movie1.ConvertToRGB24().Lanczos4Resize(720,480)
all=movie0 ++ movie1
return all
----------------------
i do understand that i can convert the audio using BeSweet to *.wav, but i was wondering if there a way to do it in *.avs.
any help would be greatly appreciated!
i have found many threads here to encode uncompressed audio to AC3, but nothing really on doing it the other way around.
basically what i am doing is creating a *.avs script that joins a QT file with a *.vob. i have successfully merged and outputted a video file, but having more trouble with the audio file.
source audio for QT is uncompressed 48Khz and for *.vob is *.ac3 48Khz (192Kbps-stereo).
so far, my *.avs script look like this:
-------------------
LoadVFAPIPlugin("C:\\QTReader\\QTReader.vfp", "QTReader")
movie0 = QTReader("V:\Mike test\ColorBars_AVSynth.mov")
movie0= movie0.AssumeFPS(29.97)
movie0 = movie0.FlipVertical().ConvertAudioTo24bit().ConvertToRGB24().Lanczos4Resize(720,480)
movie1=directshowsource("V:\Mike test\VIDEO_TS\VTS_01_2.VOB") + directshowsource("V:\Mike test\VIDEO_TS\VTS_01_3.VOB").ConvertAudioTo24bit()
movie1= movie1.ConvertToRGB24().Lanczos4Resize(720,480)
all=movie0 ++ movie1
return all
----------------------
i do understand that i can convert the audio using BeSweet to *.wav, but i was wondering if there a way to do it in *.avs.
any help would be greatly appreciated!