MP4 parser doesn't support sample description changes within a track except at MOOV (init segment) parsing |
|||
Issue descriptionISO-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.
,
Jul 24 2017
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).
,
Jul 25
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
,
Jul 31
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 |
|||
Comment 1 by wolenetz@chromium.org
, Jul 24 2017