This is a Dirac patch for Mplayer svn revision 26925. Encoding and decoding of Dirac raw bytestreams are now supported in FFmpeg via the Dirac libraries and Schroedinger libraries. This patch adds support for Dirac raw bytestream playback in Mplayer. I. Installing Dirac 1. Download Dirac 0.10.0 from http://sourceforge.net/projects/dirac/ 2. Unpack the Dirac source tar xvzf dirac-0.10.0.tar.gz 3. Build and Install cd dirac-0.10.0 ./configure make make install The last step installs the Dirac share encoder and decoder libraries in /usr/local/lib (which is the default install point). II. Installing Schroedinger 1. Download and install the latest release of Schroedinger from http://diracvideo.schleef.org/download/schroedinger/schroedinger-1.0.3.tar.gz For more details on the Schroedinger project please refer to http://diracvideo.schleef.org/ III. Building MPlayer 1. Check out trunk revision 26925 svn checkout -r 26925 svn://svn.mplayerhq.hu/mplayer/trunk mplayersvn_trunk_rev_26925 2. Apply the patch cd mplayersvn_trunk_rev_26925 patch -p1 < mplayersvn_trunk_revision_26925-dirac-0.10.x.patch 3. Build and Install ./configure make make install Dirac and Schroedinger support is auto-detected. Since Schroedinger is a more optimised and efficient decoder than Dirac, it is the the default decoder to decode Dirac bytestreams if enabled. If both Dirac and Schroedinger are enabled, the following variables will be defined in config.h #define HAVE_LIBDIRAC 1 #define HAVE_LIBSCHROEDINGER 1 #define ENABLE_LIBDIRAC_DECODER 0 #define CONFIG_LIBSCHROEDINGER_DECODER 1 #define ENABLE_LIBSCHROEDINGER_DECODER 1 #define CONFIG_LIBDIRAC_ENCODER 1 #define ENABLE_LIBDIRAC_ENCODER 1 #define CONFIG_LIBSCHROEDINGER_ENCODER 1 #define ENABLE_LIBSCHROEDINGER_ENCODER 1 #define CONFIG_DIRAC_PARSER 1 #define ENABLE_DIRAC_PARSER 1 #define CONFIG_DIRAC_DEMUXER 1 #define ENABLE_DIRAC_DEMUXER 1 #define CONFIG_DIRAC_MUXER 1 #define ENABLE_DIRAC_MUXER 1 #define CONFIG_LIBDIRAC 1 #define CONFIG_LIBSCHROEDINGER 1