I've been reading the help file for VDubMod and I'm trying to create a batch script to make my life easier but I just can't figure it out even if my life depended on it...
All I need to do is take a video file (e.g.: video.avi) and replace the audio with a new audio that I have.
I'm going to start off with video.avi and newaudio.mp3 in the same folder and I want the batch file to replace audio.mp3 in video.avi with newaudio.mp3. I hope this makes sense
It should direct stream copy both the new audio and the video.
It sounds simple but I really can't figure this out. I normally do it manually within the program itself but this time I have 78 videos to replace audio for and it gets frustrating when you have to do that many the manual way.![]()
If anyone can help me out, thanks a bunch.
+ Reply to Thread
Results 1 to 2 of 2
-
-
btw, here is what I have in the .vcf file I wrote:
Code:VirtualDub.Open("video.avi"); VirtualDub.stream[0].SetSource("newaudio.mp3"); VirtualDub.stream[0].SetMode(0); VirtualDub.video.SetMode(0); VirtualDub.SaveAVI("newvideo.avi"); VirtualDub.Close();
P.S.: The audio is VBR MP3 (just in case that matters... and I have a feeling it does because whenever I do it the manual way VDubMod always asks me about it)
Similar Threads
-
MKVExtract and MyMP4Box batch script
By mkr10001 in forum Video ConversionReplies: 18Last Post: 14th Mar 2012, 11:31 -
AviDemux batch script
By jakhazell in forum Newbie / General discussionsReplies: 5Last Post: 21st Aug 2011, 21:16 -
How to write randomizer script in DVDMaestro
By GomezOptions in forum Authoring (DVD)Replies: 5Last Post: 20th Aug 2011, 00:15 -
Standalone app to write SSA script?
By David_UK in forum SubtitleReplies: 3Last Post: 29th Mar 2009, 10:32 -
Maybe Off Topic but how do you write a script/subtitle?
By Han Solo1 in forum SubtitleReplies: 1Last Post: 4th Mar 2009, 10:18