You are not logged in.

#1 2009-01-07 00:39:58

alambda
Member
Registered: 2009-01-06
Posts: 8

GStreamer problems

Being new to Arch, and to Linux in general (I was compelled by The Arch Way, and abandoned WinXP upon reading about it - I tried Ubuntu a year back and hated its guts), I've got very limited knowledge of how audio (among many things) works in Linux (ALSA, OSS, etc. are quite confusing). Anyways, from what I've gathered, I seem to have problems playing sound through GStreamer (I'm actually not quite sure what that precisely is, but I suppose I should be able to put eg. mp3s through it).

I found a music player which suited my needs quite nicely: gmusicbrowser (http://squentin.free.fr/gmusicbrowser/g … owser.html). One can select from the following output methods:
1. gstreamer
2. mpg321/ogg123/flac123
3. mplayer

Initially gstreamer was greyed out, but after using pacman (and I did indeed also install the relevant plugins: the good, the bad and the ugly, and gtk2-perl which I suppose the music player requires), I was able to select it. However, switching the output to use gstreamer produces no sound (and actually should I select it, no other app will make any sound either... until I kill X). I would like to use gstreamer as using mplayer the volume controls don't work, and I had a bit of a hassle with mpg321: pacman installed mpg123 rather than mpg321, which gmusicbrowser didn't recognize. I created a symbolic link (mpg321 -> mpg123). However, should I wish to change the song while the previous one is still playing, the new one starts to play, overlapping the previous one (which plays till the end of its buffer). Ogg-files seem not to suffer from this problem, so I deduced that maybe mpg321 isn't the same thing as mpg123 and uses different "stop" commands? Also, I've selected mpg321/ogg123 to use PCM as volume control, and it's quite annoying as it affects other apps as well. 

There, I've managed three problems in one post (although I am primarily interested in making gstreamer work). So, what do I do? Is there an easy way to test if gstreamer is correctly installed and configured (I touched no config files installing it)?

Offline

#2 2009-01-09 11:30:09

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: GStreamer problems

I don't know how to solve your problem with gmusicbrowser but I'd suggest to try rhythmbox or banshee - they look something like you where searching for.

Offline

#3 2009-01-09 15:13:44

alambda
Member
Registered: 2009-01-06
Posts: 8

Re: GStreamer problems

Thanks for replying. I should've added that I've indeed tried other players that use gstreamer. None of them work. That is to say, gmusicbrowser is not to blame.  Just to be sure, I tried the suggested rhythmbox-player. To no avail.

Now that I think about it, I might've installed PulseAudio at some point. I've however removed it since and gstreamer-properties shows no trace of it. So I suppose that's not the problem either.

When I hit test in gstreamer-properties, I hear no sound. Am I supposed to?

Offline

#4 2009-01-10 10:47:58

InfernalH
Member
From: Lithuania/Klaipeda-Vilnius
Registered: 2005-02-08
Posts: 101
Website

Re: GStreamer problems

When run gstreamer-properties does "Default output" Test work? If no, maybe you don't have alsa daemon running (/etc/rc.d/alsa start) ?

Offline

#5 2009-01-10 14:02:05

alambda
Member
Registered: 2009-01-06
Posts: 8

Re: GStreamer problems

I do have alsa daemon running and I do hear sound using eg. mpg321. However, using gstreamer-properties I hear no sound at all.

Offline

#6 2009-02-02 03:20:31

alambda
Member
Registered: 2009-01-06
Posts: 8

Re: GStreamer problems

After several weeks of not caring, I returned to the problem. I apparently have OSS installed, and switching GStreamer to use that, the sound works. This I suppose is not a good solution, as I use ALSA for everything else... I think. In addition, should I use OSS, applications using GStreamer are unable to produce sound if there are other applications using the device. I suppose eg. PulseAudio would solve this? If anyone has any suggestions, please let me know.

Offline

#7 2009-02-02 08:32:20

GERGE
Member
From: Turkey
Registered: 2008-09-29
Posts: 157
Website

Re: GStreamer problems

pacman -S gstreamer0.10-alsa

Did you installed this?

Offline

#8 2009-02-02 10:02:39

alambda
Member
Registered: 2009-01-06
Posts: 8

Re: GStreamer problems

GERGE wrote:

pacman -S gstreamer0.10-alsa

Did you installed this?

Yes, I have it installed.

Offline

Board footer

Powered by FluxBB