After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94615 - Support for ogg file
Support for ogg file
Status: RESOLVED FIXED
Product: libgnome
Classification: Deprecated
Component: general
2.0.x
Other other
: Normal enhancement
: future
Assigned To: libgnome maintainer
libgnome maintainer
: 82341 324990 325033 (view as bug list)
Depends on:
Blocks: 346059
 
 
Reported: 2002-10-01 16:55 UTC by Christian Marillat
Modified: 2008-08-28 09:08 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
libgnome_gstreamer_v000.patch (29.64 KB, patch)
2005-03-01 18:55 UTC, Priit Laes (IRC: plaes)
needs-work Details | Review

Description Christian Marillat 2002-10-01 16:55:30 UTC
hi,

Only .wav files are supported it is possible to include .ogg file too ?
Comment 1 Ben FrantzDale 2002-12-07 01:36:12 UTC
Can you provide more information? What program can't open oggs?
Comment 2 Christian Marillat 2002-12-07 16:29:15 UTC
All program related to GNOME (ho!) can only play wav sounds.
Comment 3 Ben FrantzDale 2002-12-07 19:12:04 UTC
Do you mean things like XMMS aren't playing OGGs (in which case you
should install libogg) or do you mean you'd like to use oggs for your
system sounds?

If you could give some speciffic examples, that would be very helpful.
Comment 4 Christian Marillat 2002-12-07 23:02:27 UTC
Yes, I'm talking about sound events.
Comment 5 Kjartan Maraas 2003-05-12 13:07:55 UTC
Yes, for sound events .wav is the only supported format so far. We'll
see what happens with the whole sound server issue I guess.
Comment 6 Kjartan Maraas 2003-07-01 11:19:53 UTC
Would be really nice to nail this for 2.4.x, no? But it seems like
we're stuck with audiofile which doesn't support ogg at all :-(
Comment 7 Christian Marillat 2003-07-01 12:18:58 UTC
Stuck ? Why to not use libogg ? The latest audiofile release is 2
years old...
Comment 8 Kjartan Maraas 2003-07-10 14:37:57 UTC
I think the way we need to go is to make use of gstreamer for this.
Not sure when/how that is going to happen, but...
Comment 9 Christian Marillat 2003-07-10 14:59:11 UTC
gstreamer to simply play an ogg file ? Franckly no.
Comment 10 Christian Fredrik Kalager Schaller 2004-01-03 16:49:04 UTC
*** Bug 117305 has been marked as a duplicate of this bug. ***
Comment 11 Christian Fredrik Kalager Schaller 2004-01-03 16:49:58 UTC
Adding creating a patch for this to GStreamer todo. Using GStreamer
for this will open for almost any kind of sound file being used.
Comment 12 Christian Fredrik Kalager Schaller 2004-01-04 10:28:16 UTC
*** Bug 82341 has been marked as a duplicate of this bug. ***
Comment 13 Priit Laes (IRC: plaes) 2005-03-01 18:55:47 UTC
Created attachment 38118 [details] [review]
libgnome_gstreamer_v000.patch

RFC patch. Possibly not working, possibly breaks API.
Comment 14 Ronald Bultje 2005-03-12 00:22:52 UTC
Hi,

the patch uses wavparse statically (and doesn't take the sometimes-pad into
account). It may be better to use decodebin, since that allows for playback of
any sound. It is fairly fast, although plugging may still take several tenths of
seconds (worst-case).

The cached samples can be improved. You currently cache pipelines, which is a
nice step since it covers pipeline allocation. However, ideally, you'd cache
until the first sample is available, so that actual playback is *instant*. We
call this preroll. We can currently do it, but it's not all too easy. I can
adapt the patch to do that in 1-2 hours, though.

A better solution may be to wait for 0.9 to have automatic preroll. Besides
that, I'd argue that GStreamer currently has too many issues to be a libgnomeui
dependency (and therefore part of the platform). The code would be the same, but
internals would be easier.

Then again, I'm not sure of the opinion of the maintainers on a gst dependency.
I'm not libgnome maintainer.
Comment 15 Teppo Turtiainen 2005-12-27 14:49:42 UTC
*** Bug 325033 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Røsdal 2006-06-25 20:48:47 UTC
Is anyone currently working on this bug?

It would be really useful to have .ogg support in libgnome...
Comment 17 Kjartan Maraas 2006-08-08 14:20:39 UTC
Not to my knowledge, no. The api in question here is only used for system events though.
Comment 18 Kjartan Maraas 2007-01-12 12:20:00 UTC
*** Bug 324990 has been marked as a duplicate of this bug. ***
Comment 19 Kjartan Maraas 2008-08-28 09:08:19 UTC
libcanberra which is introduced as a replacement for this api supports ogg. Closing this now.