Make MPlayer play h264 video files faster on multicore machines

view full story

http://tips4linux.com – You can make MPlayer play h264-encoded video files a lot faster on multicore machines if you graft some libraries from the ffmpeg-mt project into the resulting mplayer binary. We need to recompile for this. First, use Subversion to download the code for MPlayer: svn co svn://svn.mplayerhq.hu/mplayer/trunk mplayer Then the code for ff-mpeg svn co svn://svn.mplayerhq.hu/mplayer/trunk ffmpeg-mt Remove the old libavcodec, libavformat and libavutil code from MPlayer rm -rf mplayer/libavcodec mplayer/libavformat mplayer/libavutil …and merge in the new ones from ff-mpeg: cp -a ffmpeg-mt/libavcodec ffmpeg-mt/libavformat ffmpeg-mt/libavutil mplayer/ compile everything cd mplayer./configure --disable-vdpau --disable-libdirac-lavcnice make -j 4 Install the new mplayer-mt binary in your /usr/bin foder: sudo install -m 755 mplayer /usr/bin/mplayer-mt Now play your h264 files with the new binary mplayer-mt. Original idea here. (HowTos)