LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-06-2011, 02:38 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
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.

Last edited by stf92; 10-06-2011 at 02:43 PM.
 
Old 10-06-2011, 02:50 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139
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.

Last edited by ponce; 10-06-2011 at 03:07 PM.
 
Old 10-06-2011, 03:35 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I would never had suspect that. Thanks a lot.
 
Old 10-06-2011, 03:38 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by stf92 View Post
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#
No additional packages are required.

Eric

Last edited by Alien Bob; 10-06-2011 at 03:40 PM.
 
Old 10-06-2011, 04:57 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
Old 10-06-2011, 06:09 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
  


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
mplayer can't play a video file though ffplay does albeit with aberrations sumeet inani Linux - Newbie 7 11-24-2010 10:46 PM
WMV video asks for G2M.dll in mplayer logicalfuzz Slackware 1 06-09-2010 02:17 AM
Help! Script or commanded needed to replace text in a file farmerjoe Programming 3 01-02-2005 05:59 PM
MPLAYER fail to play video file. hanbin Linux - Software 1 11-20-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration