My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 47381: Chrome doesn't play audio files if they are gzipped
25 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  e...@chromium.org
Closed:  Jun 2011

Blocking:
issue 56570

Restricted
  • Only users with EditIssue permission may comment.


Sign in to add a comment
 
Reported by jon...@gmail.com, Jun 23, 2010
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 https://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
#1 stuartmorgan@chromium.org
(No comment was entered for this change.)
Labels: -Area-Undefined Area-Internals Internals-Video
Jun 25, 2010
#2 scherkus@chromium.org
Do you have any sample links?

hclam: can you investigate and re-assign/triage as needed?
Status: Assigned
Owner: hc...@chromium.org
Jun 25, 2010
#3 jon...@gmail.com
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
#4 erik...@chromium.org
(No comment was entered for this change.)
Labels: not-extensions
Jul 19, 2010
#5 scherkus@chromium.org
(No comment was entered for this change.)
Labels: -Internals-Video -Area-Internals Area-WebKit Feature-Media
Jul 19, 2010
#6 ka...@chromium.org
Andrew can you triage these?
Owner: scher...@chromium.org
Labels: Mstone-7 kg
Jul 19, 2010
#7 scherkus@chromium.org
Hrmm.. I don't think anyone has reproduced this yet.

Will leave in Mstone-7 for time being.
Owner: v...@chromium.org
Labels: -not-extensions -kg OS-All HelpWanted
Jul 23, 2010
#8 jimmy.mo...@gmail.com
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
#9 scherkus@chromium.org
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
Sep 14, 2010
#11 scherkus@chromium.org
Original report was for Mac.. does this happen on Linux/Windows?  We might also need a test server.
Sep 27, 2010
#12 scherkus@chromium.org
(No comment was entered for this change.)
Labels: Mstone-8
Oct 11, 2010
#13 scherkus@chromium.org
(No comment was entered for this change.)
Labels: -Mstone-8 Mstone-9
Oct 13, 2010
#14 scherkus@chromium.org
ddorwin might have found something quite interesting relating to  issue 56570 !
Owner: ddor...@chromium.org
Oct 25, 2010
#15 scherkus@chromium.org
any updates?
Oct 29, 2010
#16 ddor...@chromium.org
 Issue 33437  has been merged into this issue.
Nov 5, 2010
#17 lafo...@chromium.org
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.
Labels: -mstone-9 Mstone-10
Dec 1, 2010
#18 albe...@chromium.org
ping
Dec 9, 2010
#19 kerz@chromium.org
P2 bugs with an owner that are not marked as started are being automatically moved to mstone:11.
Labels: -Mstone-10 MovedFrom-10 Mstone-11
Feb 2, 2011
#20 scherkus@chromium.org
(No comment was entered for this change.)
Status: Available
Owner: ---
Labels: -MovedFrom-10 -Mstone-11 Mstone-12
Feb 14, 2011
#21 mal@google.com
(No comment was entered for this change.)
Labels: -HelpWanted GoodFirstBug
Mar 18, 2011
#22 lafo...@chromium.org
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

<b>URLs (if applicable) :</b>
<b>Other browsers tested:</b>
<b>Add OK or FAIL after other browsers where you have tested this issue:</b>
     Safari 4:OK
  Firefox 3.x:OK
         IE 7:?
         IE 8:?

<b>What steps will reproduce the problem?</b>
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.

<b>What is the expected result?</b>
Sound plays.

<b>What happens instead?</b>
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 https://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: -GoodFirstBug bulkmove Hotlist-GoodFirstBug
Mar 30, 2011
#23 scherkus@chromium.org
(No comment was entered for this change.)
Labels: -Mstone-12 Mstone-13
Mar 30, 2011
#24 scherkus@chromium.org
(No comment was entered for this change.)
Labels: Pri-1
May 18, 2011
#25 sethl...@chromium.org
(No comment was entered for this change.)
Labels: ImportantForGames
May 18, 2011
#26 scherkus@chromium.org
(No comment was entered for this change.)
Labels: -bulkmove -Hotlist-GoodFirstBug -Mstone-13 Mstone-14
May 26, 2011
#27 lafo...@chromium.org
(No comment was entered for this change.)
Labels: -ImportantForGames Hotlist-ImportantForGames
Jun 13, 2011
#28 e...@chromium.org
(No comment was entered for this change.)
Owner: e...@chromium.org
Jun 17, 2011
#29 bugdroid1@chromium.org
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
#30 bugdroid1@chromium.org
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
#31 bugdroid1@chromium.org
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
#32 scherkus@chromium.org
enal can you update status?
Jun 29, 2011
#33 e...@chromium.org
(No comment was entered for this change.)
Status: Fixed
Oct 12, 2012
#34 bugdroid1@chromium.org
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.
Labels: Restrict-AddIssueComment-Commit
Blocking: -chromium:56570 chromium:56570
Mar 10, 2013
#35 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-WebKit -Feature-Media -Mstone-14 Cr-Content Cr-Internals-Media M-14
Mar 13, 2013
#36 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Apr 5, 2013
#37 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Cr-Content Cr-Blink
Sign in to add a comment

Powered by Google Project Hosting