View Full Version : Why convert m2ts to mkv?


sanjeevnuts
07-07-09, 01:15 PM
A very newbie question.
Why convert m2ts to mkv for play thru say popcorn a-110?

- I created a Batman .iso using anydvd (First and only rip so far)
- Mounted the iso using deamon tools
- copied the largest m2ts file out to a usb drive (I think it was the 7th file)
- played with popcorn a-110

I could even select all 5 audio streams by selecting from the remote (Including TruHD).
So why would I go thru the exercise to convert to mkv?

Is it because mkv files are compressed and use less storage?

CRT Dude
07-07-09, 05:13 PM
Mkv has less overhead than m2ts so a 1:1 copy would be a little smaller.

diogen
07-07-09, 07:56 PM
Is it because mkv files are compressed and use less storage?Most of the time.

Nobody bothers to change the container when ripping the BD as-is.
MKV usually means all but one audio stream is dumped and the video re-encoded so the resulting movie fits a SL or DL DVD (4.37GB or 8GB).

sanjeevnuts
07-08-09, 05:11 PM
Most of the time.

Nobody bothers to change the container when ripping the BD as-is.
MKV usually means all but one audio stream is dumped and the video re-encoded so the resulting movie fits a SL or DL DVD (4.37GB or 8GB).


Buth re-encoding to fit a DVD defies the purpose of backing up the BD doesn't it? You lose 1080p and you lose the fancy audio.

Why would one spend big bucks to buy a BD disk only to rip and encode to 480p - presume that is what you gonna get when you shrink it down to a dvd.

CRT Dude
07-09-09, 07:19 AM
1080P DTS fits well enough on a DL DVD. Its hard to send 50GB "backups" to your hundreds of "friends" across the world.

sanjeevnuts
07-09-09, 10:27 AM
1080P DTS fits well enough on a DL DVD. Its hard to send 50GB "backups" to your hundreds of "friends" across the world.


That I did not know. 1080P and DTS 5.1 can go on a DL DVD?
Can someone confirm this?

LOL My backups are for myself, not "friends".

CRT Dude
07-10-09, 02:48 PM
Pull up your favorite torrent tracker site and search for a movie in 1080P. You'll get a bunch of ~8GB mkvs unless its long movie which are usually ~12GBs(DVD9+DVD5).

Killer Rabbit
07-13-09, 09:06 PM
The question of re-encoding the video/audio stream is beside the point. .m2ts and .mkv are both containers; they have no bearing on the amount of compression used. An mkv could be a crappy 1 GB re-encode of a Blu-ray, or a 50 GB complete rip of a Blu-ray.

