Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

... #2

Open
refriedfood opened this issue Sep 17, 2018 · 2 comments
Open

... #2

refriedfood opened this issue Sep 17, 2018 · 2 comments

Comments

@refriedfood
Copy link

refriedfood commented Sep 17, 2018

This only works if you A) have those parameters in your options file, and B) if the file you're trying to batch is MKV already. If you want to batch an entire directory from say, .ts to .mkv. This simply doesn't do that.

This would actually work better:
for %%A IN (*.ts) do ( D:\path\to\MKVToolNix\mkvmerge.exe -o ".\out\%%~nA.mkv" "%%~A") pause
Inside a batch (.bat) file and put into the directory you're converting the files to. *.ts can be any video format mkvmerge accepts, i.e. *.mp4 - then baddaboom-badda-bing, all your new mkv's are in the out directory.

@Barbait
Copy link

Barbait commented Dec 30, 2018

Could you implement that?

@Serede
Copy link
Owner

Serede commented Dec 31, 2018

For the time being, replacing the extension in the script doesn't seem that much of a hassle to me.

The first generalizing solution that comes to mind is passing the list of files as arguments to the script, so that you can use glob patterns from batch or powershell.

I might give it a look whenever I have the time. Meanwhile, pull requests are appreciated 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants