There is a newer version of the record available.

Published April 16, 2021 | Version 0.4.0
Software Open

mbari-media-management/vampire-squid: vampire-squid 0.4.0

Authors/Creators

Description

Added a method to find a the video object by a video-reference-uuid of one of the it's contained videos. In vampire-squid a video is essentially a collection of the same video represented in a few different formats. Each different format is called a video-reference. An example of why this method is useful: A video annotation in M3 is tied to it's exact video reference, which might be a ProRes video. We might want to play that video in a web app, except you can't play ProRes in a browsers. With this method, we can look for alternative, web-friendly formats of the same video.

Usage
GET vam/v1/videos/videoreference/:videoReferenceUuid
Example Reguest
GET http://myserver.com/vam/v1/videos/videoreference/6fd9cfca-6c04-4e65-92f1-757cfd727b42
Response
{
  "name": "Ventana 4222 20191014T181919Z",
  "start_timestamp": "2019-10-14T18:19:19Z",
  "duration_millis": 900070,
  "video_references": [
    {
      "uri": "http://m3.shore.mbari.org/videos/M3/aux_master/Ventana/2019/10/4222/V4222_20191014T181919Z_aux_prores.mov",
      "container": "video/quicktime",
      "width": 1920,
      "height": 1080,
      "frame_rate": 0.0,
      "size_bytes": 21075617873,
      "sha512": "A1B92C135D7315BC1C5D604772AD506FE8D5004E9CC45946A30C89C0ADB26E83434633D233E949A7ACF031E35011E3A1FFA242687730763F2D6E70BAC3B32A56",
      "last_updated_time": "2019-10-17T10:29:13Z",
      "uuid": "38a03c2d-7a7e-458f-b3ec-4b8437fca886"
    },
    {
      "uri": "http://m3.shore.mbari.org/videos/M3/aux_mezzanine/Ventana/2019/10/4222/V4222_20191014T181919Z_aux_h264.mp4",
      "container": "video/mp4",
      "width": 1920,
      "height": 1080,
      "frame_rate": 0.0,
      "size_bytes": 2504422329,
      "sha512": "190A2E4A541D1D9B82445E62087AB08F87AC391B5D1BD10DE1274105BEA20C7D978D176417E1A9E9E7B5FC672042037A59EF641B0ECDD750EE1C8D45F06BDACA",
      "last_updated_time": "2019-10-16T10:28:02Z",
      "uuid": "6fd9cfca-6c04-4e65-92f1-757cfd727b42"
    }
  ],
  "last_updated_time": "2019-10-16T10:28:02Z",
  "uuid": "2c4ab04e-2e37-4a02-959b-c2751c6aed3f"
}

Files

mbari-media-management/vampire-squid-0.4.0.zip

Files (1.7 MB)

Name Size Download all
md5:ab307f58b045afa9c230de496631a440
1.7 MB Preview Download

Additional details