LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2011, 10:14 AM   #1
caroll.sh
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
MPlayer doesn't see/use LAME


Hello everybody!

First I've compiled and installed lame and xvid with --prefix=/usr.
Then I've compiled and install mplayer with --prefix=/usr.
Checking for libmp3lame ... yes (in FFmpeg: yes)
Checking for Xvid ... yes

mencoder -ovc help shows xvid (it works) but no mp3lame at all. And mplayer uses ffmpeg [ffmp3float], which extremely distors tracks. I'm sure it's not alsa, because music played online sounds normal.

I'm new to Slackware (moved from Gentoo), so I'll be extremely grateful if u tell me what I do wrong.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-11-2011, 12:41 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by caroll.sh View Post
mencoder -ovc help shows xvid (it works) but no mp3lame at all.
-ovc help just lists the available video codecs; you should use "-oac help" to check for mp3lame. I have LAME installed and have since recompiled mplayer and mp3lame works just fine...
 
Old 06-11-2011, 01:29 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I believe the stock SlackBuild script for mplayer does not build the package with support for mp3lame or aac. Check the build script. I believe you have to change the USE_PATENTS environment variable to YES, either in the script or at the command line when running the build script.

According to the explanation comments in the build script, mplayer will detect an external libdvdcss package but there is no mention that there is any auto detection of mp3lame or aac. So my guess is the mplayer needs to be rebuilt after installing those packages rather than using the stock package.

The stock build script contains some tee commands for logs. One of the logs created is the configure log. Check that log to verify mp3lame support.
 
Old 06-11-2011, 02:23 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Have you tried Alien Bob's packages at:

http://taper.alienbase.nl/mirrors/pe...d_slackbuilds/
 
Old 06-11-2011, 05:31 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I don't know about aac (don't use it) but the stock mplayer plays my home-made mpeg4 + mp3 encoded videos. I do have LAME-3.98.4 installed, and I did not recompile mplayer.
 
Old 06-11-2011, 05:44 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
For better playback of mp3s I would suggest the following in ~/.mplayer/config:

Code:
[extension.mp3]
profile-desc="profile for .mp3 files"
ac=mpg123
A full slackware install includes mpg123 so no extra libraries need to be added when compiling and playback is superior IMHO to the MPlayer defaults (which are actually mp3lib btw). The following will show if it is available to you:

Code:
andrew@skamandros~$ mplayer -ac help | grep 'mpg123'
mpg123      mpg123    working   MPEG 1.0/2.0/2.5 layers I, II, III
 
2 members found this post helpful.
Old 06-12-2011, 06:57 AM   #7
caroll.sh
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Alien Bob's package works just fine. MPlayer finally uses mp3lame. Thanks a lot. Thanks twice for giving information about Alien Bob. mpg123 works too, but I've spent too much time trying to make lame work, it would be stupid not to use it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] installing mplayer, Lame mp3 encoder, libogg and more rewards Linux - Software 11 06-07-2011 06:27 PM
Installed LAME, command 'lame' works but lame's not in any program directories! ayteebee Linux - Software 8 05-24-2006 05:48 PM
Mplayer/Lame on 64 bit AhYup SUSE / openSUSE 2 02-17-2005 12:53 PM
mplayer .ra (lame enc error bitrates>160kb/s) bendeco13 Linux - General 2 11-06-2004 06:28 AM
conflict with get-apt install mplayer and lame-libs illtbagu Linux - Software 4 02-14-2003 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration