LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-07-2016, 07:28 AM   #1
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Rep: Reputation: Disabled
Question gstreamer plugins, aac, mp3?


hi all,

coming back to Slack and have to say am loving the stability and zero hitches in builds except for this... cannot get gstreamer specifically to play mp3 and m4a files. specifically with audacious and gmusicbrowser, my fav audio players/organizers/taggers.

the mplayer engine can play them just fine but there's no equalizer function and sorry to say I have headphones that need it.

creative audigy fx, stereo out--> pro-logic is wonderful because I can control the bass and trouble on the amp but the headphone jack sucks. (and I dont have an adapter anyways)

I'm using guitarix on the headphones as well to keep the noise down and eq'ing is solving this issue, so...

I used sbotools to build gstreamer-plugins, maybe?
 
Old 08-07-2016, 10:44 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Depending on whether those use gstreamer 1.x or 0.x will dictate what gst-plugins package you'll need. If you're on 14.2, the 1.x packages on SBo will just be simply gst-plugins-{bad,ugly} and the 0.x will be gst0-plugins-{bad,ugly}. If you're on 14.1, the 0.x versions will be gst-plugins-{bad,ugly} and the 1.x versions will be gst1-plugins-{bad-ugly}

What version of Slackware are you running and which gstreamer packages do you have installed?
 
Old 08-07-2016, 05:46 PM   #3
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Depending on whether those use gstreamer 1.x or 0.x will dictate what gst-plugins package you'll need. If you're on 14.2, the 1.x packages on SBo will just be simply gst-plugins-{bad,ugly} and the 0.x will be gst0-plugins-{bad,ugly}. If you're on 14.1, the 0.x versions will be gst-plugins-{bad,ugly} and the 1.x versions will be gst1-plugins-{bad-ugly}

What version of Slackware are you running and which gstreamer packages do you have installed?
Slackware 14.2... and I'm pretty sure I have all the right libraries installed. here is a little script I used on 14.1 to install gstreamer everything:

#!/bin/sh

echo "first let's install a few libraries"

sboinstall orc libass libcdaudio celt libdc1394 dirac libdca libdvdnav

sboinstall faac

echo "now we can continue to install the libraries for gstreamer-plugins-bad"

sboinstall faad2 flite gsm libkate liblrdf slv2 libmms libmimic libmusicbrainz libofa OpenAL opencv

sboinstall TiMidity++

echo "now we can finish installing all of the gst-plugins-bad libraries"

sboinstall soundtouch swfdec xvidcore libvdpau schroedinger libvpx rtmpdump

echo "Now we can install gst-plugins-bad"

sboinstall gst-plugins-bad

echo "now lets install all of the gst-plugins-ugly libraries"

sboinstall orc a52dec opencore-amr lame libmpeg2 twolame x264

echo "Now we can install gst-plugins-ugly"

sboinstall gst-plugins-ugly

sboinstall libmodplug

echo "Now let's install the gstreamer1 and gst1-plugins libraries"

sboinstall gstreamer1

sboinstall gst1-plugins-base

echo "Now it's time to install the gst1-plugins-good libraries"

sboinstall gst-libav

sboinstall gst1-python

echo "Now we can install gst1-plugins-good"

sboinstall gst1-plugins-good

echo "Let's install the gst1-plugins-bad libraries"

sboinstall amrnb amrwb libass libcdaudio celt libdc1394 libdca libdvdnav faac faad2 flite fluidsynth gsm libkate liblrdf libmodplug libmimic libmusicbrainz libofa libquicktime libvdpau libvpx libwebp lv2 musepack-tools OpenAL opencv openjpeg soundtouch swfdec xvidcore rtmpdump schroedinger TiMidity++ xvidcore

echo "now we can install gst1-plugins-bad"

sboinstall gst1-plugins-bad

echo "Lets install the gst1-plugins-ugly libraries"

sboinstall a52dec opencore-amr lame libdvdcss libmpeg2 twolame x264

echo "And finally we can install gst1-plugins-ugly"

sboinstall gst1-plugins-ugly

echo "All done! Now you should be able to listen to any audio file or watch any video file on Slackware"

exit 0


AFAICT this should basically allow me to listen to/watch anything on Slackware however it's not. Now what?
 
Old 08-07-2016, 06:39 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Well, there are no more gst1-plugins-* SlackBuilds on SBo for 14.2, as gstreamer 1.x is now default on Slackware (it was 0.x on 14.1). And on 14.1, what used to be gst, is now gst0.

Basically, it looks like your script needs reworkings due to the new default gstreamer in 14.2. You need to call gst0 and gst SlackBuilds. I'd double check the dependencies for each from SBo.
 
