You are not logged in.

#1 2013-12-14 15:08:08

thegyro
Member
Registered: 2013-12-13
Posts: 22

MP3 Files not playing despite installing gstreamer

I searched for a solution but could not get one. Sorry if this is a very common problem. The problem is that MP3 files and Video files are playing perfectly on VLC but are not playing on Rhythmbox ,Amarok (MP3 files ),Totem (video files) . I installed the required gstreamer library ,but no luck with respect to Totem,Rhythmbox and Amarok. Am I missing out any codecs required by these players ?

Offline

#2 2013-12-14 15:10:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

Which gstreamer packages did you install?

Offline

#3 2013-12-14 16:10:38

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

Er..I just used sudo pacman -S gstreamer. Not specific on any particular gstreamer package...(Ok , I am slowly sensing  that I have done something stupid ..)

Offline

#4 2013-12-14 16:19:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

See https://www.archlinux.org/packages/extr … rhythmbox/ or 'pacman -Si rhythmbox' to see the optional dependencies.

Offline

#5 2013-12-14 16:32:05

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

I installed the optional dependencies also..still I am not able to play any music on Rhythmbox. The problem is not local to Rhythmbox , it is there in every player except VLC.

Offline

#6 2013-12-14 16:59:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

I've just tested rhythmbox and after I've installed gst-plugins-ugly, mp3 files were played just fine.

Offline

#7 2013-12-14 17:08:52

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

It's clearly not working on mine sad . What about other players like Amarok and Totem ? Even they don't seem to be playing any MP3 files. Only VLC works.

Last edited by thegyro (2013-12-14 17:09:20)

Offline

#8 2013-12-14 17:09:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

Can you import mp3 files to your rhythmbox library?

Offline

#9 2013-12-14 17:17:12

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

Yes.

Offline

#10 2013-12-14 17:18:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

totem works here.
When you start totem or rhythmbox from the terminal, are there any errors?

Offline

#11 2013-12-14 17:26:13

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

Oops .
Totem says

(totem:1098): Grilo-WARNING **: [registry] grl-registry.c:793: Failed to open module: libgssdp-1.0.so.3: cannot open shared object file: No such file or directory

(totem:1098): GrlDmap-WARNING **: error starting browser. code: 0 message: MDNS service is not running

Rhythmbox says

(rhythmbox:1291): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(rhythmbox:1291): Rhythmbox-WARNING **: Unable to start mDNS browsing: MDNS service is not running

(rhythmbox:1291): libdmapsharing-WARNING **: Unable to initialize mDNS: Daemon not running

(rhythmbox:1291): GLib-GObject-CRITICAL **: Custom constructor for class SoupServer returned NULL (which is invalid).  Unable to remove object from construction_objects list, so memory was probably just leaked.  Please use GInitable instead.

(rhythmbox:1291): libdmapsharing-WARNING **: Unable to notify network of media sharing: The avahi MDNS service is not running
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
(rhythmbox:1291): Rhythmbox-WARNING **: Unable to grab media player keys: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files

Offline

#12 2013-12-14 18:26:55

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: MP3 Files not playing despite installing gstreamer

these are just some warnings.
but leave the terminal window open and try playing some mp3 file. maybe you'll get more meaningful error messages.
also you can make a web search of how gstreamer handles these things. i recently installed xfburn and hat to install the -good, -bad and -ugly plugins iirc (poetic, isn't it).

also, establish that your interpretation of the problem is correct.
are other file formats working, can you play mp3 from command line (with aplay or mpg123 or some such).....
but i think you're on the right track with gstreamer.

Last edited by ondoho (2013-12-14 18:30:28)

Offline

#13 2013-12-15 02:03:57

shaunsingh14
Member
Registered: 2012-01-07
Posts: 97

Re: MP3 Files not playing despite installing gstreamer

This happened to me the first time I tried using Arch Linux. Here's what helped me:

[shaun@the-enforcer ~]$ sudo pacman -S gstreamer0.10-plugins
:: There are 5 members in group gstreamer0.10-plugins:
:: Repository extra
   1) gstreamer0.10-bad-plugins  2) gstreamer0.10-base-plugins  3) gstreamer0.10-ffmpeg  4) gstreamer0.10-good-plugins  5) gstreamer0.10-ugly-plugins

Enter a selection (default=all): 
resolving dependencies...
looking for inter-conflicts...

