shaka-packager/packager/hls/base
Caitlin O'Callaghan f264befe86
feat: Write colr atom to muxed mp4 (#1261)
This PR is an extension of the full AV1 codec string feature: [PR
1205](https://github.com/shaka-project/shaka-packager/pull/1205) and
relates to [Issue
1007](https://github.com/shaka-project/shaka-packager/issues/1007) and
[Issue
1202](https://github.com/shaka-project/shaka-packager/issues/1202).

As per the AV1 spec, the codec string may contain optional color values.
These color values are critical for detecting HDR video streams - see
[Issue
1007](https://github.com/shaka-project/shaka-packager/issues/1007).
Color information is extracted from the input mp4's `colr` atom and used
to generate the full AV1 codec string. This PR preserves the color
information by writing the `colr` atom to the muxed mp4.

**References**:
- [AV1 Codec ISO Media File Format
Binding](https://aomediacodec.github.io/av1-isobmff/#codecsparam)
- [AV1 Bitstream & Decoding Process
Specification - Section 6.4.2 Color config semantics (page
117)](https://aomediacodec.github.io/av1-spec/av1-spec.pdf)
- [QuickTime File Format
Specification](https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-125526)
2023-08-29 18:46:19 -07:00
..
hls_notifier.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
master_playlist.cc feat: Write colr atom to muxed mp4 (#1261) 2023-08-29 18:46:19 -07:00
master_playlist.h [HLS] Add support for independent segments tag 2020-08-19 11:17:21 -07:00
master_playlist_unittest.cc fix: Update golden files for ttml tests and failing hls unit tests. (#1226) 2023-07-12 09:01:55 -07:00
media_playlist.cc chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
media_playlist.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
media_playlist_unittest.cc chore: Update URLs after moving projects (#1042) 2022-03-07 11:56:34 -08:00
mock_media_playlist.cc Make MediaPlaylist accept HlsParams as contructor param 2018-04-23 18:29:38 -07:00
mock_media_playlist.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
simple_hls_notifier.cc cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
simple_hls_notifier.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
simple_hls_notifier_unittest.cc cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
tag.cc [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00
tag.h [HLS] Support FRAME-RATE attribute 2019-10-04 22:50:34 +00:00