The University of Queensland Homepage
UQ VisLab UQ VisLab

 mplayer for SAGE based OptIPortal

SAGE-enabled mplayer


Available from this page is the source code of a recent (November 2008) svn checkout of mplayer, patched so that it may be used in the SAGE display environment. The patch set itself will also be available separately. This version of mplayer has been tested locally in Rocks-4.3 and Slackware-12.1 OptIPortal systems; it should compile and run in most sane systems which have development packages installed. Please send any other successes/failures to the contact email address below.


Installation:

1. unpack the tarball and cd into the resulting mplayer-svn directory:
    tar jxvf mplayer-svn.tar.bz2
    cd mplayer-svn
2. run configure and make, then copy binary into SAGE's bin directory (this overwrites the existing mplayer binary - you may want to save it elsewhere first):
    ./configure
    make
    cp mplayer ${SAGE_DIRECTORY}/bin/


Issues:

1. there may be problems with conflicting definitions from various #include files. If compilation halts with the error:
    libx264.c:167: error: 'x264_param_t' has no member named 'i_bframe_adaptive'
then edit file libavcodec/libx264.c at line 167 so that:
    x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
becomes:
    x4->params.b_bframe_adaptive = avctx->b_frame_strategy;



Downloads:

1. Patched source code tarball (new version 20090212)


Contact

Please send any comments, advice etc., to Chris Willing <c.willing _at_ uq.edu.au>