This is small HOWTO about running the CoreAVC decoder (dshowserver) on a 64Bit Unbuntu 8.10 (Intrepid Ibex)
This should work for other 64bit Linux-Distros, like Debian, Fedora, SuSE, Gentoo, etc… also. With the CoreAVC decoder for Linux you should be able to play back H.264 content in FullHD (1920x1080p, VC1 is not supported). In comparison to the the native mplayer H.264 playback, only CoreAVC is able to utilize all cores of your CPU simultaneously at the moment. Please consider, NVIDIA has published a Beta driver (180.06, 180.08, 180.11), which allows already now a rudimentary hardware acceleration support for HD content (including VC1). Feedback welcome.
CoreAVC 1.8.5 on Linux 64Bit HowTo
1) Download the ia32 static build (for use on x86_64) of dshowserver
or build it yourself in a 32bit environment with the “
2) Untar it and copy it into the right place
tar xvfj dshowserver-ia32-r77-acme.tar.bz2
cp dshowserver/dshowserver /usr/bin
cp loader/registercodec /usr/bin
3) Download the coreavc-for-linux to given revision number (#77)
svn checkout http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux-read-only
svn update -r 77
4) download mplayer to a given revision number (#27800) (else it doesn’t compile)
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
svn update -r 27800
patch -p0 < path-to-your-coreavc-for-linux/mplayer/dshowserver.patch
make -j2 && make -j2 install
Bas suggested to use
patch -p0 -i path-to-your-coreavc-for-linux/mplayer/dshowserver.patch
because it didn’t work for him with the redirector. Thanks Bas.
If’ve been using mplayer #27818 the fist time and got this:
dsputil.c:4527: error: 'ENABLE_SH4' undeclared (first use in this function)
It’s likely this issue we’ll be solved in a few days and you don’t need to be exactly on revision #27800, but I advice you to use it anyway, since coreavc-for-linux is also more or less loosely bound to a certain mplayer revision level.
[UPDATE] Erik reported, he compliled with revision #27818 on Hardy Heron, and it worked just fine.
If you compile mplayer from scratch on a fresh Ubuntu, you’ll need at least these packages too:
aptitude subversion patch libxv-dev libsdl-dev
codecs.conf to your HOME directory:
cp your-mplayer-source-path-here/etc/codecs.conf $HOME/.mplayer
and add this at the end:
info "CoreAVC DShow H264 decoder 1.3 for x86 - http://corecodec.org/"
fourcc H264,h264 H264
fourcc avc1,AVC1 AVC1
guid 0x09571a4b, 0xf1fe, 0x4c60, 0x97, 0x60, 0xde, 0x6d, 0x31, 0x0c, 0x7c, 0x31
Or download the codecs.conf from here.
6) Now register it with your serial number which has been given to you by CoreCodec on purchase.
registercodec -r $REGISTRY -k
"HKLM\Software\CoreCodec\CoreAVC Pro\Serial" -v "55555-55555-CORE-55555-55555"
cp $HOME/.mplayer/registry32 $HOME/.mplayer/registry