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

Issue 704638 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Allow mp3 audio codec in mpeg2ts container in MSE

Project Member Reported by servolk@chromium.org, Mar 23 2017

Issue description

Chrome already supports using mp3 with MSE. But currently it only allows mp3 streams to be used with audio/mpeg mime type (see https://cs.chromium.org/chromium/src/media/filters/stream_parser_factory.cc?rcl=394caf0ffa05d6c7ada7560a3379f4807215bfb4&l=333).
Some Chromecast apps use a combination of H.264 video + MP3 audio track in a mpeg2ts container. For those apps we'd like to allow using an explicit 'mp3' (as opposed to implicitly implying mp3 codec for the 'audio/mpeg' mime type without the codecs= parameter) in mpeg2ts (mime type = 'video/mp2t') containers.
 
As I noted in CR, "mp3" as a codec ID doesn't appear compliant with https://tools.ietf.org/html/rfc6381, which MSE bytestream spec for mp2ts says user-agents *should* use.

Note that https://tools.ietf.org/html/rfc6381 however doesn't seem to make specific reference to MPEG-2 codec IDs, so I'm unsure if the MSE bytestream spec is correct in it's reference to rfc6381, nor am I certain of the correct codec-id for mp2ts to indicate at least mp3. I've only just now skimmed rfc6381 so could be missing something pertinent, and I haven't looked yet at the DASH-IF format specifier for mp3 in mpeg2-ts. servolk@, do you have such info readily available?
Note also that DASH-IF mpd format references RFC6381 also for codec IDs (see ISO 23009-1:2014), strengthening the case that the current MSE bytestream spec's reference of RFC6381 is correct.
RFC6381 references http://www.mp4ra.org/object.html for ISO-BMFF. The problem I'm having is finding a definitive reference from RFC6381 for mpeg2-ts.

Status: Fixed (was: Started)

Sign in to add a comment