well, I'm new to use MEGUI + avisynth
this is the AVS script i use
video=AVISource("C:\Users\Squall0833\Desktop\01.av i")++AVISource("C:\Users\Squall0833\Desktop\02.avi ")
audio=WAVSource("C:\Users\Squall0833\Desktop\01.av i")++WAVSource("C:\Users\Squall0833\Desktop\02.avi ")
AudioDub(video,audio)
both of the avi 01 and 02 have audio, I'm going to join them together into 1, included audio, it seems the result I got is a joined avi video with no audio
my MEGUI doesn't read and encode the audio from the videos and join them, because I start the job by clicking the "Enqueue" at video section only, audio section remain empty(cos It doesnt have option to join audio files)
so, i was trying to do the audio job with avisynth, it seems it still doesn't do audio job for me , only encodes video.
I'm new to this, don't really know if there's other way to do that.
can anyone teach me?
+ Reply to Thread
Results 1 to 8 of 8
-
-
WAVSource() is for demultiplexed PCM wav source (yours is embedded in the AVI stream) , that's why it's not "picking up" the audio
AVISource already has audio=true by default (i.e. it passes through the audio embedded in the AVI file)
vid1=AVISource("C:\Users\Squall0833\Desktop\01.avi ")
vid2=AVISource("C:\Users\Squall0833\Desktop\02.avi ")
vid1++vid2
That script specifies both audio & video. So you can use the same script for both the video encoding section, and the audio encoding section
You can preview your .avs scripts in a media player (e.g. MPCHC, or MPC) , to make sure they seem ok before encoding (if there is an error you would just waste time encoding) -
-
What type of audio in the AVI stream? use mediainfo . Do you have an ACM audio decoder for it?
If you type info() at the end of the script , does it report that audio is being passed through?
You could also use another source filter , like ffms2, which runs independent of system installed codecs -
lame mp3
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 15mn 34s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Stream size : 14.3 MiB (14%)
Alignment : Aligned on interleaves
Interleave, duration : 922 ms (22.11 video frames)
Interleave, preload duration : 208 ms
Title : AVSEQ02
Writing library : LAME3.98r
Encoding settings : -m j -V 4 -q 2 -lowpass 17 -b 128
tried to play the avs on mpchc, it's fine, It's exactly what I wanted,
the reason should be MEGUI doesn't process audio stream for me -
If that .avs file previews in mpchc correctly, it should work
Is there a log file or error message?
What audio encoding settings did you use? Did they have matching settings (e.g. 2-ch audio, and you used a 2-ch profile?)
If you don't want to re-encode the audio (lose quality) , and just want to join them, you could use direct stream copy in vdub to append the videos, then demux the joined audio stream . I think mp3 directcut may be able to join without re-encoding too -
virtualdub doesnt support xvid?
I'll try simple way, take out the mp3 audio from both avi and join them into a single mp3 file,
then just mux it into the complete avi file
thanks for the helpLast edited by squall0833; 11th Jul 2010 at 09:34.
Similar Threads
-
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
How to join AVI files with multiple audio streams
By V@no in forum Newbie / General discussionsReplies: 2Last Post: 29th May 2010, 22:17 -
Convert a DVD to an avi,mkv using Avisynth Scripts and VDubMod or MeGUI
By ppeterr in forum DVD RippingReplies: 6Last Post: 25th Apr 2010, 05:04 -
how do I join multiple avi files with multiple audio tracks?
By helloguys in forum EditingReplies: 1Last Post: 26th Dec 2007, 02:28 -
Using Submerge to Join avi Files to srt Files: Problems with Export
By TiggyWink in forum MacReplies: 1Last Post: 26th Jun 2007, 08:16