Log in

View Full Version : AudioDub an Mp3 VBR to a video ...


FMaz
15th September 2003, 05:30
This script contain an error, well, virtualdub load this script without error, but when I press Play (input or output) it crash, it also crash if I try to 'Save as avi...'

Any idea how to solve this problem ?

-Video = Xvid video without sound.
-Audio = MP3 VBR soundtrack.


BTW, is the DelayAudio is ok or should it be -0.091 ?

Thank's


LoadPlugin("C:\Program Files\AviSynth2\AviSynth 2.5\plugins\mpasource.dll")

a=mpasource("E:\DVD RIP\CurDta\A_MAN_APART\vts_01_([0x81]_Audio_Français_AC3(2Ch)_48kHz___)_Delay_-91ms.mp3")
a=DelayAudio(a,0.091)

v=avisource("E:\DVD RIP\CurDta\A_MAN_APART\Pass2.avi")

AudioDub(a,v)

stickboy
15th September 2003, 06:15
Originally posted by FMaz
AudioDub(a,v)That should be AudioDub(v, a).

yzj_dnv2
15th September 2003, 06:15
BTW, is the DelayAudio is ok or should it be -0.091 ?
You are right!just use -0.091~;)You also can use the following scripts:
v=avisource("xxxxxxx.avi")
a=delayaudio(mpasource("xxxx.mp3"),-0.091)
audiodub(v,a):p

FMaz
15th September 2003, 15:08
ok, I changed the audiodub for (v,a) and I added a '-' to the delay but it still make virtual dub crash ...

:\


Current Code:

LoadPlugin("C:\Program Files\AviSynth2\AviSynth 2.5\plugins\mpasource.dll")

a=mpasource("E:\DVD RIP\CurDta\A_MAN_APART\vts_01_([0x81]_Audio_Français_AC3(2Ch)_48kHz___)_Delay_-91ms.mp3")
a=DelayAudio(a,-0.091)

v=avisource("E:\DVD RIP\CurDta\A_MAN_APART\Pass2.avi")

AudioDub(v,a)

yzj_dnv2
16th September 2003, 01:16
ok, I changed the audiodub for (v,a) and I added a '-' to the delay but it still make virtual dub crash ...
It's probable that virtualdub doesn't have good compatibility with avs file.So you can use virtualdubmod,sure to use the lastest version!It's compatible with avs file!Good luck~

FMaz
16th September 2003, 06:28
hum.. I'll check this ... but I don't know why, I hate vdub mod .. probably because of is interface ... well, I'll learn to like it I belive ...

Thank's for the tip..

FMaz
16th September 2003, 15:28
Still giving a major error...

If I use Open it will load without error until I press Play (the application crash)

If I user Open Avisynth ... if just crash right after I click the Open button...

:angry: :angry: :angry:

yzj_dnv2
17th September 2003, 01:18
Originally posted by FMaz
Still giving a major error...

If I use Open it will load without error until I press Play (the application crash)

If I user Open Avisynth ... if just crash right after I click the Open button...

:angry: :angry: :angry:
Sorry,I have never met this case.I'm a novice too.But my virtualdubmod is good at loading avs file.It's probable that some faults are hidden in your file.Maybe your audio(MP3)is broken?So you can try:
avisource("E:\DVD RIP\CurDta\A_MAN_APART\Pass2.avi")
If the script above is OK!Then add related scripts;)
Maybe this(A_MAN_APART\vts_01_([0x81]_Audio_Français_AC3(2Ch)_48kHz___)_Delay_-91ms.mp3) is too long name?Change the name with number and alphabet is much better;)
I also recommand you to use VirtualDubMod 1.4.13.2.

FMaz
17th September 2003, 07:00
Ok, Thank's, I hope it is the file name, because the audio file is fully readable under Winamp, and the video in Everything I have tested...