MakeMKV Batch Converter

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

MakeMKV Batch Converter

Post by agritton »

Since I recently decided to convert all my Video_TS and Iso Files to mkv for better Plex compatibility I decided to write an batch processing program which uses the makemkvcon.exe. It's fairly basic but seems to be working well. It's converted about 200 dvds so far and still going strong. I've made the installer available in the zip file attached. Attached is a picture of the program running. It's not the prettiest but I was going more for functionality. I would love to hear back from users on Improvements they would like to see. https://alexgritton.github.io/MakeMKVBatchConverter/
Attachments
mkvshot.PNG
mkvshot.PNG (55.71 KiB) Viewed 120960 times
Last edited by agritton on Tue Feb 14, 2017 3:50 pm, edited 9 times in total.
sbirkemose
Posts: 1
Joined: Wed May 22, 2013 11:13 am

Re: Video_TS and ISO Batch Converter

Post by sbirkemose »

That looks great. But I get an install error, "Error: Unable to locate application file 'MakeMKV Batch Converter.msi'"


This is the full log.


The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 6.1.1 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
Read string value '4.0.30319'
Setting value '4.0.30319 {string}' for property 'DotNet40Client_TargetVersion'
The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
Property: [DotNet40Client_TargetVersion] = 4.0.30319 {string}
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Client_TargetVersion' and value '4.0.30129': true
Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass'
'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck result: No Install Needed
Launching Application.
Error: Unable to locate application file 'MakeMKV Batch Converter.msi'.
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

Re: Video_TS and ISO Batch Converter

Post by agritton »

Ahh I forgot to add that to the repository. I just uploaded the .msi file. This is my first time trying to distribute any software so thank you for your patience with me.
Last edited by agritton on Mon Jul 29, 2013 1:56 am, edited 4 times in total.
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

This is GREAT.. but I have ran into a problem
I will use this to convert my (current) DVD's on HD (200) to MKV files then convert the rest of my 1000 or so DVD's (filing up 3 DVD jukeboxes).
However, when I try to use it, I get the following in the conversion console:

Converting 2 DVDs
MakeMKV v1.8.3 win(x86-release) started
Current operation: Scanning CD-ROM devices
Current action: Scanning CD-ROM devices
Use: makemkvcon [switches] Command [Parameters]

Commands:
info <source>
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
stream <source>
starts streaming server
backup <source> <destination folder>
backs up disc to a hard drive

Source specification:
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>

Switches:
-r --robot - turn on "robot" mode, see /developers
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Conversion Process Completed In: 1s
MakeMKV v1.8.3 win(x86-release) started
Current operation: Scanning CD-ROM devices
Current action: Scanning CD-ROM devices
Use: makemkvcon [switches] Command [Parameters]

Commands:
info <source>
prints info about disc
mkv <source> <title id> <destination folder>
saves a single title to mkv file
stream <source>
starts streaming server
backup <source> <destination folder>
backs up disc to a hard drive

Source specification:
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>

Switches:
-r --robot - turn on "robot" mode, see /developers
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Error Moving File. Sequence contains no elements
Conversion Process Completed In: 1s

I can convert these manually using MAKEMKV, so I know that is working. I just think something is wrong with my setup. I use Ultimate windows 7 an a 6 core AMD processor with 32GB of memory. Everything works fine, but this error message.
If you have any recommendations, I will test them. Othewise I will continue working on this myself....
Thanks for a great program!
Biospot
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

Re: Video_TS and ISO Batch Converter

Post by agritton »

This might be an issue with the detection of the file name. Whats an example of your typical file names? I appreciate the feedback and would like to get this working for you!
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter. V

Post by biospot »

Thanks for quick reply
I only use folder name. Contents are all standard output from DVD shrink.
I can convert fine with makemkv as I don't want to transcode anything
I rename the output to <tvseries S01E0X.mkv> to play on my roku boxes.
I use PLEX to organize everything.

Thanks
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

Thanks. I am now at my computer and can test/examine it better.
I notice that my conversion console says
Current Operation: Scanning CD-ROM devices
Current action: Scanning CD-ROM devices.

