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

Issue 748250 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

MP4 parser doesn't support sample description changes within a track except at MOOV (init segment) parsing

Project Member Reported by wolenetz@chromium.org, Jul 24 2017

Issue description

ISO-BMFF allows for multiple audio (or video, depending on handler type) sample description entries in MOOV, with the (1-based) index of a default entry for a track also contained in the MOOV's TREX box for the track.

Currently, our parser only emits config-cb (triggering init segment + possible config change) at MOOV parsing. However, with ISO-BMFF's allowance for each MOOF's TRAF's TFHD to contain a different index than the default from the MOOV's TREX for the track, there technically could be multiple codec reconfiguration points for a track within the same set of media segments with no intervening MOOV.

This bug tracks enabling codec reconfigurations when non-default sample description indices are used in TFHD's. Further work may be required in MSE spec to ensure this doesn't break current boundaries/semantics of INIT vs MEDIA segment processing.

(I'll update the existing TODO in MP4StreamParser (https://cs.chromium.org/chromium/src/media/formats/mp4/mp4_stream_parser.cc?rcl=19bf43a04f98bbf169a9d025aa7b29dfcf15ec53&l=243) in an upcoming CL to reference this crbug.)

Note, in common usage, dash or MSE-targeted muxers generally don't switch codec configurations within a track within a media segment; hence this bug hasn't previously become a priority at all.
 
Description: Show this description
Before taking on such a fix, perhaps adding a UMA or Blink UseCounter for when a playback encounters a TFHD with a non-default (and within-valid-range) sample description index (which we currently ignore).
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 25

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Archived (was: Untriaged)
Unlikely to be fixed. Reopen if this changes; also note that there may be associated spec (and user agent compatibility + web-platform-tests) work for the ISO-BMFF bytestream, if changing codec configurations within a track within a media segment conflicts with existing language around codec configurations being tied to the most recent initialization segment.

Sign in to add a comment