MPlayer asks for video libraries when commanded to play FLAC file!!!
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
MPlayer asks for video libraries when commanded to play FLAC file!!!
Hi: I do 'mplayer some_flac_file.flac' and then he complains about not finding libfaac.so.0. Absurd. This is a video library. If I had put some video file filename in the command line, I understand. But this seems really odd to me. I downloaded mplayer from Slackbuilds, it compiled perfectly well, and produced a package named MPlayer-1.0rc2-custom-3_SBo.tgz. I installed the package containing the libfaac library, and now he asks for libx264.so.56, another video library. How can this be?
My distribution is 12.0, kernel 2.6.21.5. The MPlayer version I cannot know because 'mplayer --version' only outputs the error message.
you built the MPlayer package on a host with faac, x264 and whatever installed, so its binary linked to those libraries (they are autodetected by configure, you can verify to what's linked with "ldd /usr/bin/mplayer"): to do it short, if you install the resulting tgz on another machine, the packages of the libraries are needed too.
Hi: I do 'mplayer some_flac_file.flac' and then he complains about not finding libfaac.so.0. Absurd. This is a video library. If I had put some video file filename in the command line, I understand. But this seems really odd to me. I downloaded mplayer from Slackbuilds, it compiled perfectly well, and produced a package named MPlayer-1.0rc2-custom-3_SBo.tgz. I installed the package containing the libfaac library, and now he asks for libx264.so.56, another video library. How can this be?
My distribution is 12.0, kernel 2.6.21.5. The MPlayer version I cannot know because 'mplayer --version' only outputs the error message.
I built you a MPlayer package for Slackware 12.0, based on quite recent sources (that old slackbuilds.org version is just old). Try it here: http://slackware.com/~alien/test_12.0/
It plays FLAC audio just fine:
Code:
root@qemu12:~/build# mplayer /tmp/808_Cymbal.flac
MPlayer 20110831-4.1.2 (C) 2000-2011 MPlayer Team
Playing /tmp/808_Cymbal.flac.
Audio only file format detected.
Load subtitles in /tmp/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 288.9 kbit/40.94% (ratio: 36113->88200)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.6 (00.6) of 0.9 (00.9) 0.1%
Exiting... (End of file)
root@qemu12:~/build#
It's a dream become reality. Thanks, thanks a lot. I am downloading it now. I always had a problem with mplayer: it played everything well, both audio and video, except CDDA. I'll let LQ readers know about your mplayer's performance playing CDs. Many regards.
This mplayer is playing flac files well. But curiously enough,
Code:
semoi@darkstar:~$ mplayer cdda://1
MPlayer 20110831-4.1.2 (C) 2000-2011 MPlayer Team
Playing cdda://1.
No stream found to handle url cdda://1
Exiting... (End of file)
It's very odd. It really does not matter, because I have other CD players, although with mplayer I could do something like this:
mplayer cdda://3 -ss 9 -endpos 10
This would play from position 9s up to position 9 + 10 = 19s. This I cannot do with any command line CD player that I know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.