mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-02 11:20:08 +00:00
This change introduces support for signaling CEA-608 and CEA-708 closed captions in HLS. New command-line flags, `--closed_captions`, have been added to allow users to specify the caption tracks. The format for these flags is a comma-separated list of semicolon-separated key-value pairs, e.g., `--closed_captions "channel=CC1,name=French,lang=fra,default=no,autoselect=yes;channel=SERVICE1,name=English,lang=eng,default=yes,autoselect=yes"`. For HLS, this change adds `#EXT-X-MEDIA` tags for each caption track with a common `GROUP-ID` of "cc". The `EXT-X-STREAM-INF` tag for video streams has been updated to reference this `GROUP-ID`. Dash will be supported in another PR. Fixes #986
Public headers for libpackager
These are the public headers for libpackager. They can only reference other
public headers or standard system headers. They cannot reference internal
headers (in packager/...) or third-party dependency headers (in
packager/third_party/...).