Page 1 of 1

cmd line for batch audio+video processing

Posted: 17 Aug 2012 16:12
by netskink
Hello

I want to build a sequence of vlc commands to take fraps videos, concatenate them, compress them and add audio.

So far I have this process but I don't know how to transform it into the command lines.

--------
@echo off
rem combine the input files into one resultant file.
set file1=part1.avi
set file2=part2.avi
set file2=part3.avi
vlc %file1% %file2% %file3% --sout "#gather:std{access=file,mux=avi,dst=out.avi}" --sout-keep

rem Fix the indexes with the combined file. Actually this command from the forums does not work for me
rem keeping it here for notes. I have to convert/save from gui to get this to work.
rem How do you get the resultant dialog to auto click yes, fix index?
Unfortunately this part does not seem to work. The index will still be broken. What am I missing? It does work if I use the gui to convert/save fix index though.
vlc out.avi --sout out2.avi
----------

Once I have the video working I create the audio soundtrack and then use the gui to add the sound track to the video. I would love to get the command line for this step.