Log in

View Full Version : MPlayer was compiled without libmp3lame support


mousemurder
9th October 2007, 04:00
[knoppix]
hi, i am trying to use mencoder to encode something into mp3.

my ./configure says this:
Checking for libmp3lame (for mencoder) ... yes

i configured both with --prefix=/usr

what other option do i need to have mencoder use lame correctly.

thanks,

Sharktooth
9th October 2007, 18:03
--enable-mp3lame

mousemurder
10th October 2007, 02:45
good idea. that is actually a ./configure option for ffmpeg but does not work for mplayer/ mencoder.

here is my mistake:
Setting prefix=/usr will override the default /usr/local. Are you sure you are not running another, maybe earlier, version at /usr/local/bin/mencoder?

Command 'which mencoder' will show actual path used when you run 'mencoder'.
...
i originally installed it but read in the readme that libmp3lame installs in /usr so i reinstalled it (i guess i shouldve uninstalled it first).

Sharktooth
10th October 2007, 03:08
uhm, you're right. my memory is a bit faulty :)

shevegen
15th October 2007, 12:45
Interestingly I am using

--enable-gpl
--enable-shared
--enable-pthreads
--enable-libogg
--enable-libmp3lame
--enable-libvorbis
--enable-liba52
--enable-pp
--enable-x11grab


for ffmpeg

and this seems to make mplayer happy enough to playback pretty most things

nm
15th October 2007, 13:42
FFmpeg's configuration options don't affect MPlayer in any way unless you have specifically built MPlayer with external libav* libraries. Normally those libraries are included in the MPlayer source tree and linked statically into the mplayer and mencoder binaries.

Carpo
21st October 2007, 12:46
./configure --prefix=/usr \
--enable-libmp3lame \
--enable-libogg \
--enable-libvorbis \
--enable-libtheora \
--enable-libfaac \
--enable-libfaad \
--enable-liba52 \
--enable-libx264 \
--enable-libxvid \
--enable-libamr-nb \
--enable-libamr-wb \
--enable-gpl \
--enable-pp \
--enable-pthreads \
--disable-debug \
--enable-shared \

is what i norm use to make ffmpeg - i also compile libdca (dts) and everything plays as it should :) mplayer doesnt seem to throw any errors when i use them

Kurtnoise
21st October 2007, 13:47
FFmpeg has his own dts decoder now...no need to compile libdca for it.

Carpo
21st October 2007, 16:51
must be im using an older version as ffmpeg kept kicking out when i tried it before, suppose i could make a new package