You are not logged in.

#1 2013-02-24 10:24:08

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Pragha music player plays only once

Starting Pragha for the first time I can add music to the playlist and playback works fine. But as soon as I quit and open it again, I get the following error when trying to play any file:

Gstreamer error "GStreamer encountered a general stream error."

Deleting ~/.config/pragha/config makes it usable again, but again only until I close it. Any ideas? smile
I tried to build pragha-git from AUR, but the PKGBUILD seems broken. I'm using pulse on ALSA btw.


Thanks,

lynix

Offline

#2 2013-02-24 15:24:35

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: Pragha music player plays only once

Hi lynix,

Gstreamer error "GStreamer encountered a general stream error."

In that format have your music?.
Is usually due to dependency problems.. Make sure you have installed gstreamer*good, *bad, *ugly.. etc.  (Depends on the type of music)

Also see if it return better info:

GST_DEBUG=*:2 pragha

And if can play wich command line:

gst-launch-0.10 playbin2 uri=file:///path/to/foo.mp3

(If use gstreamer-0.10)

gst-launch-1.0 playbin uri=file:///path/to/foo.mp3

(if use gstreamer-1.0)

Kind regards,
Matias.

Offline

#3 2013-02-24 15:47:40

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: Pragha music player plays only once

Hi Matias,

running with GST_DEBUG=*:2 gives me this:

0:00:02.018194781 11760       0x8f92d0 WARN      playsinkconvertbin gstplaysinkconvertbin.c:481:gst_play_sink_convert_bin_cache_converter_caps:<GstPlaySinkAudioConvert@0x7ff32c038010> No conversion elements
0:00:02.027871986 11760 0x7ff32c02b630 WARN           basetransform gstbasetransform.c:1304:gst_base_transform_setcaps:<equalizer> transform could not transform audio/x-raw-float, endianness=(int)1234, width=(int)32, rate=(int)44100, channels=(int)2 in anything we support
0:00:02.027994151 11760       0x8f92d0 WARN               baseparse gstbaseparse.c:2890:gst_base_parse_loop:<mpegaudioparse0> error: streaming stopped, reason not-negotiated

Playing with gst-launch-0.10 works fine, just like playing anything with any other music player...


Regards,

lynix

Offline

#4 2013-02-24 16:34:23

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: Pragha music player plays only once

Ok,
The debug does not say much .. But maybe by the equlizador. Ignoring the equalizer, the audio engine, is exactly like the other players.

Test force Pulseaudio in Preferences or Alsa and restart. These depend on gst-plugins-good-plugins. Make sure you have installed this.

Offline

#5 2013-02-24 16:42:30

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: Pragha music player plays only once

Okay, I found the difference:

Manually selecting "pulse" as output breaks playback, setting to "ALSA" or "default" recovers playback again. The setting seems to be applied only on restart, which I was not aware of - thanks for the hint smile

I do have all gst-plugins-* packages installed, as well as gstreamer0.10-*-plugins. I also did select "Pulseaudio" as default output in `gstreamer-properties` and the test tone works, so I don't understand why output in Pulse mode is not working...

Offline

#6 2013-02-24 16:58:43

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: Pragha music player plays only once

Ok,
Yes. only works on restart..
Unfortunately.. always is the same .. The addition of advanced features, always adds problems!. haha..

Curiosity.. Can pavucontrol instaled? Setting "default".. and see if the volume of pragha show [Alsa] or not..

Regards.

Offline

#7 2013-02-24 17:02:53

msdelos
Member
Registered: 2008-07-11
Posts: 171

Re: Pragha music player plays only once

Last test.. smile
gst-launch-0.10 playbin2 uri=file:///path/to/foo.mp3 audio-sink=pulsesink

Offline

#8 2013-02-24 17:38:44

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: Pragha music player plays only once

msdelos wrote:

Last test.. smile
gst-launch-0.10 playbin2 uri=file:///path/to/foo.mp3 audio-sink=pulsesink

Works fine, strange... big_smile

Offline

Board footer

Powered by FluxBB