-
Notifications
You must be signed in to change notification settings - Fork 32
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
0219 - add proposed provides property and remove subtitles #570
Open
elynema
wants to merge
1
commit into
master
Choose a base branch
from
update_caption_recipe
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
title: Using Caption and Subtitle Files with Video Content | ||
title: Using Caption Files with Video Content | ||
id: 219 | ||
layout: recipe | ||
tags: [video, caption, subtitle, presentation] | ||
summary: "Providing a caption or subtitle file to a video resource." | ||
summary: "Providing a caption file to a video resource." | ||
viewers: | ||
- Clover | ||
- Ramp | ||
|
@@ -15,15 +15,15 @@ topic: AV | |
|
||
## Use Case | ||
|
||
Captions and subtitles may be available for your video content and you may want to enable them for your IIIF video resources. | ||
Captions may be available for your video content and you may want to enable them for your IIIF video resources. | ||
|
||
## Implementation notes | ||
|
||
Caption and subtitle file formats are used to mark up the external text track resources in connection with the HTML track element of a video file. The markup file formats use time tags that allow for time alignment of the video content with the captions or subtitles. | ||
Caption file formats are used to mark up the external text track resources in connection with the HTML track element of a video file. The markup file formats use time tags that allow for time alignment of the video content with the captions. | ||
|
||
Offering the caption file as an Annotation on the Canvas that contains the media file itself enables us to express the relationship between the two. The `type` and `format` properties of the Annotation can be used by the client to identify files in a format supported by the media player for captions. The `motivation` value of `supplementing` indicates the fact that processing this Annotation is optional. | ||
Offering the caption file as an Annotation on the Canvas that contains the media file itself enables us to express the relationship between the two. The `provides` property of the Annotation can be used by the client to identify caption files in a format that should be supported by the media player. The `type` property of the Annotation can also be used to verify that the file is in an appropriate format. The `motivation` value of `supplementing` indicates the fact that processing this Annotation is optional. | ||
|
||
In addition to this implementation, one should consider offering the captions or subtitles as multiple timed annotations, making the text available in multiple ways. See [Using Annotations for Timed Text][0079]. | ||
In addition to this implementation, one can also offer captions as multiple timed annotations, making the text available in multiple ways. See [Using Annotations for Timed Text][0079]. | ||
|
||
While captions, subtitles, and transcripts each present some text interpretation of the A/V content, the ways in which they are consumed by users differ. For a more detailed discussion about these differences see [Transcripts, Captions, and Subtitles - General Considerations][0231]. | ||
|
||
|
@@ -35,7 +35,7 @@ When using segmented WebVTT with HLS, see [Serving HLS Files][0257]. | |
|
||
## Example | ||
|
||
In this example we use a caption file in the WebVTT format, but other options include a subtitle file in the [SRT](https://en.wikipedia.org/wiki/SubRip) (SubRip Text) or [TTML](https://w3c.github.io/ttml3/index.html) (Timed Text Markup Language) formats, or other text-based format used for the same purpose. | ||
In this example we use a caption file in the WebVTT format, but other options include a caption file in the [SRT](https://en.wikipedia.org/wiki/SubRip) (SubRip Text) or [TTML](https://w3c.github.io/ttml3/index.html) (Timed Text Markup Language) formats, or other text-based format used for the same purpose. | ||
|
||
{% include manifest_links.html viewers="Clover, Ramp, Aviary, Theseus" manifest="manifest.json" %} | ||
|
||
|
@@ -44,8 +44,9 @@ In this example we use a caption file in the WebVTT format, but other options in | |
# Related recipes | ||
|
||
- [Simplest Manifest - Video][0003] | ||
- [Using Caption and Subtitle Files in Multiple Languages with Video Content][0074] | ||
- [A Side-by-side Transcript of a Video Recording][0253] | ||
- [Providing Access to Transcripts of A/V Content][0017] | ||
- [Providing Alternative Representations][0046] | ||
- [Using Annotations for Timed Text][0079] | ||
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. Any idea why this link isn't working on the preview site? |
||
- [Serving HLS Files][0257] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would we want to address
commenting
here as well? Maybe link to that recipe?