sure but what @elupus means is that on line 210 (below) you're instantiating CDVDVideoCodecLibMpeg2 which is software-decoding (only) and which is going to bring your android box to its knees as soon as you try to play back MPEG2 that is HD or higher. If you say you can play back 1080p, that (probably) means you are playing h.264 content. HD MPEG2 content is rare but exists. That's where you need HW decoding, and channeling ALL MPEG2 to CDVDVideoCodecLibMpeg2 is a bad idea.