MPlayer, Matroska and you

2009-08-17 11:49 This issue was fixed a few hours ago. I have bumped MPlayer in our tree to SVN rev. 29532

I bumped MPlayer tonight. Aside from a new VDPAU option and some miscellaneous fixes, the most important news item is that this bump most likely will be built for you by GCC 4.4, at least if you’re up to date. This is going to break playback support of files that use the Matroska container format (these files tend to use the .mkv file extension). The relevant bug in MPlayer’s Bugzilla is Bug #1467. This bug is present in all versions of MPlayer in ::media, including those I removed tonight. There are a couple of ways to work around it:

  • Use -demuxer lavf. The bug is in the libmpdemux Matroska demuxer so you can use the one from libavformat
  • Build MPlayer with the new debug-option. The bug disappears when you enable debugging support (yay!)
  • Build MPlayer with an older compiler. GCC 4.3 is known to work

It is possible this bug won’t affect you if your system is amd64.
You can grab a sample Matroska file if you want or need to test.