WAV -> MP3 causes lag?

Locked
User avatar
Jnzk
Artsy Bastid
Joined: Tue Jan 28, 2003 5:30 pm
Location: Finland
Org Profile

Post by Jnzk » Thu Apr 22, 2004 7:30 pm

AbsoluteDestiny wrote:Helpful stuff
That sounds like it could work, I'll give it a shot. Thanks everyone for your help.

User avatar
Jnzk
Artsy Bastid
Joined: Tue Jan 28, 2003 5:30 pm
Location: Finland
Org Profile

Post by Jnzk » Fri Apr 23, 2004 5:42 pm

>_<

All right, I got to the point where the audio stream shows up in VirtualDubMod. When I try to save the WAV the program crashes on me and I'm left only with a corrupt 44 byte file. Direct stream copy/full processing mode doesn't make a difference. I can't compress directly to MP3 either. I also tried this in the normal VirtualDub, but without success.

Here's the script I'm using:

Code: Select all

startbumper = AVISource("c:\rgb huffy 24fps 1-4.avi")
startbumper = startbumper.AssumeFPS(23.976)

silence = BlankClip(startbumper, audio_rate=44100, stereo=true) 
beginning = AudioDub(startbumper, silence)

video1 = AVISource("c:\rgb huffy 24fps 2-4.avi")
video2 = AVISource("c:\rgb huffy 24fps 3-4.avi")
endbumper = AVISource("c:\rgb huffy 24fps 4-4.avi")

video_combined = (video1+video2+endbumper).AssumeFPS(23.976)
song = WAVSource("c:\original audio.wav")

actual_video = AudioDub(video_combined, song)

beginning + actual_video

User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Fri Apr 23, 2004 5:57 pm

can you make an avi with uncompressed audio and take the wav from that?

If it's a recurring issue I could put it to the avisynth as a bug - what version are you using?

User avatar
Jnzk
Artsy Bastid
Joined: Tue Jan 28, 2003 5:30 pm
Location: Finland
Org Profile

Post by Jnzk » Fri Apr 23, 2004 6:07 pm

It doesn't work that way either. The first time I tried I got this error message:

Image

I tried again but then it just crashed "normally". :)

My AviSynth version is 2.54.

User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Sat Apr 24, 2004 12:35 am

Well before we try anything else, can you get the avisynth 2.55 beta a try?

It has this bug fix

"- Fixed minor glitches in audio cache (out of range requests)"

You can download it here:

http://cultact-server.novi.dk/kpo/avisynth/avs_cvs.html

I've been using it for a month or so - it's totally safe to use.

User avatar
Jnzk
Artsy Bastid
Joined: Tue Jan 28, 2003 5:30 pm
Location: Finland
Org Profile

Post by Jnzk » Sat Apr 24, 2004 1:08 am

2.55 beta works. :)

User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Sat Apr 24, 2004 3:06 am

w00t :D

That's the one I'm distributing with the AMVapp unless 2.55 final comes out first.

Locked

Return to “Video & Audio Help”