Ever since settings up a HTPC running Win7 Media Center I have had the occasional problem playing m2ts files. ffdshow supports all of the codecs used in m2ts files but still a few files play without without either audio or video, or the playback isn’t smooth despite more than ample hardware. I have experimented extensively with both haali matroska splitter and [intlink id=“58” type=“post”]gabests mpeg splitter[/intlink] but both have their flaws.
haali doesn’t seem to correctly support HD audio formats, and whilst gabest does it has problems with some of my files — particularly those that are 1440×1080 rather than 1920×1080. Eventually I discovered the following simple work-around.
- Install both gabest and haali splitters (enabling mpeg-ts in haali).
- In the registry browse to [HKEY_CLASSES_ROOTMedia TypeExtensions]
- Make sure there is an entry for .m2ts and add an entry for .m2t
- Inside each there should be a string named “Source Filter”
- Set the source filter for each of the 2 files to the CLSIDs (see below) of each of the splitters (e.g. set m2t to haali and m2ts to gabest).
- Change the file extension of any .m2ts files that are problematic to .m2t. They will then play via the other splitter — which hopefully won’t have any problems with them!
Gabest CLSID = {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
Haali CLSID = {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
Please note — the above refers entirely to x64 codecs, splitters and players. It should work the same for x86 32bit but I haven’t tested it
—update
I am now using .m2ts and .ts to discriminate as the .m2t extension isn’t recognised by Media Center Master. .ts and .m2ts are also supposed to be interchangeable — they both represent an mpeg‑2 transport stream.
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”