PDA

View Full Version : Merge audio command?


aking80
22nd December 2007, 18:29
Hi guys, I want to add an MP3 audio file into an AVI video file while I encode it from the VOB (DGIndex strips all audio when making the project file for some reason). I did this in VDub by adding in the Streams List and then encoding, but I want to move on to megui now but that has no streaming list option from what I can see.

What/Is there a command that I can just add into my avisynth script to hardcode the audio like I do with TextSub and subtitles?

Sorry bout this, still very new to avs :(

Comatose
23rd December 2007, 14:41
http://avisynth.org/mediawiki/AudioDub

tebasuna51
23rd December 2007, 17:59
Wrong thread, try in Megui.
AviSynth functions like AudioDub only work with uncompressed audio and one single audiotrack, not comparable to 'Stream list' in VirtualDubMod intended to mux one, or more, compressed audio tracks with the video stream.

foxyshadis
23rd December 2007, 19:42
This is really more of a megui question so I'll move it.

You can insert audio with things like NicAC3Source, WavSource, ffmpegsource, and so on. It won't get automatically encoded with the movie, though, you still have to load the script into the audio (or the audio file itself), then use the muxers menu to combine them. The main reason you'd use the script for both is if you use trims/fades/transitions so that you could keep them in sync. Remember to respect the delay.

You can just mux it into the final encode with megui's muxers and save the trouble & quality hit of re-encoding, also.

aking80
24th December 2007, 05:15
Thanks guys, the avi muxer sufficed for what I wanted to do... I never even knew it was there since I use mkvmerge for h264 and never use Xvid anymore :P

Sorry about misplacing my thread in the wrong forum.