-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
I have a video file that has either captions or subtitles. I want the IIIF viewer to be able to identify the annotations that contain captions or subtitles so that they can be presented to the user via a closed caption / subtitle gadget to the user, and then displayed on top of the video file as it is played. Other types of supplementing annotations should not be presented to the user in this manner.
Variation(s)
(do you know of, or can you imagine, similar use cases?)
Proposed Solutions
Introduce annotation motivations of captioning and subtitling to declare the nature of the annotation(s).
Proposed snippet that utilizes a captioning motivation and refers out to an external webvtt file. In this example, the second annotation is a supplementing annotation that links out to a text file that contains a transcription of spoken audio, but is not timed text so could not be displayed as a caption.
annotations": [
{
"type": "AnnotationPage",
"id": "https://avalon-dev.dlib.indiana.edu/media_objects/gf06g267d/manifest/canvas/sj139194f/annotation_page/4cb485a0-c9e8-42ac-8a31-06aea8358251",
"items": [
{
"type": "Annotation",
"motivation": "captioning",
"body": {
"id": "https://avalon-dev.dlib.indiana.edu/master_files/sj139194f/supplemental_files/87",
"type": "Text",
"format": "text/vtt",
"label": {
"none": [
"Leonardo Da Vinci (1452-1519).vtt"
]
},
"language": "eng"
},
"id": "https://avalon-dev.dlib.indiana.edu/media_objects/gf06g267d/manifest/canvas/sj139194f/annotation_page/4cb485a0-c9e8-42ac-8a31-06aea8358251/supplementing/29d050e3-ca40-49c5-85f9-268da0b1cc74",
"target": "https://avalon-dev.dlib.indiana.edu/media_objects/gf06g267d/manifest/canvas/sj139194f"
},
{
"type": "Annotation",
"motivation": "supplementing",
"body": {
"id": "https://avalon-dev.dlib.indiana.edu/master_files/ng451h49f/supplemental_files/147/transcripts",
"type": "Text",
"format": "text/plain",
"label": {
"none": [
"lunchroom_manners.txt"
]
},
"language": "eng"
},
"id": "https://avalon-dev.dlib.indiana.edu/media_objects/fj236208t/manifest/canvas/ng451h49f/annotation_page/8c46422d-0f7d-4f13-95ab-d2ab074a4d3b/supplementing/25ff9231-9276-4036-bba7-76632f666d6d",
"target": "https://avalon-dev.dlib.indiana.edu/media_objects/fj236208t/manifest/canvas/ng451h49f"
}
]
Additional Background
(more about your perspective, existing work, etc. goes here.)