Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

SDK / exoplayer

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Find file
HistoryPermalink
Switch branch/tag
  • exoplayer
  • ..
  • mp4
  • sample_18byte_nclx_colr.mp4
  • ibaker's avatar
    Allow missing full_range_flag in colr box with type=nclx · 39639f8d
    Test file produced with:
    $ MP4Box -add "sample.mp4#video:colr=nclc,1,1,1" -new sample_18byte_nclx_colr.mp4
    
    And then manually changing the `nclc` bytes to `nclx`.
    
    This produces an 18-byte `colr` box with type `nclx`. The bitstream of
    this file does not contain HDR content, so the file itself is invalid
    for playback with a real decoder, but adding the box is enough to test
    the extractor change in this commit.
    
    (aside: MP4Box will let you pass `nclx`, but it requires 4 parameters, i.e. it
    requires the full_range_flag to be set, resulting in a valid 19-byte colr box)
    
    #minor-release
    Issue: #9332
    PiperOrigin-RevId: 405842520
    ibaker committed Oct 27, 2021
    39639f8d
sample_18byte_nclx_colr.mp4 89 KB

Download (89 KB)