Skip to content
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

v3 support for A/V captions as annotations #49

Closed
saracarl opened this issue Jan 17, 2024 · 6 comments · Fixed by #68
Closed

v3 support for A/V captions as annotations #49

saracarl opened this issue Jan 17, 2024 · 6 comments · Fixed by #68
Assignees
Labels
AV Audio/Video Item Work enhancement New feature or request High Priority

Comments

@saracarl
Copy link
Collaborator

saracarl commented Jan 17, 2024

<moved from ArchiveLabs/iiif.archivelab.org#79.

If captions or transcripts are available for A/V material in the Internet Archive, manifests should expose them as annotations so that players can display them.

Example items: https://blog.archive.org/2018/03/07/archive-video-now-supports-webvtt-for-captions/
And we can add some fixtures to ArchiveLabs/iiif.archivelab.org#73

@saracarl saracarl added the AV Audio/Video Item Work label Jan 17, 2024
@glenrobson glenrobson added the enhancement New feature or request label Jan 18, 2024
@benwbrum benwbrum added this to the Spring 2024 sprint milestone Jan 18, 2024
@benwbrum
Copy link
Collaborator

If we have a derivative vtt files, it should be straightforward to attach them as annotations.

@benwbrum benwbrum self-assigned this Apr 25, 2024
@glenrobson glenrobson assigned glenrobson and unassigned benwbrum Apr 25, 2024
@saracarl
Copy link
Collaborator Author

@glenrobson
Copy link
Collaborator

Example item from blog:

Note this has multi lingual vtt files:

    {
          "name": "cruz-test.en.vtt",
          "source": "original",
          "format": "Web Video Text Tracks",
          "mtime": "1477931243",
          "size": "6223",
          "md5": "ed675b8fd0e0dcfced5e48e81a6aae21",
          "crc32": "0397fd6d",
          "sha1": "6327cd74bcbabd501931cefa479b2309b96b3639"
    },
   {
       "name": "cruz-test.cy.vtt",
          "source": "original",
          "format": "Web Video Text Tracks",
          "mtime": "1477931247",
          "size": "831",
          "md5": "1dfacb0563da71c4e3f9e856e1b2a2d4",
          "crc32": "0cc01233",
          "sha1": "4758e5c47272c1fe58882a5e79a456350b834eb3"
   }

@glenrobson
Copy link
Collaborator

glenrobson commented Apr 25, 2024

This one has a single autogenreated vtt file:

https://archive.org/metadata/youtube-SvH4fbjOT0A

    {
          "name": "34C3_-_International_Image_Interoperability_Framework_IIIF_Kulturinstitutionen_schaffen_interop-SvH4fbjOT0A.autogenerated.vtt",
          "source": "original",
          "mtime": "1670021248",
          "size": "18376",
          "md5": "b5fbddfb39f77a9106418d867894c436",
          "crc32": "1eb49e29",
          "sha1": "a4e0038ab3fd1904e025bcf990e91f537894975b",
          "format": "Web Video Text Tracks"
    }

Manifest: https://iiif.archive.org/iiif/3/youtube-SvH4fbjOT0A/manifest.json

@glenrobson
Copy link
Collaborator

I've got the first vtt file linked but its not working as there is no CORS set for the vtt file:

< HTTP/2 200 
< server: nginx/1.25.1
< date: Fri, 26 Apr 2024 11:53:34 GMT
< content-type: text/plain;charset=UTF-8
< strict-transport-security: max-age=15724800
< onion-location: https://archive6zg5vrdwm4ljllgxleekeoj43lqayscd4d4kmhnyblq4h3ead.onion/download/youtube-SvH4fbjOT0A/34C3_-_International_Image_Interoperability_Framework_IIIF_Kulturinstitutionen_schaffen_interop-SvH4fbjOT0A.autogenerated.vtt
< referrer-policy: no-referrer-when-downgrade

@glenrobson
Copy link
Collaborator

Look at proxying the vtt.

@glenrobson glenrobson linked a pull request May 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AV Audio/Video Item Work enhancement New feature or request High Priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants