-
Notifications
You must be signed in to change notification settings - Fork 51
add c608 mapping #823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
add c608 mapping #823
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||
| ## c608 Captions | ||||||
|
|
||||||
| ### c608 Captions Description | ||||||
|
|
||||||
| CEA-608 captions can be stored in `BlockMore Element` to associate the content of a Matroska Block (typically a video frame) with closed captioning data. Storing CEA-608 caption data requires that the corresponding Block SHALL NOT use Lacing. | ||||||
|
|
||||||
| The `BlockAdditional Element` stores the c608 data as a array of one or more octet pairs from one data channel of a CEA-608 data stream with each octet pair corresponding to a video frame. For more information about the content see [@!ANSI-CTA-608-E-S-2019]. | ||||||
|
|
||||||
| ### BlockAddIDType | ||||||
|
|
||||||
| The BlockAddIDType value reserved for CEA-608 captions is "608". | ||||||
|
|
||||||
| ### BlockAddIDName | ||||||
|
|
||||||
| The BlockAddIDName value reserved for CEA-608 captions is "CEA-608 captions". | ||||||
|
|
||||||
| ### BlockAddIDExtraData | ||||||
|
|
||||||
| BlockAddIDExtraData MAY contain a value as defined by Section 6.4.3.3 of [!@DASH-IF-IOP] that describes the caption services and language. An ABNF from [!@DASH-IF-IOP] for this value is restated here for convenience: | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MAY should be normative
Suggested change
|
||||||
|
|
||||||
| ``` | ||||||
| @value = (channel *3 [";" channel]) / (language *3[";" language]) | ||||||
| 2 channel = channel-number "=" language | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are the numbers at the beginning of each line expected in the ABNF description ?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To answer myself: yes, these number are line numbers in the PDF. They should be removed here. |
||||||
| 3 channel-number = CC1 | CC2 | CC3 | CC4 | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CC1/CC2/CC3/CC4 are missing a definition
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given the examples in the PDF they are litteral strings. In a more recent version of the split PDF it says:
In the current version of SCTE 214-1 that's section 8.2.3 and the BNF has been fixed: We should probably use that and also reference that source directly. |
||||||
| 4 language = 3ALPHA ; language code per ISO 639.2/B | ||||||
| ``` | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -944,6 +944,14 @@ Codec Name: ARIB STD-B24 subtitles | |
| Description: This is the textual subtitle format used in the ISDB/ARIB broadcasting standard. | ||
| For more information, see (#arib-isdb-subtitles) on ARIB (ISDB) subtitles. | ||
|
|
||
| ### S_C608 | ||
|
|
||
| Codec ID: S_C608 | ||
|
|
||
| Codec Name: CEA-608 Captions | ||
|
|
||
| Description: Each Block of a S_C608 subtitle track stores the c608 data as a array of one or more octet pairs from one data channel of a CEA-608 data stream with each octet pair corresponding to a video frame. The "LABEL" Matroska tag is RECOMMENDED for storage the first channel number of the CEA-608 pair (expressed as either "CC1" or "CC2"). For more information about this format see [@!ANSI-CTA-608-E-S-2019]. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. RECOMMENDED should have "**" around it |
||
|
|
||
| ## Button Codec Mappings | ||
|
|
||
| ### B_VOBBTN | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SHALL NOT should have "**" around it.