翻译者:syl
原文链接:https://iiif.io/api/cookbook/recipe/0003-mvm-video/

用例

视频内容最简单的可行清单。此模式在IIIF演示资源中显示单个视频文件。

实施说明

实现与图像示例相同,只是内容是视频,画布具有持续时间以及高度和宽度。

例子

此示例显示单画布的清单,持续 572 秒,或仅持续不到 10 分钟。它有与它相关联的一个视频文件(lunchroom_manners_1024kb.mp4)。MP4 的持续时间为 572 秒。
JSON-ID|在通用查看器中查看|在Mirador中查看

  1. {
  2. "@context": "http://iiif.io/api/presentation/3/context.json",
  3. "id": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/manifest.json",
  4. "type": "Manifest",
  5. "label": {
  6. "en": [
  7. "Video Example 3"
  8. ]
  9. },
  10. "items": [
  11. {
  12. "id": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/canvas",
  13. "type": "Canvas",
  14. "height": 360,
  15. "width": 640,
  16. "duration": 572.034,
  17. "items": [
  18. {
  19. "id": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/canvas/page",
  20. "type": "AnnotationPage",
  21. "items": [
  22. {
  23. "id": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/canvas/page/annotation",
  24. "type": "Annotation",
  25. "motivation": "painting",
  26. "body": {
  27. "id": "https://fixtures.iiif.io/video/indiana/lunchroom_manners/high/lunchroom_manners_1024kb.mp4",
  28. "type": "Video",
  29. "height": 360,
  30. "width": 480,
  31. "duration": 572.034,
  32. "format": "video/mp4"
  33. },
  34. "target": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/canvas"
  35. }
  36. ]
  37. }
  38. ]
  39. }
  40. ]
  41. }

相关专题