[MPlayer-dev-eng] [patch] Support EAC3 in MKV container

Andrew de Quincey adq_dvb at lidskialf.net
Mon Jan 26 03:25:58 CET 2009


Quoting Andrew de Quincey <adq_dvb at lidskialf.net>:

> Hi, I've just tried muxing an EAC3 track into an MKV using  
> mvktoolsnix  2.4.1. It muxed it ok, but mplayer rejects it with an  
> unknown codec  "A_EAC3". The support for this codec was added to  
> mkvtoolsnix on  2007-03-02  (see   
> http://www.bunkus.org/videotools/mkvtoolnix/doc/ChangeLog).
>
> The attached patch adds support for new "EAC3" stream type in the  
> mkv  container. Note: I originally tried simply setting it to the  
> mplayer  standard AC3 a_formattag 0x2000, but this does not work, so  
> I have  used the EAC3 fourcc instead.
>
> Unfortunately the channel ordering is /definitely/ screwed (all   
> dialogue is coming from the rear left + front right speakers); I'll   
> investigate this issue later by comparing with a player under windows.

I've now figured out the channel ordering issue; the old missing  
support in libmpcodec/ad_ffmpeg.c problem. Updated patch attached!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eac3-in-mkv-2.patch
Type: text/x-patch
Size: 2198 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090126/1db098dc/attachment.bin>


More information about the MPlayer-dev-eng mailing list