Hi,
I need to programatically join a couple avi files together with a script.
The way I am doing it now is by using a jobs script and passing it to the command line virtualdubmod. This produces an error saying that "The audio streams have different sampling rates".
However, in the virtualdubmod gui, if I append the same files, it all works out groovy.
Is there something I need to add to the jobs script? Maybe I could use an avisynth script?
Thanks
+ Reply to Thread
Results 1 to 2 of 2
-
-
In Avisynth you can try something like:
Code:AVISource("video1.avi") ++AVISource("video2.avi").SSRC(48000,false)
SSRC doesn't work for all rates, but when it does it's the best method.
Otherwise you can use ResampleAudio(48000) which works in all cases.
Then you can open the AVS in VirtualDub and save to a new AVI.
This will reencode all the video though.
If you want to avoid that you would have to directstreamcopy the video and filter the audio.
Similar Threads
-
Avisynth Script Help - Trimming and Joining
By Legiit in forum EditingReplies: 1Last Post: 1st Mar 2012, 12:30 -
joining avi files
By dugen in forum MacReplies: 1Last Post: 11th Jun 2011, 12:47 -
Need help in making script file for Virtualdubmod
By snafubaby in forum Newbie / General discussionsReplies: 3Last Post: 11th Apr 2011, 12:45 -
Audio missing when opening an Avisynth script in WMP & VirtualDubMOD
By aln688 in forum Video ConversionReplies: 3Last Post: 2nd Apr 2010, 05:09 -
Joining avi files?
By t_jay17 in forum EditingReplies: 5Last Post: 18th Dec 2007, 12:22