New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 611517 link

Starred by 47 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Support AC-3 and E-AC-3.

Reported by fer...@gmail.com, May 12 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Example URL:

Steps to reproduce the problem:
Play video file with AC3 or EAC3 audio codec in <video> tag.

What is the expected behavior?
No audio plays.

What went wrong?
OS X natively supports AC3 and EAC3 audio via CoreAudio, as of OS X El Capitan.

See http://developer.dolby.com/news.aspx

Since most OS X users are on El Capitan already, there's a huge win to be had by just "passing through" to CoreAudio, similar to what the Chromecast already does when a TV has native AC3 support.

Did this work before? No 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.94  Channel: n/a
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
 

Comment 1 by fer...@gmail.com, May 12 2016

Sorry, the correct link to the AC3/EAC3 announcement is here: http://developer.dolby.com/News/Dolby_Audio_Support_on_iOS.aspx
Components: -Internals>Media Internals>Media>Audio
Owner: renganat...@chromium.org
Status: Assigned (was: Unconfirmed)
feature request, give to PM to evaluate.

Comment 3 by fer...@gmail.com, Jul 20 2016

It's also worth noting that Windows (as of Windows 8) also ships with a built-in AC3 decoder. See: http://developer.dolby.com/tools-tech.aspx#windows

Microsoft Edge and Safari are both shipping AC3 support using the built-in, free-to-use AC3 decoders in macOS and Windows. See http://developer.dolby.com/tools-tech.aspx#browser

Has there been any progress on AC3 support?

Comment 4 by dcpo...@gmail.com, Oct 13 2016

I found a nice test video. MP4 container, AC3 audio track.

The Dolby Digital "Amaze" trailer: http://thedigitaltheater.com/index.php/dolby-trailers/

Download link: https://we.tl/wRwJ3EJt32

I've attached a screenshot of the codec details.

This video works perfectly in Safari. It should also work in Edge. Chrome plays the video, but with no audio.
image.png
83.1 KB View Download
Hello all, 

Thanks for writing to support AC3. As mentioned, Chrome currently doesn't support the AC3 codec. "Passing through" is unfortunately, not a simple decision either for reasons of security and licensing. 

That said, I would like to use this bug to gather interest on AC-3 support. 

Please star it to a) be updated on any decisions and b) it gives us an indication on how many users and/or providers might be interested in this. 

Thanks. 

Comment 6 by fer...@gmail.com, Oct 14 2016

> "Passing through" is unfortunately, not a simple decision either for reasons of security and licensing. 

I'm not a lawyer and haven't seen the exact terms, but my understanding is that Apple and Microsoft have already paid licensing fees to Dolby so that all first and third-party apps on their platforms can use the codec without needing to negotiate a license.

Also, FWIW, Dolby wrote this in their recent SEC filings: "Patents relating to our Dolby Digital technologies, from which we principally derive our licensing revenue, have begun to expire and the remaining patents relating to this technology generally expire between now and 2017."

> That said, I would like to use this bug to gather interest on AC-3 support. 

Sounds good.
This issue is important, because many other projects that depend on Chromium use it to play video and without this issue getting fixed those projects cannot proceed with features that users request or have to implement costly workarounds.
Finally, on 19.03.2017, the last of Dolby's patents over the AC-3 codec expired. You can read more about it on https://ac3freedomday.org (cached page: https://web.archive.org/web/20170401170436/https://ac3freedomday.org).

Comment 9 Deleted

I think AC-3 decoding support should be enabled in Chromium for all platforms, not only for macOS.
Cc: markdavidscott@google.com
Labels: -Type-Bug Type-Feature
Owner: hbengali@chromium.org
Reassigning after PM changes. Keep in mind most content on the internet (DD+, etc) is E-AC3 not AC3, so adding support AC3 to Chromium does not bring much benefit.
E-AC-3 / Enhanced AC-3 / Dolby Digital Plus patent US6246345 (https://patents.google.com/patent/US6339757) only affects encoders, not decoders.

Comment 13 Deleted

Comment 14 Deleted

I've opened  issue #713660 
Many projects e.g. Electron (https://electron.atom.io) and Chromecast firmware depend on Chromium formats support.
Cc: dalecur...@chromium.org
 Issue 713660  has been merged into this issue.
Summary: Support AC-3 and E-AC-3. (was: Support AC-3 and E-AC-3 on OS X by using CoreAudio)
Labels: -OS-Mac OS-All

Comment 20 by lesderid@gmail.com, May 23 2017

I think it would be better to split this issue into two different issues. While AC-3's patents have expired, it seems that E-AC-3 patents have not.

Comment 21 by dax2...@gmail.com, May 23 2017

As far as I know, the decoder of ac3 and e-ac3 is the same. So it's not necessary to split this issue.

Comment 22 by lesderid@gmail.com, May 23 2017

Are you sure this is the case? Wikipedia says "Dolby Digital Plus [E-AC-3] bitstreams are not directly backward compatible with legacy Dolby Digital [AC-3] decoders". It doesn't have a source for that claim though...

Comment 23 by lesderid@gmail.com, May 23 2017

When deciding on whether to add this codec or not, please also note that a lot of video content (e.g. DVD) uses AC-3 as its audio codec. Since Chromium OS's built-in video player uses the <video> element too, it's not only about codecs used on the web, but also other commonly used codecs.

As for the specific implementation (see [1]), I believe it would be best to add this to the set of codecs for the 'Common' branding, since there doesn't seem to be a 'ChromiumOS' branding. Adding it to the 'ChromeOS' branding would make this format unnecessarily unavailable to Chromium OS users, now that AC-3 is no longer patent encumbered. If adding it to the 'Common' branding would pose an issue (i.e. there are reasons not to support it on platforms other than Chromium OS/Chrome OS), it would likely be best to add a 'ChromiumOS' branding.

[1] https://chromium.googlesource.com/chromium/third_party/ffmpeg/+/master/chromium/scripts/build_ffmpeg.py
Are there any update on this? 

For example Fedora is enabling the support ac-3 in Fedora 26 (https://www.phoronix.com/scan.php?page=news_item&px=Fedora-26-AC3-Codec and https://blogs.gnome.org/uraeus/2017/03/22/another-media-codec-on-the-way/)
It's been a few months with no, update, has anything new happened regarding this feature or should it be considered dead?

Sign in to add a comment