New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 25 users
Status: Fixed
Owner:
Email to this user bounced
Closed: Jun 2011
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug

Blocking:
issue 56570

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment
Chrome doesn't play audio files if they are gzipped
Reported by jon...@gmail.com, Jun 24 2010 Back to list
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.

 
Labels: -Area-Undefined Area-Internals Internals-Video
Status: Assigned
Do you have any sample links?

hclam: can you investigate and re-assign/triage as needed?
Comment 3 by jon...@gmail.com, 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.

Labels: not-extensions
Labels: -Internals-Video -Area-Internals Area-WebKit Feature-Media
Comment 6 by karen@chromium.org, Jul 19 2010
Labels: Mstone-7 kg
Andrew can you triage these?
Labels: -not-extensions -kg OS-All HelpWanted
Hrmm.. I don't think anyone has reproduced this yet.

Will leave in Mstone-7 for time being.
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
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
Some info on how to enable the feature in apache
http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

Original report was for Mac.. does this happen on Linux/Windows?  We might also need a test server.
Labels: Mstone-8
Labels: -Mstone-8 Mstone-9
ddorwin might have found something quite interesting relating to  issue 56570 !
any updates?
 Issue 33437  has been merged into this issue.
Labels: -mstone-9 Mstone-10
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.
ping
Comment 19 by kerz@chromium.org, Dec 9 2010
Labels: -Mstone-10 MovedFrom-10 Mstone-11
P2 bugs with an owner that are not marked as started are being automatically moved to mstone:11.
Labels: -MovedFrom-10 -Mstone-11 Mstone-12
Status: Available
Comment 21 by mal@google.com, Feb 14 2011
Labels: -HelpWanted GoodFirstBug
Labels: -GoodFirstBug bulkmove Hotlist-GoodFirstBug
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.
Labels: -Mstone-12 Mstone-13
Labels: Pri-1
Labels: ImportantForGames
Labels: -bulkmove -Hotlist-GoodFirstBug -Mstone-13 Mstone-14
Labels: -ImportantForGames Hotlist-ImportantForGames
Comment 28 by enal@chromium.org, Jun 13 2011
Owner: enal@chromium.org
Project Member Comment 29 by bugdroid1@chromium.org, Jun 17 2011
Project Member Comment 30 by bugdroid1@chromium.org, 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
------------------------------------------------------------------------
Project Member Comment 31 by bugdroid1@chromium.org, 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
------------------------------------------------------------------------
enal can you update status?
Comment 33 by enal@chromium.org, Jun 29 2011
Status: Fixed
Project Member Comment 34 by bugdroid1@chromium.org, Oct 13 2012
Blocking: -chromium:56570 chromium:56570
Labels: Restrict-AddIssueComment-Commit
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.
Project Member Comment 35 by bugdroid1@chromium.org, Mar 10 2013
Labels: -Area-WebKit -Feature-Media -Mstone-14 Cr-Content Cr-Internals-Media M-14
Project Member Comment 36 by bugdroid1@chromium.org, Mar 13 2013
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Project Member Comment 37 by bugdroid1@chromium.org, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Sign in to add a comment