That being said, I believe an m2ts taken from a Blu-ray or AVCHD disk is going to be a bit bigger than an mkv with the same contents, because the m2ts contains extra file structure information that you don't need. Additionally, as diogen pointed out, when repacking an m2ts into an mkv, people usually remove any audio streams they don't want. There's no point in keeping a French dub of an American film if you can't speak French (although, AFAIK, most studios don't really include foreign tracks as much anymore).

But the biggest consideration is the software or hardware you're using to watch the movies on.

If you plan on watching the rips using software like XBMC, VLC, etc., you should be fine either way.

If you plan on using PowerDVD, or another Blu-ray player software, you should stick to m2ts.

If, as you mentioned, you use a stand-alone device like a Popcorn Hour or a Western Digital player, you'll probably have better compatibility with the mkv container.

ChrisW6ATV
07-14-09, 12:46 AM
Buth re-encoding to fit a DVD defies the purpose of backing up the BD doesn't it? You lose 1080p and you lose the fancy audio.
You are entirely correct.

The issue is, probably 99.99% of Blu-ray-to-MKV "backups" are really just ripped off copies of rented or borrowed movies, or done by people who actually will buy them but then make copies to share on the Internet.

taz291819
07-14-09, 11:45 AM
When you change the container and get rid of stuff you don't want, you can save a few GBs of space. Plus, not all software can play the subtitles straight from an m2ts, nor change audio streams.

For my media server, I convert the m2ts to mkv, pick the audio stream and subtitle if necessary, and usually end up saving a few GBs per movie. That adds over of time.

Rigby Reardon
07-19-09, 09:09 AM
I think Matroska is simply a more flexible and compatible format. It's also easier to handle than m2ts files thanks to the MKVToolnix utilities. Also, MKV supports chapters which M2TS doesn't.

I currently use it to archive part of my HD-DVD collection on the HTPC (of course without reencoding the video). Works well for those too.

diogen
07-20-09, 10:18 PM
I think Matroska is simply a more flexible and compatible format. It's also easier to handle than m2ts files thanks to the MKVToolnix utilities. Also, MKV supports chapters which M2TS doesn't.There is (at least) one advantage M2TS has: Windows 7 plays it (when DRM free) out of the box...
For MKV you need Haali installed.

Mummyscurse
07-24-09, 06:16 AM
My own experience has been that reencoding formats employing the splendid H264 technology do effectively shrink the file sizes ofterribly large .m2ts movie files. With as much as 50gb of storage capacity to play with, on a dual layer Blu-ray disc, there's no need for the video disc producers to work at keeping file sizes down, nor should they.

Like several others here, whether it's a case of using Popcorn Hour's hard drive video streaming interface, or any of the growing number of streaming media boxes that plug into HDTV's, or external hard drive storage played through a HTPC, storage space quickly becomes, in fact, a critical concern, if you see yourself as a "movie collector". On our 1080p 65" HDTV, my 66 year old eyes find little to discern, qualitatively, between 1080p pictures and 720p pictures, converted with H264, at a somewhat lower bitrate, as well as the lower 720p screen resolution (same framerate). That quality tradeoff is one I'm willing to make, to cut a 20gb movie to perhaps 5gb's, for the sake of extending my hard drives' storage capacity!

I am having one huge problem, however. None of the commercial, "one click" reencoding programs seem to offer a feature that enables you to select the audio track among those several which may be offered in the .m2ts video file. The reencoding programs default the selection to the first of the audio tracks, which may or may not be the English track, or may be the track which has Director's comments, if available. Does anyone here know of an .m2ts capable reencoding program, which can reencode to .mkv, and which ALLOWS SELECTION OF THE AUDIO TRACK WANTED?

Xylon
07-24-09, 09:42 AM
heh :)

"re-encodes" :D

Just buy a bigger hard drive. Less than 10 cents a gig nowadays.

Mummyscurse
07-24-09, 11:11 AM
Uhhh, yes, "re-encodes". What was there in my query that suggested I was a newbie clown, incapable of doing the math, and that I had not already purchased several 1tb SATA drives, at less than "10 cents a gig nowadays"? I suppose your simplistic, all-too-obvious reply was well intentioned, but it does NOTHING to address my basic question, concerning what I consider to be a consistent shortcoming in the commercially available, Hi-Def video conversion engines.

My collection of films now numbers in excess of 5,000 titles, all on DVD's, of which I'd like to transfer as many as 1,500 to hard drives, for the sake of immediacy and enormous cataloging convenience. Even at less that "less than "10 cents a gig", it adds up fast! More to the point, when you fail to see much difference, on screen, between 1080p and carefully encoded 720p material, my question is why pay for hard drive space, and storage racks, that you need not employ, and where does the space come from to rack mount those extra 8 - 10 SATA drives?

It should not be THAT difficult for one software designer to detect the multiple tracks that many of the main movie .m2ts files contain, and offer a selection among those tracks for the conversion. They seem quite content to take your $30 to $40, only for the customer to learn after the fact that as much as 25% of the time, you're going to get the Director's comments, or even stranger, on US releases, a German or French track, for the program's default, first track selection. After an eight hour reencode, it's no fun to run the file in your player and hear "Wie geht es ihnen..." as the first audio you hear!

I've had little success learning to use the complexities of the various freeware GUI's that are designed to help walk the user through the use of the Haali Splitter, tsMuxeR, etc., so I keep coming back to the "one click" approach... yes, this is one case where I like things "dumbed down" for me. So, again I ask if anyone here is aware of a program that allows the user to select from among the audio tracks in .m2ts videos? If not, should it be that difficult for some software designer to include that feature? It seems like a stunning omission to me... lazy software design...

taz291819
07-24-09, 12:17 PM
I'm against re-encodes, and when I convert m2ts to mkv, it's NOT a re-encode, as the video is not touched. What I do is merely leave some "options" out, like audio tracks and various subtitles, and change the container.

