LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-26-2022, 06:11 PM   #1
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
mp3 files not present in media players such as ncmpcpp or cmus?


Hi, recently having an issue with any song which is encoded as mp3 format. They don't play with mpd/ncmpcpp (not listed) and also in other apps such as cmus.

I remember over the years, that mp3's needed some library installed which had patent issues, although that expired relatively recently... So, what's going on there? I've tried rebuilding ncmpcpp and all its dependencies through slackbuilds, but no luck, all the songs in my music library as mp3 won't show up?

They do however play in VLC, so whether that application is using a built in library? Do i still need to install some additional lib to get mpd/ncmpcpp or cmus to play them?
 
Old 05-26-2022, 07:59 PM   #2
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
You probably need to install an appropriate decoder for mp3s from SBo such as faac or faad2, then rebuild mpd. You might need gst-plugins-bad also for some applications, though I'm not sure if mpd falls into that group.

Edit: actually, I think mpd uses ffmpeg. So I think you need to 1) install faac/faad2, 2) rebuild ffmpeg with support for that library enabled, and 3) rebuild mpd. Not sure if the third step is actually necessary. But anyway, it should be something along these lines.

Last edited by montagdude; 05-26-2022 at 08:11 PM.
 
Old 05-26-2022, 09:23 PM   #3
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Is this a full install ?
I do not remember having issues with mp3 out of the box.
Have you tryed from a DE or WM ?
 
Old 05-27-2022, 05:19 AM   #4
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
As Tonus writes, did you make a full install? If so, you should have audacious and mplayer installed. Do they play mp3 files?
Not sure that mpd and cmus needs faac or faad2 in order to play mp3 files. Looking at the slackbuild scripts I can see that faad2 is listed as an optional dependency. Faac is not mentioned.

Don't know if your vlc package has built in faac/faad2 libraries. Not if you've built it from the SBo scripts (although they're listed as dependencies). Nor are they built in in AlienBob's vlc package.

Maybe you just should rebuild your mpd and cmus apps and see what happens.

Last edited by kgha; 05-27-2022 at 05:21 AM.
 
Old 05-27-2022, 01:31 PM   #5
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by kgha View Post
As Tonus writes, did you make a full install? If so, you should have audacious and mplayer installed. Do they play mp3 files?
Not sure that mpd and cmus needs faac or faad2 in order to play mp3 files. Looking at the slackbuild scripts I can see that faad2 is listed as an optional dependency. Faac is not mentioned.

Don't know if your vlc package has built in faac/faad2 libraries. Not if you've built it from the SBo scripts (although they're listed as dependencies). Nor are they built in in AlienBob's vlc package.

Maybe you just should rebuild your mpd and cmus apps and see what happens.
Yeah it's a full install, going back to 2017 or so on -current.
mplayer, mpv, and vlc all work fine.

But yeah it was all working previously, and i have tried rebuilding mpd / cmus / libmpdclient / ncmpcpp. Just stuck with finding out what has happened.. hmm.
 
Old 05-27-2022, 01:34 PM   #6
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by montagdude View Post
You probably need to install an appropriate decoder for mp3s from SBo such as faac or faad2, then rebuild mpd. You might need gst-plugins-bad also for some applications, though I'm not sure if mpd falls into that group.

Edit: actually, I think mpd uses ffmpeg. So I think you need to 1) install faac/faad2, 2) rebuild ffmpeg with support for that library enabled, and 3) rebuild mpd. Not sure if the third step is actually necessary. But anyway, it should be something along these lines.
Yeah it's already installed long ago;
Code:
[inst] alienbob    : gst-plugins-bad0-0.10.23-x86_64-2alien
[inst] alienbob    : gst-plugins-ffmpeg0-0.10.13-x86_64-2alien
[inst] alienbob    : gst-plugins-ugly0-0.10.19-x86_64-2alien
[inst] multilib    : gst-plugins-bad-free-compat32-1.20.2-x86_64-1compat32
[inst] multilib    : gst-plugins-base-compat32-1.20.2-x86_64-1compat32
[inst] multilib    : gst-plugins-good-compat32-1.20.2-x86_64-1compat32
[inst] multilib    : gst-plugins-libav-compat32-1.20.2-x86_64-1compat32
[inst] multilib    : gstreamer-compat32-1.20.2-x86_64-1compat32
[inst] slackware64 : gst-plugins-bad-free-1.20.2-x86_64-1
[inst] slackware64 : gst-plugins-base-1.20.2-x86_64-1
[inst] slackware64 : gst-plugins-good-1.20.2-x86_64-1
[inst] slackware64 : gst-plugins-libav-1.20.2-x86_64-1
[inst] slackware64 : gstreamer-1.20.2-x86_64-1
[inst] slackware64 : phonon-backend-gstreamer-4.10.0-x86_64-3

[inst] restricted : faac-1.30-x86_64-1alien
[inst] alienbob : faad2-2.10.0-x86_64-1alien
 
Old 05-27-2022, 01:46 PM   #7
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836

Original Poster
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Seems i might have had a corrupt package, or a file missing from one. As i've just reinstalled all the gst packages, and other audio related packages and it's now working. I guess this is solved :shrug:
Thanks for the suggestions.
 
Old 05-27-2022, 04:04 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by coralfang View Post
I remember over the years, that mp3's needed some library installed which had patent issues, although that expired relatively recently...
That library is LAME, and Slackware ships with it.
 
Old 05-30-2022, 07:31 PM   #9
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by montagdude View Post
You probably need to install an appropriate decoder for mp3s from SBo such as faac or faad2, then rebuild mpd.
Hmmm...are these an encoder and decoder respectively for AAC files?
 
  


Reply

Tags
cmus, mp3, mpd, ncmpcpp



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
[SOLVED] CMUS not recognizing some files Ghost-Order Linux - Software 2 04-23-2020 10:08 PM
How do I record inner audio? Such as music from websites and media players? QueenZ Linux - Newbie 8 06-20-2011 03:13 AM
Is it possible for media files such as ogg mp3 avi files to be infected with a virus? christianunix Linux - Newbie 1 03-21-2009 05:15 AM
not able to play mp3 files and install vlc & mp3 players in fedora 8 harit agarwal Linux - Software 5 12-22-2008 04:50 PM
Non drm/conversion "mp3 players"/portable media players Hairulfr General 5 12-12-2007 10:12 AM

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

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