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 774041 - ogg: gzipped files won't play
ogg: gzipped files won't play
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-07 09:00 UTC by Philippe Normand
Modified: 2018-11-03 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philippe Normand 2016-11-07 09:00:18 UTC
Some people have the strange idea of compressing ogg files with gzip and serve that on their HTTP server:

https://d1x2efl61akomv.cloudfront.net/assets/knock.ogg

This asset is from http://appear.in

Sebastian suggested a gzip demuxer/decoder could be added to support this use-case.
Comment 1 Sebastian Dröge (slomo) 2016-11-07 09:13:36 UTC
If someone wants to work on that, sure. Generally it seems like a silly idea to do that.

Would also have to consider how that can work in the context of decodebin(3), as we would basically have a "decoder" before the demuxer now.
Comment 2 Tim-Philipp Müller 2016-11-07 10:51:37 UTC
Or maybe we can tell souphttpsrc to unzip that transparently for us?
Comment 3 Víctor Manuel Jáquez Leal 2016-11-07 11:13:09 UTC
Some HTTP servers can be configured to compress its output on the fly [1] and perhaps the admin forgot to avoid compression on ogg files.

I guess what Tim mentions makes sense, since it would be part of the HTTP protocol.

1. https://httpd.apache.org/docs/2.0/mod/mod_deflate.html
Comment 4 Sebastian Dröge (slomo) 2016-11-07 11:23:53 UTC
If it's part of the HTTP protocol, then souphttpsrc already handles that transparently for us. The problem here is, that it is not.
Comment 5 Philippe Normand 2016-11-07 14:05:01 UTC
(In reply to Tim-Philipp Müller from comment #2)
> Or maybe we can tell souphttpsrc to unzip that transparently for us?

Do you mean that if the source element receives a response with the gzip mime-type it would decompress the data before pushing on the source pad?
Comment 6 Tim-Philipp Müller 2016-11-07 14:18:12 UTC
> Do you mean that if the source element receives a response with the gzip
> mime-type it would decompress the data before pushing on the source pad?

No, I was wondering if we can tell libsoup to do this for us automatically.
Comment 7 GStreamer system administrator 2018-11-03 13:56:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/436.