I stated here, I won’t touch CoreAVC for Linux anymore, because VDPAU is performing so well, but since so many visitors were attracted by my last short article about CoreAVC 1.9.0, I decided to look a bit closer at it.
I’ve compiled two versions of mplayer and they worked more or less good for me (read below):
These packages contain these files:
- mplayer-20090215-1_i386.deb or mplayer-20090215-1_amd64.deb
- dhshowserver (also statically linked for x86_64 in the amd64 package)
Before you go ahead and read the installation instruction: Linux offers Nvidia drivers in version 180.29 (Linux/VDAPU) and version 180.22 (Linux/CUDA). I’ve downloaded the driver 180.22 that was offered from Nvidia’s CUDA site, and I’ve downloaded the same version for VDPAU. The driver are identical.
In order to get CoreAVC going with CUDA, which is nothing else but the hardware accelerated decoding of HD content, such as H.264 aka MPEG-4/AVC, or VC-1, you need probably to install any Nvidia version >= 180.22 (guess). I’m running the 180.29 driver, and I couldn’t see any CUDA usage on my system. But it has been reported, that CUDA is working with Linux regarding the hardware accelerated decoding. (Thanks to the anonymous poster in the comment section). If I find out how to tell my system to use CUDA, I will report it here. Anyway, you can use VDPAU if you don’t like this academical approach.
Installation (example is for x86):
- Download x86 or x86_64 version (mplayer revision 28585, coreavc-for-linux revision 82)
compiled with ‘
aptitude build-depends mplayer && ./configure --disable-x264-lavc --disable-x264 --enable-menu‘
- unpack it:
tar xfvz mplayer-coreavc-x86.tgz
- Install the precompiled and patched mplayer (it’ll be installed into /usr/local/bin)
dpkg -i mplayer_20090215-1_i386.deb
- copy these files
cp dshowserver regestercodec /usr/bin cp nvcuvid.dll /usr/lib/win32
- Download CoreAVC 1.9.0 from the link CoreCodec ppl sent you, and extract the file CoreAVCDecoder.ax out of it. If you’re not familiar with extracting it, install it. (run the .exe file, perform a apt-get install wine if necessary)
The CoreAVCDecoder.ax will be installed into:
~/.wine/drive_c/Program Files/CoreCodec/CoreAVC Professional Edition/
copy this file into /usr/lib/win32 also
Read on next page the rest of the installation instructions, Conclusion and Troubleshouting.