MKV To MP4 Converter

Anas_Ayub13

Member
Banned User
May 2, 2022
59
12
8
Can you guys suggest to me how to convert Mkv files to mp4, without losing quality? I have dual audio in my Mkv files and want to keep them both in mp4 as well, your help would be much appreciated. Thanks In advance.
 

maximx86

Member
Jun 14, 2019
57
24
18
Using ffmpeg

single file:
Code:
ffmpeg -i media.mkv -c copy media.mp4

scans all subfolders and creates mp4 files in the parent folder:
Code:
for /R %a in (*.mkv) DO ffmpeg -i "%a" -c copy "%~na.mp4"

...alternatively Handbrake
 

Anas_Ayub13

Member
Banned User
May 2, 2022
59
12
8
Using ffmpeg

single file:
Code:
ffmpeg -i media.mkv -c copy media.mp4

scans all subfolders and creates mp4 files in the parent folder:
Code:
for /R %a in (*.mkv) DO ffmpeg -i "%a" -c copy "%~na.mp4"

...alternatively Handbrake
Using handbrake it makes a file double of its size.
 

ukgamer

Well-known member
Trusted Uploader
Mar 7, 2019
2,061
1,145
113
EmbedWorld Movie API
embedworld.xyz
Using handbrake it makes a file double of its size.
Yes that’s normal , same as with ffmpeg

nothing you can do about that , you can compress the size but it loses quality

I prefer ffmpeg over handbreak , the ffmpeg code above will work with most browsers but I would add sc threshold, hide banner, scale for 720p or 1080p preset for the speed , but remember the faster you go the bigger the file will be and the lower quality , libx to make it play on all browsers

you mite want to try -c:a aac for dual audio

check ffmpeg site for all the commands
 
  • Like
Reactions: maximx86

ukgamer

Well-known member
Trusted Uploader
Mar 7, 2019
2,061
1,145
113
EmbedWorld Movie API
embedworld.xyz
Using ffmpeg is the fastest way... as it does NOT re-encode the video. It only changes the container from mkv to mp4 and keeps the original file size.
I didn't know that, I'll try.
Doing it this way you run the risk of it not playing in all browsers or on mobile phones

you don’t need ffmpeg to do this just change .mkv to .mp4 on the file and see if it plays 🙂

but becos 1 files plays don’t mean they will will so it’s best to encode from the start
 
Last edited:

ukgamer

Well-known member
Trusted Uploader
Mar 7, 2019
2,061
1,145
113
EmbedWorld Movie API
embedworld.xyz
All I need is my file to play dual audio, cant find a reliable source.
Ffmpeg will copy both audio and video map paths , as long as the dual audio is on the file already then it will work

you have to play around with ffmpeg to see what works best

personal I use around 15 different presets to get the right speed , quality, file size, plus to make it play on all browsers
 
  • Like
Reactions: DatDudeUpStairs

Forum statistics

Threads
70,045
Messages
915,169
Members
245,111
Latest member
rayzah

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu