LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-02-2005, 11:59 PM   #1
Kanchan
LQ Newbie
 
Registered: Feb 2005
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Question no audio for mplayer plug-in in mozilla


I'm working on FC1. I have installed mplayer 1.0 and also the mplayer plug-in for mozilla. I get video but no audio.

I tried installing the win32 codecs using
mplayer-codecs-win32-qt-6.0-1.i386.rpm

i get the error

error: Failed dependencies:
mplayer is needed by mplayer-codecs-win32-qt-6.0-1

but i surely have mplayer.

help
 
Old 02-03-2005, 02:45 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
Don't use that RPM garbage! just get the source for mplayer and the source for the codecs and compile it yourself...........

you'll have to un-tar the codecs and move them to a specific directory and then compile mplayer to use the codecs............
easy.........
 
Old 02-03-2005, 02:47 AM   #3
Kanchan
LQ Newbie
 
Registered: Feb 2005
Distribution: RedHat
Posts: 5

Original Poster
Rep: Reputation: 0
umm.. where do i get the codecs from? i can't seem to find the source
 
Old 02-03-2005, 08:21 AM   #4
Electronkz
Member
 
Registered: Mar 2004
Location: Punta del Este, Uruguay
Distribution: Fedora
Posts: 176

Rep: Reputation: 31
I wrote this for myself when i installed mplayer, hope this helps.

Mplayer Installation
Phase 1

Go to the Mplayer Web Site and download the latest source, font, skin, and the essential codecs(win32 codecs) downloaded them all.
Now:

* tar -xjvf essential-codecs.tar.bz2
* cd <essential-codecs>
* mkdir /usr/local/lib/codecs/
* Now copy all the files inside the <essential-codecs> directory to /usr/local/lib/codecs/. This has to be done in order to use all the Win32 codecs.

Ok, Now you have to export those libraries, this is how you do it:
Add /usr/local/lib/ to /etc/ld.so.conf and execute: ldconfig .


Phase 2

Now we are going to install Mplayer.

* tar -xjvf Mplayer-source.tar.bz2
* cd <Mplayer-created-dir>
* ./configure --enable-gui --enable-largefiles --enable-xmms. If all goes well, proceed to the next step, if not, good luck!
* make This will compile Mplayer, and make sure that all goes well, there may be warnings, some of them can be ignored.
* make install This will install Mplayer

Congratulations, you have completed Phase 2, but this is not over yet, proceed to Phase 3.


Phase 3

This is the Post Installation section,
First, we are going to take care of the font file you downloaded.

* tar -xjvf font-file.tar.bz2
* mkdir ~/.mplayer/font
* mkdir /usr/local/share/mplayer/font
* mkdir /usr/local/lib/mplayer/font
* mkdir /usr/local/etc/mplayer/font

Good, now cd font-created-dir and copy the file "font-arial-18-iso-8859-1" to each directory that we created upon.
Now letīs take care of the skin file you downloaded.

* tar -xjvf skin-file.tar.bz2
* mkdir ~/.mplayer/Skin
* mkdir /usr/local/share/mplayer/Skin
* mkdir /usr/local/lib/mplayer/Skin
* mkdir /usr/local/etc/mplayer/Skin

Ok, now cd skin-created-dir , letīs rename the skin name to default:
mv skin-name default . Great, now copy that directory to each of the Skin directories we created upon.
Now, go to the Mplayer directory that was created when you first extracted it. there go to etc/ and you should see this files: codecs.conf dvb-menu.conf example.conf input.conf inttypes.h menu.conf mplayer.desktop mplayer.ico
Now you have to edit the example.conf file, by editing this lines:

* comment this line: fs=yes
* Uncomment this line: skin=default
* And make sure that you comment the last line, the one that says: include=/home/gardino/I_Did_Not_RTFM_Carefully_Enough

Now, examinate the ~/.mplayer , if there is no codecs.conf file present there, copy it from the Mplayer-created-dir/etc . Also copy the example.conf file and rename it to mplayer.conf .
Now copy all the files to /usr/local/etc/mplayer .
And finally, some information on how to start Mplayer:

* mplayer to start Mplayer with CLI
* gmplayer to start Mplayer GUI


Well, I hope you have Mplayer working by now, if it did not worked out, then good luck!

Last edited by Electronkz; 02-03-2005 at 08:25 AM.
 
Old 02-04-2005, 12:53 AM   #5
Kanchan
LQ Newbie
 
Registered: Feb 2005
Distribution: RedHat
Posts: 5

Original Poster
Rep: Reputation: 0
thanks i'll try this out
 
  


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
Installing mplayer plug in for Mozilla Firefox fatrandy13 Linux - Software 5 10-09-2005 11:30 AM
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
Mplayer plug-in not working???? oicdn Linux - Software 6 11-24-2004 01:45 PM
I need help with a command value for building the MPlayer Plug-in for Mozilla... Ausar Linux - Newbie 2 08-01-2004 09:44 AM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM


All times are GMT -5. The time now is 09:16 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