LinuxQuestions.org
Review your favorite Linux distribution.
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 01-21-2013, 08:23 AM   #1
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
Mplayer libmp3lame


Ok i want to build Slackware Mplayer with libmp3lame option enabled but
the stops here
In Slackbuild i change that line

USE_PATENTS=${USE_PATENTS:-"NO"}
to
USE_PATENTS=${USE_PATENTS:-"YES"}

Code:
make: *** [libmpdemux/mp_taglists.o] Error 1
cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=x86-64 -mtune=generic -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT -I/usr/X11/include -I/usr/include/     -I/usr/include/freetype2 -I/usr/include/dirac   -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4   -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c
libmpdemux/mp_taglists.c:73:7: error: 'CODEC_ID_VIMA' undeclared here (not in a function)
libmpdemux/mp_taglists.c:154:7: error: 'CODEC_ID_SANM' undeclared here (not in a function)
libmpdemux/mp_taglists.c:154:5: error: initializer element is not constant
libmpdemux/mp_taglists.c:154:5: error: (near initialization for 'mp_bmp_tags[31].id')
make: *** [libmpdemux/mp_taglists.o] Error 1
mkdir -p DOCS/HTML/en
cp -f DOCS/xml/default.css DOCS/HTML/en
SGML_CATALOG_FILES=/etc/sgml/catalog  DOCS/HTML/en/MPlayer.html DOCS/xml/html-single.xsl DOCS/xml/en/main.xml
/bin/sh: DOCS/HTML/en/MPlayer.html: No such file or directory
make: *** [DOCS/HTML/en/MPlayer.html] Error 127
MPlayer.SlackBuild FAILED at line 403!

Last edited by tuxbg; 01-21-2013 at 08:35 AM.
 
Old 01-22-2013, 12:53 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,380

Rep: Reputation: 180Reputation: 180
I rebuilt it this morning on Slackware-current with no problems. I used the Slackbuild from 14.0, changing that line also. It would seem that something is wrong with libmpdemux, so I would start there. That said, I'm no expert.
 
Old 01-22-2013, 06:21 AM   #3
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Would you upload you package somewhere
 
Old 01-22-2013, 06:37 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
Quote:
Originally Posted by tuxbg View Post
Would you upload you package somewhere
Just download it from AlienBob's "restricted extras" repository: ftp://ftp.slackware.org.uk/people/al...d_slackbuilds/
 
1 members found this post helpful.
Old 01-22-2013, 06:46 AM   #5
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Ok i download Mplayer from that link but that package is not build with libmp3lame support

Code:
MEncoder 20110624-4.5.2 (C) 2000-2011 MPlayer Team
MPlayer was compiled without libmp3lame support.
-lameopts is not an MEncoder option
 
Old 01-22-2013, 07:38 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
Please provide the exact command you are using, I would like to repeat the process here to see what is going wrong.
 
Old 01-22-2013, 08:28 AM   #7
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Code:
mencoder "video.mp4" -idx -ovc lavc -lavcopts vcodec=flv:vme=5:vbitrate=959:vmax_b_frames=0 -vf-add expand=::-1:-1:1 -of avi -dvd-device "/dev/dvd" -oac mp3lame -lameopts br=128:cbr:mode=1 -af volnorm=2:0.25 -srate 44100 -o "output.avi" -vf-add harddup
 
Old 01-22-2013, 04:39 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,334

Rep: Reputation: Disabled
Well in order to have libmp3lame suppport in mencoder, you will have to recompile MPlayer in the presence of an installed lame package...
MPlayer itself does not come with lame libraries. The same holds true for a lot of other useful libraries. All that the MPlayer.SlackBuild does when you define USE_PATENTS=YES is remove the explicit "disable" configurations for patent-encumbered codecs so that these codecs can be included... if they are found in your filesystem at compiletime. Which is not the same as enabling those in the default build.

This is something I have never clarified before because I never actually checked mencoder's capabilities. I never use it.

I will probably build a new MPlayer package with lame as a dependency.

Eric
 
4 members found this post helpful.
Old 01-22-2013, 04:47 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
Thanks for the clarification.
 
Old 01-24-2013, 03:22 PM   #10
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 648

Rep: Reputation: 92
Quote:
Originally Posted by tuxbg View Post
Ok i download Mplayer from that link but that package is not build with libmp3lame support
MEncoder has not been actively developed for a long, long time and it is probably past time that it should be removed from the MPlayer source (as indeed it has been from the MPlayer2 fork). You would be pleasantly surprised by the far superior results from a recent copy of FFmpeg I suspect...
 
Old 01-27-2013, 03:44 AM   #11
zk1234
Member
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware, Slitaz, Mint
Posts: 118

Rep: Reputation: 7
This is true that libmp3lame is often used with MEncoder, for example: http://quadpoint.org/projects/simplerip/. On the other hand MEncoder will try to continue its work, even if this library is not installed, meaning that it should print a warning and switch automatically to any other available way of decoding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MPlayer error libmp3lame.so.0 dina3e Linux - Software 4 07-17-2008 11:19 PM
Mplayer, mencoder and libmp3lame conn-fused Mandriva 7 11-14-2005 08:18 AM
MPlayer Installation->libmp3lame.so.0 error kerryblue19 Linux - Software 11 03-17-2005 08:46 PM
Libmp3lame.so.0 and mplayer arubin Slackware 7 07-11-2004 12:36 PM
Mplayer libmp3lame NewbGhostShells Linux - Software 7 01-16-2004 05:53 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration