Chrome doesn't play audio files if they are gzipped
Reported by
jon...@gmail.com,
Jun 24 2010
|
||||||||||||||||||||||||
Issue description
Chrome Version :
Google Chrome 5.0.375.70 (Official Build 48679)
WebKit 533.4
V8 2.1.10.13
User Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:OK
Firefox 3.x:OK
IE 7:?
IE 8:?
What steps will reproduce the problem?
1.Setup web server to server .ogg and .mp3 files gzipped (and as audio/ogg or audio/mpeg, although this probably isn't essential).
2. Clear cache
3. type url of path to your ogg or mp3 file into browser location entry field.
4. Try to play sound.
What is the expected result?
Sound plays.
What happens instead?
No sound plays.
Changing the server settings to avoid gzipping .ogg and .mp3 extensions (and clearing cache) fixes the problem.
While there is no good reason to attempt to compress these already compressed audio files, I imagine lots of people will forget to add .mp3 and .ogg to their list of 'dont compress' file types, and will have a hard time working out why this fails on chrome (I spent a long time trying to work out why my html5 var snd = new Audio(path); snd.play();
was not working.
Safari and Firefox both handle the compressed streams fine.
This is on the Mac, not verified on other OSen.
This may be a duplicate of http://code.google.com/p/chromium/issues/detail?id=33437, but as it refers to local versus remote, instead of compressed versus uncompressed, I've submitted this as a separate report.
,
Jun 25 2010
Do you have any sample links? hclam: can you investigate and re-assign/triage as needed?
,
Jun 25 2010
sorry, I don't have any public sample links at the moment, as I've since disabled gzip for .ogg and .mp3 on my live server.
,
Jun 30 2010
,
Jul 19 2010
,
Jul 19 2010
Andrew can you triage these?
,
Jul 19 2010
Hrmm.. I don't think anyone has reproduced this yet. Will leave in Mstone-7 for time being.
,
Jul 23 2010
Reproduced this, and it's a pain. http://chat.mibbit.com/test.mp3 <- (gzipped) doesn't play in Chrome http://chat.mibbit.com/test2.mp3 <- does play in Chrome
,
Jul 26 2010
jimmy.moore: Did you remove those files? I'm getting 404s... $ curl -I http://chat.mibbit.com/test.mp3 HTTP/1.1 404 Not Found Date: Mon, 26 Jul 2010 20:41:15 GMT Server: Apache/2.2.12 (Ubuntu) Vary: Accept-Encoding Content-Type: text/html; charset=iso-8859-1 $ curl -I http://chat.mibbit.com/test2.mp3 HTTP/1.1 404 Not Found Date: Mon, 26 Jul 2010 20:41:24 GMT Server: Apache/2.2.12 (Ubuntu) Vary: Accept-Encoding Content-Type: text/html; charset=iso-8859-1
,
Aug 13 2010
Some info on how to enable the feature in apache http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
,
Sep 15 2010
Original report was for Mac.. does this happen on Linux/Windows? We might also need a test server.
,
Sep 27 2010
,
Oct 11 2010
,
Oct 14 2010
ddorwin might have found something quite interesting relating to issue 56570 !
,
Oct 26 2010
any updates?
,
Oct 29 2010
Issue 33437 has been merged into this issue.
,
Nov 5 2010
Given our current velocity, we need to punt 500 bugs from m9. Moving p2 bugs, that are not started and have an owner, to the next milestone. If this issue absolutely needs to be fixed in the current milestone please move it back, however, at this time the focus should be on p1 bugs.
,
Dec 1 2010
ping
,
Dec 9 2010
P2 bugs with an owner that are not marked as started are being automatically moved to mstone:11.
,
Feb 3 2011
,
Feb 14 2011
,
Mar 18 2011
Chrome Version :
Google Chrome 5.0.375.70 (Official Build 48679)
WebKit 533.4
V8 2.1.10.13
User Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:OK
Firefox 3.x:OK
IE 7:?
IE 8:?
What steps will reproduce the problem?
1.Setup web server to server .ogg and .mp3 files gzipped (and as audio/ogg or audio/mpeg, although this probably isn't essential).
2. Clear cache
3. type url of path to your ogg or mp3 file into browser location entry field.
4. Try to play sound.
What is the expected result?
Sound plays.
What happens instead?
No sound plays.
Changing the server settings to avoid gzipping .ogg and .mp3 extensions (and clearing cache) fixes the problem.
While there is no good reason to attempt to compress these already compressed audio files, I imagine lots of people will forget to add .mp3 and .ogg to their list of 'dont compress' file types, and will have a hard time working out why this fails on chrome (I spent a long time trying to work out why my html5 var snd = new Audio(path); snd.play();
was not working.
Safari and Firefox both handle the compressed streams fine.
This is on the Mac, not verified on other OSen.
This may be a duplicate of http://code.google.com/p/chromium/issues/detail?id=33437, but as it refers to local versus remote, instead of compressed versus uncompressed, I've submitted this as a separate report.
,
Mar 30 2011
,
Mar 30 2011
,
May 18 2011
,
May 18 2011
,
May 26 2011
,
Jun 13 2011
,
Jun 17 2011
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=89532
------------------------------------------------------------------------
r89532 | enal@chromium.org | Fri Jun 17 11:56:07 PDT 2011
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_http_job.cc?r1=89532&r2=89531&pathrev=89532
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_unittest.cc?r1=89532&r2=89531&pathrev=89532
M http://src.chromium.org/viewvc/chrome/trunk/src/media/filters/ffmpeg_demuxer.cc?r1=89532&r2=89531&pathrev=89532
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader_unittest.cc?r1=89532&r2=89531&pathrev=89532
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader.cc?r1=89532&r2=89531&pathrev=89532
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/simple_data_source.cc?r1=89532&r2=89531&pathrev=89532
Not allow compression when requesting multimedia
because ffmpeg does not expect compressed files.
(It does not make sense to compress audio/video anyways...)
http://codereview.chromium.org/7044092
BUG= 47381
TEST=http://www.deafmac.org/html5/grinchsample.mp4 (Please clear browser cache, otherwise it can contain original GZIP-ed file requested by old browser)
Review URL: http://codereview.chromium.org/7044092
------------------------------------------------------------------------
,
Jun 17 2011
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=89546
------------------------------------------------------------------------
r89546 | akalin@chromium.org | Fri Jun 17 13:30:19 PDT 2011
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_http_job.cc?r1=89546&r2=89545&pathrev=89546
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_unittest.cc?r1=89546&r2=89545&pathrev=89546
M http://src.chromium.org/viewvc/chrome/trunk/src/media/filters/ffmpeg_demuxer.cc?r1=89546&r2=89545&pathrev=89546
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader_unittest.cc?r1=89546&r2=89545&pathrev=89546
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader.cc?r1=89546&r2=89545&pathrev=89546
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/simple_data_source.cc?r1=89546&r2=89545&pathrev=89546
Revert 89532 - Not allow compression when requesting multimedia
because ffmpeg does not expect compressed files.
(It does not make sense to compress audio/video anyways...)
http://codereview.chromium.org/7044092
BUG= 47381
TEST=http://www.deafmac.org/html5/grinchsample.mp4 (Please clear browser cache, otherwise it can contain original GZIP-ed file requested by old browser)
Review URL: http://codereview.chromium.org/7044092
TBR=enal@chromium.org
Review URL: http://codereview.chromium.org/7205011
------------------------------------------------------------------------
,
Jun 21 2011
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=89858
------------------------------------------------------------------------
r89858 | enal@chromium.org | Tue Jun 21 11:05:51 PDT 2011
Changed paths:
M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/net/fake_external_tab.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_http_job.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_unittest.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/media/filters/ffmpeg_demuxer.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader_unittest.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/buffered_resource_loader.cc?r1=89858&r2=89857&pathrev=89858
M http://src.chromium.org/viewvc/chrome/trunk/src/webkit/glue/media/simple_data_source.cc?r1=89858&r2=89857&pathrev=89858
Not allow compression when requesting multimedia
because ffmpeg does not expect compressed files.
(It does not make sense to compress audio/video anyways...)
http://codereview.chromium.org/7044092
BUG= 47381
TEST=http://www.deafmac.org/html5/grinchsample.mp4 (Please clear browser cache, otherwise it can contain original GZIP-ed file requested by old browser)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89532
Review URL: http://codereview.chromium.org/7044092
------------------------------------------------------------------------
,
Jun 29 2011
enal can you update status?
,
Jun 29 2011
,
Oct 13 2012
This issue has been closed for some time. No one will pay attention to new comments. If you are seeing this bug or have new data, please click New Issue to start a new bug.
,
Mar 10 2013
,
Mar 13 2013
,
Apr 6 2013
|
||||||||||||||||||||||||
►
Sign in to add a comment |
||||||||||||||||||||||||
Comment 1 by stuartmorgan@chromium.org
, Jun 25 2010