[SOLVED] mp3 files not present in media players such as ncmpcpp or cmus?
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.
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?
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.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070
Rep:
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.