Sign inSign up

zsek/mediainfo-api

By zsek

•Updated over 1 year ago

Provide mediainfo JSON output through an API call.

Image
0

987

zsek/mediainfo-api repository overview

⁠Provide mediainfo JSON output through an API call.

⁠Overview

The container provides a simple API interface to the mediainfo command.

⁠Usage

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

Tag summary

Content type

Image

Digest

sha256:7e69c4829…

Size

28.4 MB

Last updated

over 1 year ago

docker pull zsek/mediainfo-api