Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I download the src.rpm package of lame, and try to install in the following way,
1. rpm -Uvh packagename*.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpm -bp packagename*.spec
In the third step I got an error that was
-bp: unknown option
Anybody knows the correct option?. I am using Fedora Core 1, and installed following packages
gcc, make, glibc, glibc-devel, binutils
you need to rebuild a *.src.rpm first before you can install it.
basically as root:
rpm --rebuild *.src.rpm
i don't use fedora so i don't know how different it's file structure is from red hat. but for me, after rebuilding, rpm binaries are found in /usr/src/redhat/RPMS/i386
Hi,
I installed the lame20011211-1.src.rpm file bu the following,
1. rpm -Uvh lame*
then I found in the directory /usr/src/redhat/SOURCES a lame2002alpha.tar.bz2
I Uncompressed and install by.
./configure
make
make install
(As per instruction from a install file on that directory).
In my area a very few linux users, so please let me know the way I installed is correct or not?.
And also mplayer (.rpm format ), can't install, because libmp3lame.so.0 is not found?. I thhink that is becuase of libmp3lame.so.0 not installed as a rpm package. Anything can Do?.
that is one way to install an srpm. i like building a binary rpm myself from a source rpm, but the way you did it will work.
do a locate on libmp3lame.so.0:
locate libmp3lame.so.0
it should be in /usr/lib
basically on my system, libmp3lame.so.0 is a symlink to libmp3lame.so.0.0.0. now that i think about it, the package may not install libmp3lame.so.0, but libmp3lame.so.0.0.0. so as root make a symlink to libmp3lame.so.0.0.0:
i also have a symlink, /usr/lib/libmp3lame.so, to /usr/lib/libmp3lame.so.0.0.0 . so again, you may need to make a symlink called libmp3lame.so.0 in /usr/lib that points to /usr/lib/libmp3lame.so.0
Hi, I'm running into the same problems trying to install mplayer.
I performed all of the current installation instructions using the rpm command on the lame20011211-1.src.rpm file, and then uncompressed the TAR file and installed it using the same commands like the person linux123456 but I still cannot locate the libmp3lame.so.0 file in the directory of /usr/lib. And I still can't install mplayer either. Did I miss something in the installation process?
again, most likely you'll need to create a symlink called libmp3lame.so.0 that points to your main libmp3lame shared lib. the file mplayer is complaining about seems to be provided with an older version of lame. it was provided by my rpm package. anyhoo...
look at what the lame rpm provides and look for the *.so.* file. or just locate that file and create a symlink to that file.
Ok, I finally got mplayer installed, and I tried to put The Bourne Identity into the DVD drive and typed in the command:
mplayer /dev/hdd
The movie played for about two seconds and then crashed. I also got this output from the terminal window. I think I didn't have the correct codec, if so, what do I need to install now? And I also see that I don't have any audio stream, what do I need to install for audio?
Playing /dev/hdd.
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
V: 0.3 15 0% 0% 0.0% 0 0 0%
Successfully enabled DPMS
Exiting... (End of file)The Bourne IdentityThe Bourne Identity
try putting in another dvd. mplayer shouldn't crash on dvd playback. also make sure your dvd player is using dma. do a 'man hdparm'. can only be run as root. if it complains about the command not being found, do an 'su -' to login as root from your user account. also, did you install libdvdcss? that's used for decrypting the CSS encryption in dvds. check that you've installed all the mplayer dependancies (although, i'm assuming you did since mplayer compiled and installed). also, did you try to do something like adjust the volume of mplayer when the video was running? there's a bug in the newest mplayer dealing with the volume control which i've had crash mplayer trying to adjust the volume during playback.
if all else fails try out xine (i use xine pretty exclusively).
Ok, I installed two additional codecs called Divx and XviD and reran the ./configure, but to no avail. You said something about a file called, libdvdcss, where can I download that? If that fails, I'll try Xine, and where can you download that also?
you'll need the xine-lib tarball and the xine-ui tarball ( i suggest using the xine-ui version of 0.99.1 as i had freezing/cpu_usage problems with the newest version of xine-ui).
check to see that all the dependancies are taken care of for xine (they should be if you've successfully installed mplayer). install libdvdcss first though. also, if mplayer won't work for files on your hard drive (a good indicator if you'll be able to watch embedded videos on the web - it should though), download kaffeine from the xine website and use that for watching embedded videos on the web (using konqueror). for mozilla and opera, you need to also install the kaffeine starter plugin which unfortunately only launches the kaffeine player and doesn't view the video in your browser. i mostly use xine myself since i have problems with mplayer and mplayer using its own codecs packages (xine doesn't have a problem using mplayer's codec packages ).
why are you using /dev/hdd? what's your logical device label for your dvd? is it /dev/cdrom or something like that?
as root:
ln -s /dev/cdrom /dev/dvd
xine is set at default to look for /dev/dvd as the dvd playback device. and when you want to run xine to play a dvd, just use the command xine and click the dvd button on the ui with your dvd in the dvd drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.