VideoHelp Forum
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 33 of 33
Thread
  1. Member
    Join Date
    Feb 2007
    Location
    Australia
    Search Comp PM
    Originally Posted by electronicsguy View Post
    Originally Posted by stehow View Post
    If you want a quick way of batch processing all MKV files in a directory, setting the MKV title to the filename, then install mkvtoolnix and then create a batch script such as:

    echo ***** Starting MKVtitle *****
    for %%m in (*.mkv) do (
    echo Changing %%m Title to "%%~nm"
    "C:\Program Files (x86)\MKVToolNix\mkvpropedit" "%%m" -e info -s title="%%~nm"
    echo -----
    )
    echo ***** Finished *****
    How to make this script apply to contents of subfolders as well?
    Last edited by nathan323; 23rd Sep 2016 at 21:56. Reason: grammar
    Quote Quote  
  2. Originally Posted by nathan323 View Post
    Originally Posted by electronicsguy View Post
    Originally Posted by stehow View Post
    If you want a quick way of batch processing all MKV files in a directory, setting the MKV title to the filename, then install mkvtoolnix and then create a batch script such as:

    echo ***** Starting MKVtitle *****
    for %%m in (*.mkv) do (
    echo Changing %%m Title to "%%~nm"
    "C:\Program Files (x86)\MKVToolNix\mkvpropedit" "%%m" -e info -s title="%%~nm"
    echo -----
    )
    echo ***** Finished *****
    How to make this script apply to contents of subfolders as well?
    I think the syntax mentioned here should work: DOS-FOR-LOOP

    Code:
    for /r %%m in (*.mkv) do
    Quote Quote  
  3. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    Originally Posted by stehow View Post
    If you want a quick way of batch processing all MKV files in a directory, setting the MKV title to the filename, then install mkvtoolnix and then create a batch script such as:

    echo ***** Starting MKVtitle *****
    for %%m in (*.mkv) do (
    echo Changing %%m Title to "%%~nm"
    "C:\Program Files\MKVToolNix\mkvpropedit" "%%m" -e info -s title="%%~nm"
    echo -----
    )
    echo ***** Finished *****
    This works wonderfully! But I would also love to have it find the total bitrate of both audio and video, and what parameters would I need to specify in the batch file to update those , so they will be accurate?

    I transcoded some 1080p files to 720p, and now the bitrate is shown from the original versions instead of what they really are now.

    I can't find any docs on either MKVToolNix or MKVPROPEDIT.

    Thanks.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!