View Full Version : Batch convert AVI to MKV?
delusion_
16th June 2004, 03:29
I have a directory of 100+ AVI files, which are all the same aspect ratio (4:3), encoded using DiVX 5 video and ABR MP3 audio.. and I would like to "mass convert" them all to MKV. Is there such a utility to do this? Thanks in advance.
Atamido
17th June 2004, 00:56
Not that I know of, but you could make a small batch file for mkvmerge that would let you do something like "convert *.avi *.mkv"
pixolex
17th June 2004, 10:55
Originally posted by delusion_
I have a directory of 100+ AVI files, which are all the same aspect ratio (4:3), encoded using DiVX 5 video and ABR MP3 audio.. and I would like to "mass convert" them all to MKV. Is there such a utility to do this? Thanks in advance.
You can use MKVtoolnix...there are a job list
you can just drag and drop to the input file box one file and add a job to the queue...
Just need to do this
Ctrl+n (to reset) -> drag and dropt the file -> press add to job queue -> Ctrl+n (to reset) -> drag and dropt the file -> press add to job queue ......in the end start the job list and have a biiiiiiiiiiiiiiiig Hard Disk
Mosu
20th June 2004, 10:28
Originally posted by pixolex
You can use MKVtoolnix...there are a job list
It's way easier to do it on the command line. Example:
FOR %I IN (*.avi) DO mkvmerge -o %I.mkv %I
If you want more control get a better shell ;) (like cygwin's bash)
spyder
21st June 2004, 17:29
or use Perl ;)
Mosu
21st June 2004, 17:36
Originally posted by spyder
or use Perl ;)
;)
foreach (<*.avi>) {
$cmd = "mkvmerge $_ -o ";
s/\.avi$/.mkv/;
$cmd .= $_;
system($cmd);
}
gotaserena
23rd June 2004, 19:45
Are there any such tricks for wmv/asf -> mkv conversion?
ssjkakaroto
23rd June 2004, 23:13
@delusion:
try batchenc by speek (http://members.home.nl/w.speek/batchenc.htm)
this is the command line i use:
"D:\AudioVideo\matroska\mkvtoolnix\mkvmerge.exe" -o <outfile.mkv> <infile>
Mosu
24th June 2004, 08:15
Originally posted by gotaserena
Are there any such tricks for wmv/asf -> mkv conversion?
I don't think so because neither mkvmerge nor AVIMux GUI can read wmv/asf files. The only way I know of getting those into Matroska is using the DirectShow muxer (which implies using graphedit).
gotaserena
24th June 2004, 16:51
Originally posted by Mosu
The only way I know of getting those into Matroska is using the DirectShow muxer
Is there any way of adapting a tool like asf2mkv to do the job? I'm not sure how the patents for the asf/wmv containers go, but maybe it's legal to distribute sources...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.