Scintilla wrote:1) If you're muxing in already-encoded MP3 audio with VirtualDubMod, your AVISynth script should have no effect on the audio.
2) Here's one thing you can try:
When you're muxing the MP3 in with VirtualDubMod, go to the Streams list, right-click on the MP3 stream, and select "Interleaving...". Then, under "Audio skew correction", input the desired value for "Delay audio track by" (in milliseconds).
I've never tried this before myself, and I have no idea if it actually works, so what I personally would recommend to do is add the two seconds of silence to your audio file first, BEFORE you compress it to MP3 and mux it (any audio editing program can do this).


Kero777 wrote:Thanks for all of the replies! There are many ways to do this, it seems. I chose Glory Questor's way, but I ran into a huge problem: The audio doesn't play in Winamp Or Windows Media Player. It does play in Windows Media Player CLASSIC and in VLC player though. Is there a reason for this? *Scratches head*
If there is a script I can use to add in audio with Avisynth, then I might be able to do it. Does anyone know how? I know I will get that yucky clicking noise otherwise.I'm going to be playing around with this for a bit. Any more replies will help me out a lot. Thanks.
video = BlankClip(60).BilinearResize(848,480)
audio = WAVSource("mute.wav")#.SSRC(48000,fast=false)
AudioDub(video,audio).AssumeFPS(29.97,sync_audio=true).SSRC(48000,fast=false)video = AVISource("whatever.avi")
audio = WAVSource("whatever.wav")
AudioDub(video,audio)Import("blankclip.avs") ++ Import("mainvideo.avs")Qyot27 wrote:E) the script may throw an error saying the audio can't be resampled. The commented-out additional resampling on the audio line is to correct that if it happens. On a rare occasion you may have to raise that one's new sample rate to something non-standard like 50000 or something.
Qyot27 wrote:Qyot27 wrote:E) the script may throw an error saying the audio can't be resampled. The commented-out additional resampling on the audio line is to correct that if it happens. On a rare occasion you may have to raise that one's new sample rate to something non-standard like 50000 or something.
Gah, I forgot to say that if that indeed happens, you'll need to delete the pound sign, since that keeps the additional resample operation from working.
Users browsing this forum: No registered users and 2 guests