Batch convert mkv to mp4
Year
2025
Category
Doodles
This is a simple workflow to convert .mkv into .mp4 files using FFmpeg.
It works with a script you drag and drop your mkv onto.
HOW IT WORKS
The script first attempts a remux by changing its container, so the data remains the exact same inside.
If remuxing fails (in case of codec incompatibility) it instead transcodes the video.
/!\ Transcoding is like re-rendering the video though, so it can add another layer of compression to a pre-existing one.
PREREQUISITES
Make sure FFmpeg is installed (the script will let you know if you don't have it)
To install it easily :
> Press WIN + R
> Type winget install ffmpeg
I didn't include it in the script for safety and clarity purposes, so you still get to do it the way you want.
HOW TO USE THE SCRIPT
> Copypaste the following code in your notepad and save it as a .bat file
> Drag and drop any .mkv file onto it to convert them.
Enjoy!

