CoreAVC for Linux Installation Guide (1)

Source: Internet
Author: User

With the increasing popularity of HD videos, the performance requirements for H264 decoders are getting higher and higher. Due to lack of vendor support, the ffh264 decoder in FFmpeg is inefficient at decoding, making HD playback impossible for some machines with low CPU configurations. For more information, see HD video playback in Linux. This article describes how to apply CoreAVC for Linux to MPlayer.

If your video card does not support GPU decoding VDPAU exclusive to the nVidia video card or cannot be used due to various errors, such as myself), and the git speed of FFmpeg-mt is as slow as the speed of resentment ...... Or myself ......), CoreAVC for Linux becomes the only choice. The full text will be based on CoreAVC for Linux wiki. Taking the Fedora 10 i386 system as an example, we will introduce how to use CoreAVC decoder in Linux and also use it in X86_64 architecture ).

Requirements:
1. CoreAVC 1.7 or above Professional Edition and registration code
You need to purchase at CoreAVC for $15. Please purchase it with a PayPal friend ......
2. The recent SVN version of Mplayer is unavailable for 1.0rc2.
We recommend that you download the SVN export version updated daily by MPlayer, which is faster than svn.
3. Necessary tools and Development Kits
Su-c 'yum install subversion gcc make p7zip-plugins libXv-devel pulseaudio-libs-devel alsa-libs-devel libogg-devel ccache'
The final ccache is not required,Highly recommended!

Assume that the CoreAVC Installation File and MPlayer source code package related to this process are all placed in a directory, such as the Build directory in the user's main directory:
Mkdir-pv $ HOME/Build
Other directories are fine, as long as you do not find anything ~

1. Use svn in the Build directory to obtain the latest CoreAVC for Linux:
Svn checkout linux.googlecode.com/svn/trunk/ "> http://coreavc-for-linux.googlecode.com/svn/trunk/ coreavc-for-linux

2. After the preceding step is complete, a directory named coreavc-for-linux will be generated under the current directory to enter it:
Cd coreavc-for-linux

3. Install dshowserver.

I386 platform:
Make-C dshowserver
If no error is prompted, you can install:
Su-c 'cp-v dshowserver/usr/local/bin'
Su-c 'cp-v dshowserver/registercodec/usr/local/bin'

We recommend that you download the compiled X86_64 platform from here. decompress the package and copy the above command to/usr/local/bin.

4. Install CoreAVCDecoder. ax decoder.
Return to the Build directory. Assume that the CoreAVC installation file is saved in this directory:
Cd $ HOME/Build
Use 7z to decompress the CoreAVC Installation File
7z x coreavc_professional_edition-setup.exe CoreAVCDecoder. ax
If no error exists, you can find the file CoreAVCDecoder. ax in the current directory.
Currently, the default installation directory of the binary encoder of the attachment for MPlayer and other players is codecs. To keep it as consistent as possible with the official wiki, create a symbolic link between codecs and win32:
Su-c 'ln-vs/usr/lib/codecs/usr/lib/win32'
Copy CoreAVCDecoder. ax to this directory.
Su-c 'cp-v CoreAVCDecoder. ax/usr/lib/win32 /'

5. Register CoreAVCDecoder. ax
If you have not used MPlayer before, you need to create a user configuration file directory. If you have used MPlayer before, you can skip the following steps:
Mkdir-pv $ HOME/. mplayer
Associate the $ HOME/. MPlayer directory that stores mplayer configuration information with the registry:
Export REGISTRY = $ HOME/. mplayer/registry32
Enter the registration code and use the registration code you obtained to replace 55555-55555-CORE-55555-55555 in the following command. Note that the double quotation marks must be retained:
Registercodec-r $ REGISTRY-k "HKLM \ Software \ CoreCodec \ CoreAVC Pro \ Serial"-v "55555-55555-CORE-55555-55555"


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.