Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134950 - Can't play streams by default with media-sound/bmpx
Summary: Can't play streams by default with media-sound/bmpx
Status: VERIFIED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-30 12:22 UTC by Sebastian Noack
Modified: 2007-10-06 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds an useflag for enabling play to stream (bmpx-0.14.4-with-stream.ebuild.patch,735 bytes, patch)
2006-05-30 12:31 UTC, Sebastian Noack
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Noack 2006-05-30 12:22:02 UTC
Hi,

I'm not able listen to streams immediate after emerging media-sound/bmpx since they switched from xine-lib to gstreamer (I gues it was in version 0.13), because of gstremer needs >=media-plugins/gst-plugins-neon-0.10.3 for listen to a stream, but to play the streams listed in bmpx's radio stream menu you also need >=media-plugins/gst-plugins-mad-0.10.3. Don't know if you need it in generally to play streams.

Futhermore it doesn't works with the current latest version of media-plugins/gst-plugins-neon in portage, which is 0.10.1, because of in version 0.10.2 or 0.10.3 they changed the interface to don't use the "uri" argument anymore but the "location" argument instead, which bmpx expect.

To enable bmpx listen to streams you need to apply my patch in the attachment and add media-plugins/gst-plugins-neon-0.10.3 to portage, what you can do by copy media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.1.ebuild to media-plugins/gst-plugins-neon/gst-plugins-neon-0.10.3.ebuild and digest it by ebuild (and of cause reemerge media-sound/bmpx).

Best Regards
Sebastian Noack
Comment 1 Sebastian Noack 2006-05-30 12:31:33 UTC
Created attachment 87905 [details, diff]
Adds an useflag for enabling play to stream

I have to add that my patch doesn't adds support for play streams by default. It  adds just the useflag "stream" which makes bmpx dependent on the packages mentioned above.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2006-06-01 12:48:22 UTC
Chutzpah, please don't add this yet. BMPx needs unreleased development version of gst-plugins-bad (gst-plugins-neon) 0.10.3.1 for even a bit stable HTTP streaming, with 0.10.3 it just crashes. Randomly. You don't want such bug report.

HTTP streaming can also be done by using gst-plugins-gnomevfs, and Portage does have new enough version of it. But it is relatively unstable too.

If one really wants there features, considering all of what said before.. I'm sure they will find a way.

Also, that patch adds -mad for USE="stream" depends.. which doesn't make sense to me, streams can be only played with it?

Thanks, drac
Comment 3 Patrick McLean gentoo-dev 2006-06-01 12:53:48 UTC
Since the streaming support is not stable at the moment, I will close this for now. This can be reopened once there is stable streaming support in bmpx.
Comment 4 Sebastian Noack 2006-06-01 13:04:14 UTC
Yes, it adds gst-plugins-mad and yes it doesn't seems to make sense also to me, but unfortunately bmpx crashs if you try listen to http-streams and you don't have it installed.

Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using the latest stable version 0.10.4. Which version do you claim that would work?

Well bmpx isn't stable at all on gentoo and we could add an additional hint via ewarn to the ebuild, to warn that this useflag isn't rock-stable, if you want.

Regards
Sebastian
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-06-01 16:17:03 UTC
(In reply to comment #4)
> Yes, it adds gst-plugins-mad and yes it doesn't seems to make sense also to me,
> but unfortunately bmpx crashs if you try listen to http-streams and you don't
> have it installed.

Which is why I claim it isn't stable yet.. no sense at all != stable

> Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using
> the latest stable version 0.10.4. Which version do you claim that would work?

Latest vesion, 0.14.4. 

For me, -gnomevfs provides somewhat working streaming support.. at least, more stable than current -neon. Anyway, this randomity.. just proofs USE="stream" isn't ready to go. I mean, unsupported version of -neon works for you.. supported version of -gnomevfs works for me. Wouldn't you agree? :-)

> Well bmpx isn't stable at all on gentoo and we could add an additional hint via
> ewarn to the ebuild, to warn that this useflag isn't rock-stable, if you want.

Isn't stable? Latest stable release is 0.14.4 and it's been stable here, on Gentoo, but only when using it without streaming support.

> 
> Regards
> Sebastian
> 

godspeed, drac
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2006-06-01 16:21:44 UTC
> Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using
> the latest stable version 0.10.4. Which version do you claim that would work?

You mean gst-plugins-gnomevfs version.. 0.10.7.. latest version in ~x86. BTW, media-sound/bmpx is also marked ~
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2006-06-01 16:21:44 UTC
> Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using
> the latest stable version 0.10.4. Which version do you claim that would work?

You mean gst-plugins-gnomevfs version.. 0.10.7.. latest version in ~x86. BTW, media-sound/bmpx is also marked ~×86.

ta, drac
Comment 8 Sebastian Noack 2006-06-02 04:13:52 UTC
> Isn't stable? Latest stable release is 0.14.4 and it's been stable here, on
> Gentoo, but only when using it without streaming support.

>> Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using
>> the latest stable version 0.10.4. Which version do you claim that would work?
>
> You mean gst-plugins-gnomevfs version.. 0.10.7.. latest version in ~x86. BTW,
> media-sound/bmpx is also marked ~
Comment 9 Sebastian Noack 2006-06-02 04:13:52 UTC
> Isn't stable? Latest stable release is 0.14.4 and it's been stable here, on
> Gentoo, but only when using it without streaming support.

>> Btw, streaming via gst-plugins-gnomevfs doesn't work. At least if you are using
>> the latest stable version 0.10.4. Which version do you claim that would work?
>
> You mean gst-plugins-gnomevfs version.. 0.10.7.. latest version in ~x86. BTW,
> media-sound/bmpx is also marked ~×86.

Ebuilds with the keywords ~x86 are classified as unstable, so bmpx and gst-plugins-gnomevfs-0.10.7 aren't stable on gentoo.

> For me, -gnomevfs provides somewhat working streaming support.. at least, more
> stable than current -neon. Anyway, this randomity.. just proofs USE="stream"
> isn't ready to go.

Well, we could implement a useflag for neon and another one for gnomevfs. But I think that the latest cvs-version 0.10.3.1 of gst-plugins-neon is more stable than gst-plugins-gnomevfs in any case. So another approach would be to get gst-plugins-neon from the cvs by the ebuild.

Regards
Sebastian
Comment 10 Patrick McLean gentoo-dev 2006-06-02 11:25:29 UTC
Whenever possible, we try to avoid ebuilds of CVS versions.

Packages that have ~arch keywords are supposed to be candidates for eventual stabilization, if I enable a known broken feature in a ~arch package then there is no chance the package will ever be stabilized, even after all it's deps are stabilized.
Comment 11 Renato Caldas 2007-10-06 13:35:12 UTC
Hello,

gst-plugins-neon is in portage. I guess this should trigger a "wake up" for this bug, right?
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2007-10-06 14:49:08 UTC
Wrong, not going to add any USE flags for optional runtime depends to BMPX ebuild because it takes so long to build..

Feel free to install any plugins you want separately.
Comment 13 Renato Caldas 2007-10-06 14:55:29 UTC
bmpx-0.40.10 crashes on playing anything without gst-plugins-mad. So gst-plugins-mad should be a runtime dependency of bmpx. I'm not sure weather I should open a new bug report or use this one, but that was the reason for my ping :)