Install lame and tritonus-mp3enc__linux under Linux

Source: Internet
Author: User
Download the  tritonus-mp3enc and install them according to the Readme.txt.

Installation of the MP3 encoder plugin on linux/i386
----------------------------------------------------
1. Copy Tritonus_mp3.jar, and Tritonus_share.jar in
   the Extension Directory (the below).
2. Copy liblametritonus.so in the Binary Extension
   Directory.
3. Download LAME via CVS:
   cvs-d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame Login
   (Password empty)
   Cvs-z3-d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame Co Lame
   This creates the directory "lame".
4. Installation of LAME:
   go in the "LAME" directory and issue "./configure--enable-shared"
 &nbs P and "make".
   as Root, invoke "make install". This is copies the lame library to
  /usr/local/lib. You could need to Include/usr/local/lib to
  /etc/ld.so.conf and then run "Ldconfig"

Linux Directories
-----------------
You can find out the installation directory to the JDK by issuing
"which J Ava. " I get the "follwing result":
/usr/local/java2/bin/java
which means that JDK home is/usr/local/java2. The existence of
the "JRE" directory in JDK home usually means the JDK (installed rather JRE) have than
.

Extension Directory:
For Jdk:jre/lib/ext in JDK home,
e.g./usr/local/java2/jre/lib/ext
For Jre:lib/ext in JRE home,
e.g./usr/local/jre1.3.0_02/lib/ext
Alternatively, you could also place the jars in the classpath.
Then can place them where ever to you want:
Export Classpath=tritonus_share.jar:tritonus_mp3.jar: $CLASSPATH
Binary Extension Directory:
For jdk:jre/lib/i386 in JDK home,
e.g. ls/usr/local/java2/jre/lib/i386
For Jre:bin in JRE home,
e.g. ls/usr/local/jre1.3.0_02/lib/i386

Second, Lame

You can use Configure,make,make install to compile and install lame, and note that you may be able to error Interpreter:no file or directory when executing the Configure command, The main reason is that the format of the Configure is not UNIX, most likely a DOS way, through the VI set FF. Command View script format you can also use the Set Ff=unix command to modify the Configure format. The 2nd note is that you need to use the GC compiler to execute the above three commands. After installing the Wencheng, we will see the lame files under/usr/local/lib. You then do the following to do the need to include/usr/local/lib to/etc/ld.so.conf and then run "Ldconfig". So your lame is basically installed.

Third, the relevant reference

1.GNU make Chinese manual

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.