NLW AV Examples
IIIF works with AV content that is made available in the following ways:
- It must be made available over https
- IIIF needs direct access to the video file (i.e. no youtube)
- For speed of access support for HTTP range requests is recommended
- IIIF does support adaptive bitrate streaming via HLS protocol
- Provides CORS headers
The examples below are stored on Amazon s3 which supports HTTP range requests, https and the appropriate CORS headers. The width, height and duration in seconds can be worked out by using the following command:
ffprobe -v error -select_streams v:0 -show_entries stream=width,height,duration -of json "your-video-file.mp4"
{
"programs": [
],
"stream_groups": [
],
"streams": [
{
"width": 1920,
"height": 1080,
"duration": "449.120000"
}
]
}