LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mplayer how to install FFmpeg (https://www.linuxquestions.org/questions/mandriva-30/mplayer-how-to-install-ffmpeg-291138/)

mooreted 02-16-2005 06:35 PM

Mplayer how to install FFmpeg
 
I am sorry to ask this but I just don't understand the instructions on the Mplayer site for installing FFMpeg. I have a DVD rip with an AVI extension and when I try to play it I get:

Trying to force audio codec driver family libmad...
Opening audio decoder: [libdv] Raw DV Audio Decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dvaudio' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x56444152.
Read DOCS/HTML/en/codecs.html!

So I used the direction on the Mplayer site to get FFmpeg through CVS but there are no instructions for installing it. There is no .config file. I don't know where to copy the files to.

It said to copy them to the main Mplayer CVS tree i.e. Mplayer cvs/main or something like that. I can't find a directory that resembles what they are talking about.

Anyway, I now have an ffmpeg directory in my /home/mooreted directory with a ton of files in it... What do I do now?

Tormented 02-16-2005 08:22 PM

Go to Easy Urpmi and follow the instructions there to set up urpmi sources for contrib and plf.
Then all you have to do is type the following in a terminal as root:

urpmi mplayer

It will install all the dependencies you need, and you don't have to worry about compiling anything.

mooreted 02-16-2005 08:59 PM

Actually, Mplayer is running fine except for playing this file. After looking at the error messege I imagine there is a codec missing and it's part of FFMpeg which I installed from the 10.1 official DVD.

I will update my URPMI sources and see if I can get an updated package, maybe that will help.

Thanks.

mooreted 02-16-2005 09:32 PM

Okay, I did as you suggested. I am still getting this error:

Trying to force audio codec driver family libmad...
Opening audio decoder: [libdv] Raw DV Audio Decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dvaudio' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x56444152.
Read DOCS/HTML/en/codecs.html!

Anyone know where I can find the missing DV codec?

opjose 02-16-2005 09:56 PM

It's quite possible that your manual installation trashed a few things...

You may want to try removing mplayer and all vestiges of it...

e.g.

rpm -e `rpm -qa | grep mplayer `

Then run

updatedb &

And wait 5-10 minutes for it to complete.

Then

locate mplayer

and see what has been left behind.

Remove ALL of the remaining files not associated with any RPM's.

especially those in your home directories...

and finally re-install mplayer via the URPMI repositories.

with the default URPMI install (see my sig) ffmpeg works fine as do the other plugins.

mooreted 02-17-2005 09:04 AM

I didn't do a manual installation of Mplayer. I installed 10.1 by formatting the / partition and leaving my /home partition. Right after install I opened RPMDrake from within KDE, typed in "mplayer" and clicked "OK".

I will try an uninstall/reinstall and see if that works.

Tormented 02-17-2005 10:00 AM

You need to install the plf version of mplayer. The version that comes on the Mandrake cds only supports opensource codecs.

mooreted 02-17-2005 10:09 AM

Hmmm, I installed all the codecs on the Mplayer site. I guess I will start over and remove everything, then install the PLF version and see how that goes.

Thanks for all the help btw.

mooreted 02-17-2005 10:23 AM

Nope. I removed every instance of "mplayer" from my hard drive after an uninstall of mplayer through rpmdrake. I then installed the PLF version and am still getting the same error:

Trying to force audio codec driver family libmad...
Opening audio decoder: [libdv] Raw DV Audio Decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dvaudio' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x56444152.
Read DOCS/HTML/en/codecs.html!

opjose 02-17-2005 12:46 PM

What Tormented posted is correct, the PLF version with the codecs picks up the right player.

Have you tried following the directions on the site indicated in my sig... and then also using RPMdrake to install any plugins, codecs, etc.?

I do not see the ffmpeg problem you are describing on two 10.1 machines I checked for this.

They are plain 10.1 installs with the updates from the URPMI sources...

Of course I tend to install quite a lot from the repositories....

mooreted 02-17-2005 05:52 PM

Yes, I have used URPMI for several years. I have it all set up and have the plf version of mplayer installed. I am beginning to think it is just a bad file. I don't have any trouble playing anything else.

Thanks for the help.

bunnadik 02-18-2005 02:11 AM

Try 'urpmi libdv4' (or only libdv) or compile it from http://libdv.sourceforge.net/
I'm not sure that'll do it but it contains a libdv.so at least.

- Peder


All times are GMT -5. The time now is 04:59 PM.