When I try to install Mplayer on Fedora core 1, it needs libmp3.so.0, but where from I get that package?
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
Do I need to install anything more?.
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
I found the step described by me, is in a book for installing SRPM packages, so that is wrong?.
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.
(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:
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:
ln -s /usr/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.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?
Thanks a bunch.
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.
[user@your_comp] $ locate libmp3lame
[user@your_comp] $ su
<enter root password>
[root@your_comp] $ ln -s /usr/lib/libmp3lame.so.0.0.0 /usr/lib/libmp3lame.so.0
normally the main *.so file to link to will have something like *.so.X.X.X where the X is some number dependant on the version of lame you're using.
and if you're wanting to use audacity, you do the same thing for libmp3lame.so if audacity can't find it.
nothing about this is too difficult and should be a simple fix.
Thanks for that really fast reply
Ok, I finally got mplayer installed, and I tried to put The Bourne Identity into the DVD drive and typed in the command:
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?
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)
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
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 Identity The 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?
what distro are you using?
if you're using redhat, search here: http://freshrpms.net/packages/
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 :p ).
I'm currently using the Fedora Core 1 Linux version
Ok, I finally installed Xine and ran the command Xine /dev/hdd
I get a dialog box saying:
There is no demuxer plugin available to handle /dev/hdd Usually this means that the file format was not recognized
I clicked the "more..." button and found this entry
xine: couldn't find demux for >/dev/hdd<
Any solutions? Thanks for your current help
why are you using /dev/hdd? what's your logical device label for your dvd? is it /dev/cdrom or something like that?
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.
|All times are GMT -5. The time now is 05:25 AM.|