Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 5th February 2013, 13:53   #1  |  Link
LanguidLegend
Registered User
 
Join Date: Jan 2013
Posts: 10
Batch file editing using MKVToolNix

So basically what I'm trying to do is to recursively search out MKV and AVI files in a particular folder and change their apsect ratios to 16:9.

Here is the folder/files setup:
MainFolder\
MainFolder\file1.mkv
MainFolder\file2.avi
...
MainFolder\Subfolder1\
MainFolder\Subfolder1\file1.mkv
MainFolder\Subfolder1\file2.avi
...
MainFolder\Subfolder2\
MainFolder\Subfolder2\file.mkv
...

Here is what I have so far in my batch file (fixAspect.bat):
Code:
@echo off
SET mkvmerge="C:\Program Files (x86)\MKVToolNix\mkvmerge.exe"
CD [C:\...\MainFolder]
FOR /R %%I IN (*.mkv) DO (mkvmerge -v -o "%%~nI (remux).mkv" "--aspect-ratio 16/9" "%%~I")
PAUSE
However it seems to skip right down to the PAUSE line every time.. any ideas why?
LanguidLegend is offline   Reply With Quote
 

Tags
aspect ratio, batch, mkvmerge, mkvtoolnix, subfolders

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.