mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

As per MP4 spec ISO 14496-12: 8.7.5 Chunk Offset Box, Both "stco" and "co64" can be used to store chunk offsets. While "stco" supports 32-bit offsets, "co64" supports 64-bit offsets. In non fragmented MP4, the mdat box can be extremely large, hence muxer uses "co64" box. But for fragmented MP4, muxer does not write any data in this chunk offset box (present in "moov" box) because all sample related info is present in "moof" box. Technically, "co64" box should also work in fragmented MP4because its empty only but QuickTime player fails to play video if "co64" box is present in fragmented MP4 output file. Testing: Verified that QuickTime player does not play video when "co64" box is present but is able to play when "stco" box is present. #minor-release PiperOrigin-RevId: 601147046 (cherry picked from commit 0acf6902e57678dc9e6ea8de3a4b3b88b9ec0519)
Test data module
Provides sample data for media unit and instrumentation tests.