Packages (19): gstreamer0.10-0.10.36-3  gstreamer0.10-bad-0.10.23-6  gstreamer0.10-base-0.10.36-2  gstreamer0.10-good-0.10.31-4  gstreamer0.10-ugly-0.10.19-8
               ladspa-1.13-4  libcdaudio-0.99.12-7  libdc1394-2.2.1-2  liblrdf-0.5.0-2  libmpcdec-1.2.6-3  libmpeg2-0.5.1-4  libsidplay-1.36.59-6
               musicbrainz-2.1.5-6  wildmidi-0.2.3.5-2  gstreamer0.10-bad-plugins-0.10.23-6  gstreamer0.10-base-plugins-0.10.36-2
               gstreamer0.10-ffmpeg-0.10.13-2  gstreamer0.10-good-plugins-0.10.31-4  gstreamer0.10-ugly-plugins-0.10.19-8

Total Download Size:    8.99 MiB
Total Installed Size:   47.68 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 gstreamer0.10-0.10.36-3-i686                                        1431.0 KiB   413K/s 00:03 [########################################################] 100%
 gstreamer0.10-base-0.10.36-2-i686                                   1309.5 KiB   432K/s 00:03 [########################################################] 100%
 gstreamer0.10-bad-0.10.23-6-i686                                     954.7 KiB   369K/s 00:03 [########################################################] 100%
 libdc1394-2.2.1-2-i686                                                99.1 KiB   463K/s 00:00 [########################################################] 100%
 musicbrainz-2.1.5-6-i686                                              83.5 KiB   409K/s 00:00 [########################################################] 100%
 libcdaudio-0.99.12-7-i686                                             35.7 KiB   337K/s 00:00 [########################################################] 100%
 libmpcdec-1.2.6-3-i686                                                22.1 KiB   712K/s 00:00 [########################################################] 100%
 ladspa-1.13-4-i686                                                    25.2 KiB   419K/s 00:00 [########################################################] 100%
 liblrdf-0.5.0-2-i686                                                  14.2 KiB   394K/s 00:00 [########################################################] 100%
 wildmidi-0.2.3.5-2-i686                                               67.1 KiB   309K/s 00:00 [########################################################] 100%
 gstreamer0.10-bad-plugins-0.10.23-6-i686                             447.9 KiB   431K/s 00:01 [########################################################] 100%
 gstreamer0.10-base-plugins-0.10.36-2-i686                            169.4 KiB   320K/s 00:01 [########################################################] 100%
 gstreamer0.10-ffmpeg-0.10.13-2-i686                                    2.6 MiB   397K/s 00:07 [########################################################] 100%
 gstreamer0.10-good-0.10.31-4-i686                                   1143.0 KiB   356K/s 00:03 [########################################################] 100%
 gstreamer0.10-good-plugins-0.10.31-4-i686                            307.5 KiB   310K/s 00:01 [########################################################] 100%
 gstreamer0.10-ugly-0.10.19-8-i686                                    181.8 KiB   426K/s 00:00 [########################################################] 100%
 libmpeg2-0.5.1-4-i686                                                 65.7 KiB  1043K/s 00:00 [########################################################] 100%
 libsidplay-1.36.59-6-i686                                             65.9 KiB   803K/s 00:00 [########################################################] 100%
 gstreamer0.10-ugly-plugins-0.10.19-8-i686                             83.5 KiB   194K/s 00:00 [########################################################] 100%
(19/19) checking keys in keyring                                                               [########################################################] 100%
(19/19) checking package integrity                                                             [########################################################] 100%
(19/19) loading package files                                                                  [########################################################] 100%
(19/19) checking for file conflicts                                                            [########################################################] 100%
(19/19) checking available disk space                                                          [########################################################] 100%
( 1/19) installing gstreamer0.10                                                               [########################################################] 100%
Optional dependencies for gstreamer0.10
    sh: feedback script
( 2/19) installing gstreamer0.10-base                                                          [########################################################] 100%
( 3/19) installing gstreamer0.10-bad                                                           [########################################################] 100%
( 4/19) installing libdc1394                                                                   [########################################################] 100%
( 5/19) installing musicbrainz                                                                 [########################################################] 100%
( 6/19) installing libcdaudio                                                                  [########################################################] 100%
( 7/19) installing libmpcdec                                                                   [########################################################] 100%
( 8/19) installing ladspa                                                                      [########################################################] 100%
( 9/19) installing liblrdf                                                                     [########################################################] 100%
(10/19) installing wildmidi                                                                    [########################################################] 100%
(11/19) installing gstreamer0.10-bad-plugins                                                   [########################################################] 100%
(12/19) installing gstreamer0.10-base-plugins                                                  [########################################################] 100%
(13/19) installing gstreamer0.10-ffmpeg                                                        [########################################################] 100%
(14/19) installing gstreamer0.10-good                                                          [########################################################] 100%
(15/19) installing gstreamer0.10-good-plugins                                                  [########################################################] 100%
(16/19) installing gstreamer0.10-ugly                                                          [########################################################] 100%
(17/19) installing libmpeg2                                                                    [########################################################] 100%
Optional dependencies for libmpeg2
    sdl: required for mpeg2dec [installed]
    libxv: required for mpeg2dec [installed]
(18/19) installing libsidplay                                                                  [########################################################] 100%
(19/19) installing gstreamer0.10-ugly-plugins                                                  [########################################################] 100%
[shaun@the-enforcer ~]$ 

Try to install ALL of the GStreamer plugins. It might work afterward. If not, then install both VLC then SMPlayer from [extra] and then see if it works (VLC and SMPlayer both pull in a large amount of codecs as dependencies during installation). I mostly play all my media in GNOME MPlayer, which to my understanding doesn't require GStreamer. So like you, I wasn't able to play music through Rhythmbox. After doing the above, I'm able to play the one MP3 I have on my box in Rhythmbox. proof

Last edited by shaunsingh14 (2013-12-15 02:18:45)


I made this account 10 years ago when I was an ignorant and insufferable teenager.
I apologise to all the people I annoyed with my cringe in the past.

Offline

#14 2013-12-15 02:43:01

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: MP3 Files not playing despite installing gstreamer

Sounds like you're missing a codec, try

pacman -S lame

see if it works after that.

Offline

#15 2013-12-15 07:16:40

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

shaunsingh14 wrote:

This happened to me the first time I tried using Arch Linux. Here's what helped me:

Try to install ALL of the GStreamer plugins. It might work afterward. If not, then install both VLC then SMPlayer from [extra] and then see if it works (VLC and SMPlayer both pull in a large amount of codecs as dependencies during installation). I mostly play all my media in GNOME MPlayer, which to my understanding doesn't require GStreamer. So like you, I wasn't able to play music through Rhythmbox. After doing the above, I'm able to play the one MP3 I have on my box in Rhythmbox. proof

Tried it . Still not working sad

Offline

#16 2013-12-15 07:20:59

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

Totem is blatantly complaining that it won't startup because some necessary plugins are not installed . I just don't know what these plugins are .

Offline

#17 2013-12-15 07:35:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

What's the output of

pacman -Qqs gst-plugins

Offline

#18 2013-12-15 08:23:01

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

pacman -Qqs gst-plugins
gst-plugins-bad
gst-plugins-base
gst-plugins-base-libs
gst-plugins-good
gst-plugins-ugly
gstreamer0.10-bad
gstreamer0.10-bad-plugins
gstreamer0.10-base-plugins
gstreamer0.10-good-plugins
gstreamer0.10-ugly-plugins

Offline

#19 2013-12-15 08:25:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MP3 Files not playing despite installing gstreamer

Did you restart rhythmbox after installing these plugins?

Offline

#20 2013-12-15 12:44:00

fasza2mobile
Member
Registered: 2013-11-03
Posts: 29

Re: MP3 Files not playing despite installing gstreamer

thegyro wrote:

I searched for a solution but could not get one. Sorry if this is a very common problem. The problem is that MP3 files and Video files are playing perfectly on VLC but are not playing on Rhythmbox ,Amarok (MP3 files ),Totem (video files) . I installed the required gstreamer library ,but no luck with respect to Totem,Rhythmbox and Amarok. Am I missing out any codecs required by these players ?

That's because VLC ships with its own codec. Did you install lame as I suggested?

Offline

#21 2013-12-15 16:29:01

thegyro
Member
Registered: 2013-12-13
Posts: 22

Re: MP3 Files not playing despite installing gstreamer

karol wrote:

Did you restart rhythmbox after installing these plugins?

Yes. I rebooted my laptop (that counts , I guess)

fasza2mobile wrote:
thegyro wrote:

I searched for a solution but could not get one. Sorry if this is a very common problem. The problem is that MP3 files and Video files are playing perfectly on VLC but are not playing on Rhythmbox ,Amarok (MP3 files ),Totem (video files) . I installed the required gstreamer library ,but no luck with respect to Totem,Rhythmbox and Amarok. Am I missing out any codecs required by these players ?

That's because VLC ships with its own codec. Did you install lame as I suggested?

Yes lame was already there.

Offline

#22 2013-12-15 23:50:28

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: MP3 Files not playing despite installing gstreamer

ondoho wrote:

establish that your interpretation of the problem is correct.
are other file formats working, can you play mp3 from command line (with aplay or mpg123 or some such).....

Offline

Board footer

Powered by FluxBB