MKV to M2TS conversion script

The PlayStation 3 can’t play MKV files. Therefore I’ve written a script that creates a PlayStation 3 compatible M2TS from a MKV, assuming video is H.264 and audio is AC3 or DTS with as little re-encoding as possible. Any subtitles in the MKV are preserved in the M2TS although the PS3 can’t display subtitles in M2TS containers. Optionally splits the M2TS, if it is greater than 4GB, to maintain FAT32 compatibility. Unlike other MKV to M2TS solutions, this script doesn’t create any intermediate files during the conversion.

The PS3 can’t play DTS audio streams in M2TS containers, therefore DTS audio is transcoded to AC3.

This script works on Ubuntu Linux, should work on any other Linux/Unix flavour and possibly Mac OS X providing you have the required tools installed.

Comments

Comments powered by Disqus
Flattr this