Provide mediainfo JSON output through an API call.
987
The container provides a simple API interface to the mediainfo command.
To use the image run as following:
docker run -d -p 8777:8777 -v /home:/home:ro -e BEARER_TOKEN="supersecure" zsek/mediainfo-api
Having the container running you can now checkout a video file. Following is an example curl call:
curl -H "Authorization: Bearer supersecure" http://127.0.0.1:8777/v1/mediainfo/home/user/Videos/sample.mp4|jq
Content type
Image
Digest
sha256:7e69c4829…
Size
28.4 MB
Last updated
over 1 year ago
docker pull zsek/mediainfo-api