CoreAVC 1.9.0 for Linux (howto for Ubuntu Intrepid Ibex 8.10)

  • 6. If you haven’t done before, register the codec now. Read this excellent instruction here, and check like described there the dshowserver functionality.
  • 7. copy this codecs.conf into ~/.mplayer directory
  • 8. test your installation by playing an e.g. a .mkv (Matroska x264 encoded sample)
    /usr/local/bin/mplayer -demuxer mkv -vc coreserve <matroska sample here>.mkv

Conclusion:
Both of my CPU cores have been utilized fine by the CoreAVC Decoder. The top command showed me a dshowserver utilization of 60% for both cores running at 2200MHz on a AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ for a AVCHD footage from my Canon HF100 cam.
This is how I started it:

/usr/local/bin/mplayer -demuxer lavf panasonic-hdc-sd100-sample.mts -fps 50 -vc coreserve>

And for a x264 encoded mkv flick I had a core utilization of 75%, where as it was running at 1800MHz.

But!: It makes no sense to wait for CUDA support for CoreAVC@Linux, because all 8xxx Nvidia gfx cards support hardware acceleration now. There is only one constellation where CUDA+CoreAVC would make sense, and this if CUDA runs on older Nvidia hardware than 8xxx. But this I certainly can’t tell.

The above installation makes sense for people using other hardware than Nvidia (>8xxx), e.g. ATI and Intel or S3 folks. Playing back AVCHD didn’t work for my cleanly, I’ve been missing a lot frames, although they aren’t reported by mplayer being droped. So watch AVCHD with CoreAVC 1.9.0 on Linux has still something of a slide show.

Troubleshouting:

  • If you should encounter this output:
    acme@moon$ ./dshowserver -c CoreAVCDecoder.ax -s 1280x720 -g 09571a4b-f1fe-4c60-9760de6d310c7c31 -b 12 -f 0x34363248 -o 0x30323449
    No id specified, assuming test mode
    Opening device
    Called unk_IsDebuggerPresent
    len: 992
    ProductVersion: 1.9.0
    Win32 LoadLibrary failed to load: nvcuvid.dll, /usr/lib/win32/nvcuvid.dll, /usr/local/lib/win32/nvcuvid.dll
    Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
    Decoder is capable of YUV output (flags 0x2b)
    Setting fmt
    Starting
    Initialization is complete

    Make sure nvcuvid.dll resides in /usr/lib/win32 and is accessible.

  • If you need a current nvcuvid.dll, here is where I sourced from: [1]
  • get the latest coreavc-for-linux core yourself from here: [2]
  • This HOWTO targets at an Ubuntu 8.10 (Intrepid Ibex) installation.

19 thoughts on “CoreAVC 1.9.0 for Linux (howto for Ubuntu Intrepid Ibex 8.10)

  1. thats not correct, go to the nvidia site, cuda seccsion and you can get the driver for linux for cuda 2.1 (for earlier version the driver you mentioned should work fine).

  2. ((((((

    Not Found

    The requested URL /wp/2009/02/mplayer-coreavc-x86.tgz was not found on this server.

  3. Thank you! I am happy! All good! One quest – smplayer don’t work MKV (coreavc+smplayer=?)

  4. I’m so thank you!

    Sorry but can you send me the source that you used ?

    the source that you compiled. I found out that this mplayer didn’t have –enable-gui option.

    I will be very thank you if you send the source that you compiled.

    my email : hanbin973@gmail.com

  5. @hanbin
    The sources are freely accessible:
    Here are the documentation and sources for CoreAVC-for-Linux:
    http://code.google.com/p/coreavc-for-linux/wiki/DshowserverInstall

    And here is the download link for mplayer: http://www.mplayerhq.hu/design7/dload.html

    just do a

    svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

    for mplayer and

    svn checkout http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux

    for CoreAVC-for-Linux.

    That’s all. I’m basically offer these packages only, because people on 64bit systems can’t compile it for their own use, because they need an 32bit environment to do so.

    Regards,
    Andreas

  6. oh! I didin’t know. that was the reason why I coudn’t compile that properly. thank you!

    I think I need to make a 32 bit live cd or so. I would loved it if it had –enable-gui option. haha.

  7. Everything went just fine untill i was about to start watching my first video, then I got: mplayer: error while loading shared libraries: libartsc.so.0: cannot open shared object file: No such file or directory

    what could that be?

  8. @Pluntzkt same problem here in 32bit version

    libartsc.so.0: cannot open shared object file: No such file or directory

  9. @Edgar
    could you perform in a command line:

    dpkg -l | grep libarts

    and

    apt-cache search libarts

    Or are you trying to install a package built for Intrepid Ibex on a different distro?

    It won’t work e.g. on Jaunty Jackalope, because these packages don’t exist there.

    (PS: speculation: if you on Ubuntu 9.04 (Jaunty Jackalope), could you try to install mplayerthumbs)

  10. I’m sorry forget to mention that I am in jaunty jackalope I have installed the package and still giving me the same error. Any ideas?

  11. @Edgar
    I’m sure there’s a way to make it work with Jaunty also, but don’t count on me.

    Don’t you have the possibility to buy and insert an Nvidia 8400GT for 30 bucks, and run VDPAU on it. Every motherboard with an 8200 gfx adapter is capable to handle that also.
    It’s bye far more the smarter way nowadays. I’ve been using CoreAVC the time, where no hardware acceleration for Linux where available. A recent Nvidia driver does a real superb job, regarding 1080p playback. My CPU utilization is usually less than 3%.

  12. hi, somehow i ended up with a mplayer not able to play mkv files.
    Now i having problem finding out how to install “default” mplayer, seems like im getting the new compiled mplayer and libs and codecs all the time.

    anyone know how to “reverse” the guide or just to get hold of an mplayer that will play x264 .mkv files without the coreavc ?

  13. Hi
    Uninstall:
    dpkg -r mplayer
    aptitude reinstall mplayer

    This should do the trick, but common place for problems is step 7 and the codecs.conf file. It must be available for the user who’s running mplayer too.
    And it’s of course for Ubuntu Intrepid Ibex and not Jaunty Jackalope or something.

    I’m sorry,
    Regards
    Andreas

Comments are closed.