Old 08-07-2016, 09:43 PM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
For me, installing faad2 and then gst-plugins-bad allowed me to play m4a files with amarok/juk. (I haven't tried audacious or gmusicbrowser, but it should be the same if they use the gstreamer backend.) I believe faac also worked as an alternative to faad2. mp3 worked without faad2/faac, but don't remember if I needed gst-plugins-bad for that or not.

Last edited by montagdude; 08-07-2016 at 09:46 PM.
 
Old 08-08-2016, 01:59 AM   #6
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I have installed:
gst-plugins-base-1.6.4-x86_64-1
gst-plugins-base-compat32-1.64.-x86_64-1compat32
gst-plugins-base0-0.10.36-x86_64-2
gst-plugins-base0-compat32-0.10.36-x86-64-2compat32
gst-plugins-ffmpeg-0.10.13-x86_64-2alien
gst-plugins-good-0.10.15-x86_64-1alien
gst-plugins-good-1.6.4-i586-1
gst-plugins-good0-0.10.31-x86_64-2
gst-plugins-good0-compat32-0.10.31-x86_64-2compat32
gst-plugins-ugly-0.10.18-x86_64-1alien
gstreamer-1.6.4-x86_64-1
gstreamer-compat32-1.6.4-x86_64-1
gstreamer0-0.10.36-x86_64-1
gstreaner0-compat32-0.10.36-x86_64-1compat32

I don't know if I need them all. I just threw in whatever hoping something would appease Nightingale in regard to mp3s. It is real fussy. Maybe this list will aid you.
 
Old 08-08-2016, 03:07 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by RadicalDreamer View Post
I have installed:
...
gst-plugins-ffmpeg-0.10.13-x86_64-2alien
gst-plugins-good-0.10.15-x86_64-1alien
...
gst-plugins-ugly-0.10.18-x86_64-1alien
You may want to replace or delete these.

The "gst-plugins-good-0.10.15-x86_64-1alien" is from my Slackware 13.0 repository and should be removed from your computer.

Instead of "gst-plugins-ffmpeg-0.10.13-x86_64-2alien" you should install "gst-plugins-ffmpeg0-0.10.13-x86_64-2alien" and instead of my Slackware 13.37 package "gst-plugins-ugly-0.10.18-x86_64-1alien" you should replace it with "gst-plugins-ugly0-0.10.19-x86_64-2alien.tgz"
 
1 members found this post helpful.
Old 08-08-2016, 03:23 AM   #8
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
hm

Quote:
Originally Posted by bassmadrigal View Post
Well, there are no more gst1-plugins-* SlackBuilds on SBo for 14.2, as gstreamer 1.x is now default on Slackware (it was 0.x on 14.1). And on 14.1, what used to be gst, is now gst0.

Basically, it looks like your script needs reworkings due to the new default gstreamer in 14.2. You need to call gst0 and gst SlackBuilds. I'd double check the dependencies for each from SBo.
Thanks I will look at all the dependencies currently on sbo and re-write the script. really odd tho... the script ran just fine. did it pull all the right packages for 14.1 or smth?
 
Old 08-08-2016, 03:57 AM   #9
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by Alien Bob View Post
You may want to replace or delete these.

The "gst-plugins-good-0.10.15-x86_64-1alien" is from my Slackware 13.0 repository and should be removed from your computer.

Instead of "gst-plugins-ffmpeg-0.10.13-x86_64-2alien" you should install "gst-plugins-ffmpeg0-0.10.13-x86_64-2alien" and instead of my Slackware 13.37 package "gst-plugins-ugly-0.10.18-x86_64-1alien" you should replace it with "gst-plugins-ugly0-0.10.19-x86_64-2alien.tgz"
Thank you! I removed those packages, installed the recommended ones, and everything is working like it should!

I have enjoyed your repository! It has been a great help (libreoffice/VLC player particularly)!
 
Old 08-08-2016, 06:57 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by scarrz View Post
really odd tho... the script ran just fine. did it pull all the right packages for 14.1 or smth?
If you have the repo set up correctly for 14.2, then it won't install stuff for 14.1. However, you have nothing in there to catch any errors. So, since the packages below packages don't exist on the 14.2 repo, sbotools would've thrown an error and then continued on with the script.

Code:
gstreamer1
gst1-plugins-base
gst1-python
gst1-plugins-good
gst1-plugins-bad
gst1-plugins-ugly
NOTE: I'm not sure if it's intentional (I don't see any reason for it, as none seem to be circular dependencies), but you have a LOT of repeats with building packages (and libvdpau was removed from SBo's 14.2 repo since it is now included in stock 14.2). Below is a list of all duplicated programs.

Quote:
orc, libass, libcdaudio, celt, libdc1394, libdca, libdvdnav, faac, faad2, flite, gsm, libkate, liblrdf, libmimic, libmusicbrainz, libofa, OpenAL, opencv, TiMidity++, soundtouch, swfdec, xvidcore, libvdpau, schroedinger, libvpx, rtmpdump, a52dec, opencore-amr, lame, libmpeg2, twolame, x264, libmodplug
 
Old 08-08-2016, 01:08 PM   #11
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
Wink :D

lol ya I was never EVER scripting before I made that... I just looked at the dependencies on sbo for each of the plugins and listed them. heh, ikr
 
Old 08-08-2016, 01:21 PM   #12
scarrz
Member
 
Registered: Aug 2014
Location: Thunder Bay, Ontario
Distribution: Slackware, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: Disabled
thanks

all I had to do after I had installed all those packages from my script was: sboinstall gst0-plugins-bad etc...
 
  


Reply



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
What is your experience with GStreamer plugins? alan_ri Linux - General 1 04-17-2011 08:29 PM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
GStreamer Plugins for FC3 FunkyRes Fedora 7 12-22-2004 10:29 AM
yum, gstreamer-plugins-mp3, and rhythmbox corso64 Fedora 3 10-15-2004 08:51 AM
Cant install gstreamer-plugins-mp3 short101 Linux - Software 0 07-13-2004 08:54 PM

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

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