Combining audio and video using avs

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Douggie
CHEESECAKE!
Joined: Sun Mar 19, 2006 5:14 am
Contact:
Org Profile

Combining audio and video using avs

Post by Douggie » Tue Feb 13, 2007 4:20 am

I have ripped a DVD and used DGindex to create a d2v file and an ac3 file. I converted the AC3 file in BeSweet to WAV. Now I did a little searching and and found the command AudioDub to combine them:

Code: Select all

v = mpeg2source("c:\videofile.d2v")
a = WAVSource("c:\audiofile.wav")
AudioDub(v,a)
This will combine perfectly when playing the file using VirtualDubMod. Premiere Pro 2.0, however, doesn't play any sound at all. Any suggestions on how to fix or alternative way (using AVS, because I could just make one big AVI-file any other way)?

Thanks in advance!

User avatar
Purge
Joined: Mon Oct 10, 2005 9:18 am
Location: Under Aus
Org Profile

Post by Purge » Tue Feb 13, 2007 4:45 am

I dont know whats wong but maybe you could just import the vid and audio into premiere and combine the audio and video in a seperate sequence. However you cant use in and out points and other features in the clip monitor.

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Post by Scintilla » Tue Feb 13, 2007 7:06 am

Purge wrote:I dont know whats wong but maybe you could just import the vid and audio into premiere and combine the audio and video in a seperate sequence. However you cant use in and out points and other features in the clip monitor.
Uh, yes you can. Drag the separate sequence into the source monitor and then manipulate it like you would any other source clip.

At least, that's how it works in Premiere Pro 1.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
SQ
Doesn't have a title
Joined: Fri Nov 08, 2002 8:11 pm
Status: youtube.com/SQ
Location: Upstate NY
Contact:
Org Profile

Post by SQ » Mon Feb 19, 2007 11:25 pm

Ironically I'm doing the same thing today and using the same exact stuff. XD

Your way WILL play audio in PP2. You just need to wait for PP2 to conform the file. You're playing it too fast.

When you import your file, there's a little progress bar int he lower right-hand corner that should say "conforming file (whatever).avs" or something similar. Wait until this is done.

Then your audio will play in sync, and all will be good. ;P
Discord: @standardquip (Vars)
BentoVid.com

User avatar
Douggie
CHEESECAKE!
Joined: Sun Mar 19, 2006 5:14 am
Contact:
Org Profile

Post by Douggie » Wed Feb 21, 2007 4:13 pm

Thanks people for helping me out, I was a bit busy, but have now time to reply. SQ is right, I just had to wait. I did some restarting and stuff and wondered why it wasn't playing correctly, but now it does.

On a sidenote, seems like we are all spoiled editing with music on the background. I now remember again that editing with sound is a pain in the ass (I especially keep forgetting that I have to change the audio layer too when changing video layer when I drag or paste stuff around). Eventually I always have to replace stuff with sound effects found on sound effect CDs.

Locked

Return to “AviSynth Help”