You are not logged in.
I'm searchig to encode my .avi file to use it with my Zen.
I want to use mencoder to make this and not ffmpeg because there is a useful script based on mencoder.
But mplayer in arch linux repository has not mp3lame support enabled.
I don't know how to build it with this stuff, all my trials to make the PKGBUILD works are failed.
Have someone an idea of how to modify the configure option in mplayer's PKGBUILD to enable mp3lame.
Last edited by algol.tr (2009-05-29 13:20:55)
Offline
'./configure --help' should give you the (rather extensive) list of options. ABS is really easy to handle but I don't know how things are at the moment bug/sync-wise (I mean the toolchain) and which mplayer should you pick (mplayer-svn maybe?).
Alternatively you can try to encode it w/ a different tool.
Offline
As far as I can tell, the mplayer in the repos does have mp3lame support. The lame package is added as a dependency and hence mplayer was built against lame. There's also no --disable-mp3lame or --disable-lame in the pkgbuild so it is autodetected by the configure script.
Offline
But i've this output:
[marco@Marco-Laptop Downloads]$ mencoder -o /home/marco/ZEN/output.avi -oac mp3lame -ovc xvid -xvidencopts bitrate=800 -vf scale=320:240 /home/marco/Desktop/Downloads/Basquash\!\ 08\ -\ Sub\ Ita\ by\ Kiavik.mkv
MEncoder dev-SVN-rUNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
parse error at line 308
MPlayer was compiled without libmp3lame support.
[marco@Marco-Laptop Downloads]$
any suggestion?
Offline
I don't know if mplayer-svn can be counted as "from the repo".
Offline
using
./configure --help there is:
I've this options:
--disable-mp3lame disable LAME MP3 encoding support [autodetect]
--disable-mp3lame-lavc disable LAME in libavcodec [autodetect]
Offline
That's right, you can use those options to configure your mplayer the way you like.
I'd also suggest dropping spaces in filenames, but that has nothing to do w/ mplayer/mencoder.
Offline
if the only options available with ./configure --help are --disable-{mp3lame,mp3lame-lavc} then doesn't that mean they are enabled by default? in that case why is he getting the error at the start of this post?
mine seems to have it, though i don't have a file to test right now:
> mencoder -oac help
MEncoder UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 296 video codecs
Available codecs:
copy - frame copy, without re-encoding (useful for AC3)
pcm - uncompressed PCM audio
mp3lame - cbr/abr/vbr MP3 using libmp3lame
lavc - FFmpeg audio encoder (MP2, AC3, ...)
faac - FAAC AAC audio encoder
//github/
Offline
algol.tr -> MEncoder dev-SVN-rUNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
brisbin33 -> MEncoder UNKNOWN-4.4.0 (C) 2000-2009 MPlayer Team
"svn" - need I say more? If you compile w/ --enable-{mp3lame,mp3lame-lavc} and still nothing, that may be a bug.
http://bbs.archlinux.org/viewtopic.php?id=72919
Offline
@brisbin33
what version are you using?
Offline
it's just stock mplayer installed via pacman -S mplayer on my x86_64 machine
also i just tested, mine uses the mp3lame codec just fine.
> pacman -Q mplayer
mplayer 29318-1.1
//github/
Offline
I'm using mplayer i686, maybe an error of building?
ps: sorry for my english, I'm italian
Offline
Why did you install mplayer-svn? Can you try the stock one? 'pacman -Sy mplayer' should be enough.
Offline
I've already mplayer from i686 repository.
I reistalled it and now it works properly.
I don't know what's happened. thank you guys
Offline
Mplayer and mplayer-svn can have different options enabled, I'd guess that this was the reason some your scripts failed.
If you're all set now, please mark the topic as [SOLVED].
Offline
sure. thanks again!
Offline