Mummyscurse
07-24-09, 01:53 PM
That's fine; I certainly respect that point of view. If I had unlimited financial resources, such as the bankers, oil companies, and pharmaceutical manufacturers paying off Congress, I'd probably feel differently about the sacrilege of diminishing video quality to save on drive space. But, I have a LOT of movies to archive, and can't afford the luxury of buying many, many more hard drives in order to do it.

And, I still insist... I can't SEE enough of a qualitative difference between 1080p and 720p to agonize over my choice. This thread started as a question about converting from m2ts to mkv, my favorite H264 conversion format, so I doubt that I'm the only one who makes this choice... and then gets hit with the audio track issue. Any solutions, any programs that enable this choice?

taz291819
07-24-09, 04:02 PM
That's fine; I certainly respect that point of view. If I had unlimited financial resources, such as the bankers, oil companies, and pharmaceutical manufacturers paying off Congress, I'd probably feel differently about the sacrilege of diminishing video quality to save on drive space. But, I have a LOT of movies to archive, and can't afford the luxury of buying many, many more hard drives in order to do it.

And, I still insist... I can't SEE enough of a qualitative difference between 1080p and 720p to agonize over my choice. This thread started as a question about converting from m2ts to mkv, my favorite H264 conversion format, so I doubt that I'm the only one who makes this choice... and then gets hit with the audio track issue. Any solutions, any programs that enable this choice?

Use "eac3to" to demux the m2ts (it lists what audio track is what, and makes the video track a MKV file). It can also transcode audio if you want, to dts, ac3, FLAC.

Transcode your video to 720p H.264.

Mux the final video and audio via MKVMerge.

saraQ
08-18-09, 11:40 PM
Thanks to all

Mummyscurse
08-19-09, 05:24 AM
Use "eac3to" to demux the m2ts (it lists what audio track is what, and makes the video track a MKV file). It can also transcode audio if you want, to dts, ac3, FLAC.

Transcode your video to 720p H.264.

Mux the final video and audio via MKVMerge.
...whew, that sounds so straightforward and east to follow, to those who have figured out all the settings, and now understand the methodologies! But, I still prefer the well laid out, easy-to-use, "one click" graphic interfaces fronting the few major conversion engines commercially available. And, in my quest to solve this riddle of the missing audio track choices, I think I've found a winner. I don't have anything to gain by promoting one particular company's product, but so far, so good, with AVS Video Converter 6, available at AVS4U.com (http://www.avs4you.com/index.aspx). When you click the "Advanced" button, among the features in the drop down window is the heretofore missing Audio "Track" selection feature... per this company screen capture. It's a fast conversion engine, and has a "Pause" feature, also missing from most of the competing software. It's been exactly what I was looking in vain for. Only one problem... this puppy ain't cheap, at $59!

http://www.avs4you.com/pics/screenshots/big/VideoConverter6_4.png

Bozster
10-21-09, 12:35 AM
My primary reason is because MKV can hold FLAC, m2ts can't.

taz291819
10-21-09, 11:05 AM
...whew, that sounds so straightforward and east to follow, to those who have figured out all the settings, and now understand the methodologies! But, I still prefer the well laid out, easy-to-use, "one click" graphic interfaces fronting the few major conversion engines commercially available. And, in my quest to solve this riddle of the missing audio track choices, I think I've found a winner. I don't have anything to gain by promoting one particular company's product, but so far, so good, with AVS Video Converter 6, available at

According to the specs of that software, it can read mkv, but cannot write/create a mkv, which is what this thread is about. Also don't see FLAC support listed either:

http://onlinehelp.avs4you.com/AVS-Video-Converter6/Features/Converting/ConversionTips/SupportedFormats.aspx

I'll stick to the free software. Typing one line in CMD is worth saving $60.

stead2120
11-15-09, 02:44 PM
Before using my HTPC, I used to stream .m2ts wirelessly via PS3 Media Server. I would run into trouble wirelessly steaming MKV files, but M2TS files would work much better than MKV files for me. But now since I have a dedicated computer, I can run wither MVK or m2ts wirelessly with not issues at all.