Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-17-2009, 03:08 PM
|
#1
|
Member
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Rep:
|
YAMQ: no mpeg4 in libavcodec?
Yet another Mplayer Question (looked it up. honest!)
I have several mplayer setups but in one I get the error "can't find codec "mpeg4" in libavcodec.
It;'s unusually that the amazingly powerful libavcodec does _not_ have an mpeg4 decoder. Am I naive? Or is it just a configuration setting I'm getting wrong?
|
|
|
01-17-2009, 04:27 PM
|
#2
|
Member
Registered: Mar 2007
Distribution: Debian
Posts: 547
Rep:
|
what is the output of
ffmpeg -formats | grep mpeg4
|
|
|
01-17-2009, 05:24 PM
|
#3
|
Member
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Original Poster
Rep:
|
thanks for the heads-up.
I don't have ffmpeg on that installation. Hmmm... now I thought mplayer uses ffmpeg, so mplayer shouldn't really work at all really.
On second thoughts, I suppose I have only being using it for listening to mp3's ... I'd better install it and look up formats on it then so.
What should I be looking for? It says mpeg4, mpeg4aac,msmpeg4,msmpeg4v1 and v2.
That mustn't be enough ...
|
|
|
01-17-2009, 06:20 PM
|
#4
|
Member
Registered: Mar 2007
Distribution: Debian
Posts: 547
Rep:
|
Quote:
Originally Posted by stabu
I don't have ffmpeg on that installation. Hmmm... now I thought mplayer uses ffmpeg, so mplayer shouldn't really work at all really.
|
ffmpeg consists of the libs (libavcodec/-format/-util ...), which are the main part of the project, and the "demonstration programs" ffmpeg and ffplay. These are usually in separate packages, so you can have the libs installed without the binaries. mplayer/mencoder only needs the libs.
I'd still install ffmpeg because you can see the capabilities of your libs with 'ffmpeg -formats'. Most distributions have crippled versions because of license issues.
You should look for a line like this
DEVSDT mpeg4 MPEG-4 part 2
This means you can decode and encode mpeg4, at least decoding should be possible for use with mplayer.
|
|
|
01-18-2009, 11:47 AM
|
#5
|
Member
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Original Poster
Rep:
|
Thanks.
Ok what it says is:
DEVSDT mpeg4
D A mpeg4aac
DEVSD msmpeg4
DEVSD msmpeg4v1
DEVSD msmpeg4v2
there's no part 2.
However, now armed with ffmpeg, ffplay does work on my file.
So it seems to be the interaction between mplayer and ffmpeg on my system.
Uninstall mplayer and re-install it (now that I have ffmpeg installed).
That sort of behaviour is a sure sign of somebody who doesn't know what he's doing. Bah, did it anyway, and gues what? Now it works.
It's hard to work out an explanation for this. But anyhow, the lesson of the tail is, that it's nice to have ffmpeg installed before you install mplayer.
Maybe it's not required, but it would seem to be A Good Idea (c).
|
|
|
All times are GMT -5. The time now is 12:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|