Log in

View Full Version : MP3 with riff-wav head is available?


yzj_dnv2
30th July 2003, 09:42
It's clear that *.wav(windows PCM) is available in wavsource().
I wonder if I can use mp3(with riff-wav head) in *.avs.In fact,I've test the kind of audio source(mp3 with riff-wav head) in *.avs.But it didn't work.Here is the following sentence:
AVISource("C:\Video\BDTH-YFdrG.avi")
wavsource("c:\dd.wav") dd.wav=dd.mp3 with riff-wav head
LoadPlugin("VSFilter.dll")
TextSub("C:\Video\BDTH-YFdrG.ssa")
I know we can use uncommpressed wav source,and we also can use vbr-mp3 audio source in virtualdubmod.Can we use d2v+mp3(vbr) in *.avs?And finally,use *.avs and compressed into RMVB format?:o

Wilbert
30th July 2003, 09:45
Try

LoadPlugin("VSFilter.dll")
v=AviSource("C:\Video\BDTH-YFdrG.avi")
a=WavSource("c:\dd.wav") # dd.wav=dd.mp3 with riff-wav head
Audiodub(v,a)
TextSub("C:\Video\BDTH-YFdrG.ssa")

yzj_dnv2
31st July 2003, 01:30
In fact,I've tested the following sentence:
loadplugin("D:\movie\vobsub227\vsfilter_20030711\Release\VSFilter.dll")
v1=AviSource("e:\hades8.avi")
a1=WavSource("e:\andy.wav")
Audiodub(v1,a1) #5th line
TextSub("e:\myeffect.ssa")
Last time I forgot to write the phase-audio(v1,al),but the sytax for testing is correct!It didn't work.When I was loading a avs file into one media player,the following fault did always appear:
audiodub need an audio track and a video track(e:\try.avs line 5)
The sentence started by # is an explaination?And we couldn't add these words in avs file for testing?So I haven't add these explaination in avs file for testing~But it didn't work!Maybe it's impossible for us to use vbr-mp3 audio source in avs file:o Only using virtualdubmod is possible to dub vbr-mp3 audio?:confused: