Skip to content

Instantly share code, notes, and snippets.

@zimeon
Created November 1, 2016 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zimeon/29e829730576d188897cccb5ea8e97dd to your computer and use it in GitHub Desktop.
Save zimeon/29e829730576d188897cccb5ea8e97dd to your computer and use it in GitHub Desktop.
{
"thumbnail": {
"format": "image/jpeg",
"height": 480,
"width": 720,
"service": {
"profile": "http://iiif.io/api/image/2/level2.json",
"@context": "http://iiif.io/api/image/2/context.json",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifvi/pets"
},
"type": "Image",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifvi/pets/2/full/full/0/default.jpg"
},
"_comments": [
"This is totally not how this should look, but will give some idea of what data we would want about a video and what is possible for extracting from ffmpeg."
],
"@context": "http://iiif.io/api/video/0/context.json",
"attribution": "Brought to you by NCSU Libraries",
"tracks": [
{
"language": "en",
"kind": "captions",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets/pets-captions-en.vtt"
},
{
"language": "nl",
"kind": "subtitles",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets/pets-subtitles-nl.vtt"
}
],
"profile": "http://iiif.io/api/video/0/level0.json",
"sources": [
{
"format": "webm",
"height": 480,
"width": 720,
"size": "3360808",
"duration": "35.627000",
"type": "video/webm; codecs=\"vp8,vorbis\"",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets/pets-720x480.webm"
},
{
"format": "mp4",
"frames": "1067",
"height": 480,
"width": 720,
"size": "2924836",
"duration": "35.627000",
"type": "video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets/pets-720x480.mp4"
},
{
"format": "mp4",
"frames": "1067",
"height": 240,
"width": 360,
"size": "1075972",
"duration": "35.648000",
"type": "video/mp4; codecs=\"avc1.64000D,mp4a.40.2\"",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets/pets-360x240.mp4"
}
],
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment