beholder

Beholder

Beholder extracts individual frames from videos as jpegs. The format of the post request is:

POST http://localhost:8080/capture
X-Api-Key: foo
Accept: image/jpeg

{
  "videoUrl": "http://m3.shore.mbari.org/videos/M3/proxy/DocRicketts/2022/03/1436/D1436_20220322T132758Z_h264.mp4",
  "elapsedTimeMillis": 1234
}

Endpoints

Docker

A docker container can be built and published using build.sh. Beholder can be used by anyone using docker as follows:

docker run -d \
  -p 8080:8080\
  -v /path/to/cache:/opt/beholder/cache \
  --name beholder \
  --restart=always \
  mbari/beholder

Environment variables

You can pass any of the following environment variables to the beholder container: