M2ts to mkv

Raqeeb Ahmed

Junior Member
May 20, 2018
4
0
1
Hi guys

I have a huge stash of movies in m2ts. Currently they have many different audio and subtitle options in different languages and they are big files like 40gb.

I want to convert them to mkv but everytime i do i lose the audio and subtitle options using winx hd.

What i am looking for is a converter (paid or free doesnt matter) that can convert my m2ts to mkv while retaining the audio and subtitle options. I dont really care if the size of the file goes down or stays the same as long as i dont lose video quality.

Can someone help me pls
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,422
4,199
75
Handbrake. Of course.

Features include:
  • Audio Encoders: AAC / HE-AAC, MP3, Flac, AC3, or Vorbis
  • Audio Pass-thru: AC-3, E-AC3, DTS, DTS-HD, TrueHD, AAC and MP3 tracks
  • Batch Scan and Queueing of encodes
  • Subtitles (VobSub, Closed Captions CEA-608, SSA, SRT)
Edit:
I dont really care if the size of the file goes down or stays the same as long as i dont lose video quality.
Any re-encoding will lose video quality. You may need to re-encode, though, to play your video on your preferred device, depending on what that is.
 
  • Like
Reactions: Christine Bollinger

Raqeeb Ahmed

Junior Member
May 20, 2018
4
0
1
Hi mate thank for replying

In regards to the subtitle they are currently not separate. They are in the m2ts file of my videos all i have to do is select the subtitles i want via my remote or vlc and i get them. Same with audio

Can i do the same using handbrake and if so how? Is there a guide available?
 

ElFenix

Elite Member
Super Moderator
Mar 20, 2000
102,370
8,494
126
don't use handbrake - all you need is a container change, not a recoding. use tsMuxeR.
 

ElFenix

Elite Member
Super Moderator
Mar 20, 2000
102,370
8,494
126
m2ts and mkv are just containers for audio, video, and subtitle files. you can take the files out of the containers (that process is called demultiplexing, or demux for short) and put them into different containers (multiplexing ("mux") or remultiplexing ("remux")). doing so doesn't touch the encoded files themselves so no quality loss. it's also pretty fast. that's what tsmuxer does.

handbrake takes the compressed files out of the container and, essentially, plays them and recompresses them. that recompression is computationally expensive (read: it takes a while) and can lose quality.
 
  • Like
Reactions: PliotronX

Raqeeb Ahmed

Junior Member
May 20, 2018
4
0
1
Thanks alot dude really helpfull i appreciate it. I have around 1300 hd movies. About 200 are in m2ts but using my current nas to transcode using plex is beyond my nas drives capability. Mkvs my nas and media players can handle no problem. Essentially its saves me £1000's by not buy a new more powerful nas
 

PliotronX

Diamond Member
Oct 17, 1999
8,883
107
106
Handbrake. Of course.

Features include:
  • Audio Encoders: AAC / HE-AAC, MP3, Flac, AC3, or Vorbis
  • Audio Pass-thru: AC-3, E-AC3, DTS, DTS-HD, TrueHD, AAC and MP3 tracks
  • Batch Scan and Queueing of encodes
  • Subtitles (VobSub, Closed Captions CEA-608, SSA, SRT)
Edit:
Any re-encoding will lose video quality. You may need to re-encode, though, to play your video on your preferred device, depending on what that is.
I love handbrake but bear in mind because Fraunhofer had the team pull the FDK-AAC codec, the AQ is garbage in stock HB (even in high bitrate/low complexity) . You have to compile your own DLL in linux to bring the codec back.
 

jkauff

Senior member
Oct 4, 2012
583
13
81
MKVToolnix is also an excellent program for putting M2TS content into an MKV container. Unfortunately, it does not have a batch mode.