自从设置了 HTPC 运行Win7的媒体中心我有偶尔的问题,玩M2TS文件. ffdshow的支持所有在M2TS文件使用的编解码器,但还是有一些文件,而没有发挥音频或视频, 或播放不流畅,尽管比充足的硬件更. 我有两个广泛试验 Haali的Matroska的分配器 and [intlink id=“58” type=“post”]gabests MPEG分离器[/intlink] 但都有自己的缺陷.
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)…”