Your screen shot says:
Current action: Processing title sets

It shouldn't be attempting to read files from the CD-Rom drive.
What's happening?

Thanks in advance. I appreciate it
Biso
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

Re: Video_TS and ISO Batch Converter

Post by agritton »

Sorry for the delayed response. I've been away from my computer all day. I believe I have found the issue and fixed it though. When calling the makemkvcon.exe in the application if there was a space in the filename it was unable to convert it. I forgot to put the directory in quotes when running the application so if there was a filename with spaces it wouldn't recognize them. I have since fixed the issue and have updated the zip file to the proper version. It should now say version 1.0.1 when you open the application and there should be some filename output options as well. As far as the attempting to read from the CD Drive or any Drive that message is normal and it won't affect the conversion. Thanks for spending the time to debug with me. As you know the application is rough around the edges but it's worth getting it working right.
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

Hey, I appreciate like heck the fact that you are fixing this issue.

I have tried it and it is converting now.... Thank you very much.
I will report back after the 200+ on my HD is done, and I will also reply back as I do the 1000 DVD's on disk
I am very excited to see this working....

This is pretty sophisticated for ver 1.01

Thank You
Biospot
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

It is... Great.. even though I saw this a few minutes ago:..

-----------------------------------------------------------------------------------------
Problem signature:
Problem Event Name: APPCRASH
Application Name: MKV_Batch_Converter.exe
Application Version: 1.0.0.0
Application Timestamp: 51a30ca1
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18015
Fault Module Timestamp: 50b83c8a
Exception Code: e0434352
Exception Offset: 0000c41f
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

The next DVD in the que at the time it crashed was
" I was a mail war bride" (This is old Cary Grant DVD). It is black and white but has been recently remastered so it works well.
In side the Batch Temp folder, I find the I_Was_A_Male_War_Bride_t00.mkv file inside.
I did notice one thing also. The files would change colors as they were updated, but they did not say " Completed" I think they said that on the previous version as they would complete.

I will restart the batch conversion and report what it does this time.

Biospot
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

Nope I take it back. It does say "Completed" as it completes each line

what I did notice is the file in the batch temp folder? was named I_Was_A_Male_War_Bride_t00.mkv, and it looked to be completed.

All the rest of the files after being moved out to main folder are in format of "I_WAS_A_MALE_WAR_BRIDE.mkv"

It seems maybe it crashed during the move and rename of .mkv file out to main folder

It is running again, and I will (again) report how it works.

Best,
Biospot
biospot
Posts: 8
Joined: Sun May 26, 2013 5:06 pm

Re: Video_TS and ISO Batch Converter

Post by biospot »

I posted a message but apparently it didn't make it.

I had the batch executable program crash. The failure was "appcrash" and the program that crashed was "MKV_Batch_Converter.exe"

sorry I cut and pasted the failure into my previous message (that did not make it to this forum) and now I only have my memory.

I restarted it and this time It completed without any mishaps converting 130DVD's overnight

So far everything looks perfect. I will test and report anything that did not work.

I will then begin the process to re-import that 1000 DVD's I have on my jukebox's At that point, I expect to thank you every time I start this program.

Please keep up the good work,
Biospot
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

Re: Video_TS and ISO Batch Converter

Post by agritton »

Thanks for your comments, they are very useful in making this program better. I'm currently adding conversion logs to the program so if the application crashes again we can pinpoint exactly where it happened. I have no idea what the version numbers mean :) I should probably read up on them. I was just adding to the end number each time to create separation between updates.
Chetwood
Posts: 976
Joined: Mon Aug 30, 2010 9:16 am

Re: Video_TS and ISO Batch Converter

Post by Chetwood »

So what about Blu-Ray support?
MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink: DVD Shrink batch processing
Offizieller Uebersetzer von DVD Shrink deutsch
agritton
Posts: 16
Joined: Wed May 22, 2013 6:05 am

Re: Video_TS and ISO Batch Converter

Post by agritton »

I just posted a new version of the program that now supports Blu-Rays as requested. I have also added Conversion Logs to the program files application directory. It also contains a fix that prevents an application crash when certain video files were individually selected and removed.
Post Reply