All AVI and WAV files have same names in one folder. Using Machete, Virtualdub I can merge/mux/multiplex them one by one.
Because each file is 3gb it takes 5-6 minutes for one file. I have more than 100 files. How can i automate this? Which program can do this for me? I only need merge/mux option, nothing else.
+ Reply to Thread
Results 1 to 19 of 19
-
-
You can use ffmpeg.
Download ffmpeg( http://ffmpeg.zeranoe.com/builds/win32/static/ and choose a recent build). Put the ffmpeg.exe in same folder as your files.
Open notepad and put the following text
and save as it batch.bat. Be sure to select save as and choose all files under save as type.Code:for %%a in ("*.avi") do ffmpeg -i "%%~na.wav" -i "%%~na.avi" -acodec copy -vcodec copy "newfiles\%%~na.avi" pause
Create a folder newfiles in same folder as your avi files.
Double click on the batch.bat
You will see if you get any errors.
Try first with a just one avi and wav file in a folder and see how it works.
edit: I have made a detailed ffmpeg batch guide also: https://forum.videohelp.com/threads/356314-How-to-batch-convert-and-multiplex-any-files-with-ffmpegLast edited by Baldrick; 29th May 2013 at 03:25.
-
-
-
Thanks very much. It worked without any problem. I was looking for such a solution to automate it. Thanks again.
Now i need to convert all of these AVI files to any format. These are more than 300 gb broadcast files. Its too much 300 gb.
How can i convert these files to divx or mwv automatically? Can you help me again please? -
You could also convert directly in fffmpeg. But it's easier to use a gui-application with batch convert support like xmedia recode, video to video converter, etc.
But give more details about the source files(use mediainfo, open avi, view->text and copy everything) and how much you would like to compress them. -
You don't need to run the bat file from a command prompt. just run the .bat file.
Put the bat file and ffmpeg in the "Newfolder" and double click the bat file.
if would be better if the newfile folder was not in the newfolder. Then you could put a copy of the bat file and ffmpeg in any folder with avi and wav and run it.Code:for %%a in ("*.avi") do ffmpeg -i "%%~na.wav" -i "%%~na.avi" -acodec copy -vcodec copy "C:\newfolder\newfiles\%%~na.avi"
Code:for %%a in ("*.avi") do ffmpeg -i "%%~na.wav" -i "%%~na.avi" -acodec copy -vcodec copy "C:\newfiles\%%~na.avi" -
-
Here is the file info. I have enough space, good quality is fine for me.
General
Complete name : D:\biten\00002013-02-23.avi
Format : AVI
Format/Info : Audio Video Interleave
Commercial name : DVCPRO
Format profile : OpenDML
File size : 3.17 GiB
Duration : 14mn 58s
Overall bit rate mode : Constant
Overall bit rate : 30.3 Mbps
Writing application : Lavf55.7.100
Video
ID : 0
Format : DV
Commercial name : DVCPRO
Codec ID : dvsd
Codec ID/Hint : Sony
Duration : 14mn 58s
Bit rate mode : Constant
Bit rate : 24.4 Mbps
Encoded bit rate : 28.8 Mbps
Width : 720 pixels
Height : 576 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 25.000 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Bottom Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 2.357
Time code of first frame : 00:00:00:00
Time code source : Subcode time code
Stream size : 3.01 GiB (95%)
Audio
ID : 1
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 14mn 58s
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 164 MiB (5%)
Alignment : Aligned on interleaves
Interleave, duration : 21 ms (0.53 video frame) -
-
-
-
-
-
Just add pause
like
Code:for %%a in ("*.avi") do c:\ffmpeg\ffmpeg -i "%%~na.wav" -i "%%~na.avi" -acodec copy -vcodec copy "C:\newfiles\%%~na.avi" pause
Similar Threads
-
Need Help Changing the Default Audio Stream for Hundreds of MKV Files
By ballsoup in forum AudioReplies: 11Last Post: 19th Apr 2016, 16:53 -
How to merge avi files?
By mkvelidadon in forum Newbie / General discussionsReplies: 3Last Post: 26th Sep 2011, 03:25 -
How to merge wav files ?
By Benjy in forum AudioReplies: 7Last Post: 31st Jul 2010, 05:41 -
merge two avi files
By Jorge in forum Video ConversionReplies: 4Last Post: 17th Feb 2010, 23:01 -
merge avi and wav
By zootedlooter in forum EditingReplies: 2Last Post: 21st Dec 2008, 14:11


Quote


