Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Eyevinn/easyvmaf_s3
A modification of easyVmaf to run on files from an S3-bucket
https://github.com/Eyevinn/easyvmaf_s3
Last synced: 7 days ago
JSON representation
A modification of easyVmaf to run on files from an S3-bucket
- Host: GitHub
- URL: https://github.com/Eyevinn/easyvmaf_s3
- Owner: Eyevinn
- License: mit
- Created: 2022-05-04T07:57:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T13:42:10.000Z (3 months ago)
- Last Synced: 2024-08-23T15:16:51.892Z (3 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
easyvmaf_s3 - A modification of easyVmaf to run on files from an S3-bucket
Report a Bug
·
Request a Feature
[![license](https://img.shields.io/github/license/eyevinn/easyvmaf_s3.svg?style=flat-square)](LICENSE)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/eyevinn/easyvmaf_s3/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
[![made with hearth by Eyevinn](https://img.shields.io/badge/made%20with%20%E2%99%A5%20by-Eyevinn-59cbe8.svg?style=flat-square)](https://github.com/Eyevinn)A Docker-image that can be used to run [easyVmaf](https://github.com/gdavila/easyVmaf) from files in an S3-bucket.
## Usage
### Build and tag the image
```bash
docker build . -t easyvmaf-s3
```### Run a container
```bash
docker run --rm \
-e AWS_ACCESS_KEY_ID=X \
-e AWS_SECRET_ACCESS_KEY=Y \
easyvmaf-s3 \
-r s3://videos/reference.mp4 \
-d s3://videos/640x360_750000.mp4 \
-o s3://videos/640x360_750000_vmaf.json
```### Run with `docker-compose`
```yml
services:
autovmaf-s3:
build: .
image: easyvmaf-s3
environment:
- AWS_ACCESS_KEY=X
- AWS_SECRET_ACCESS_KEY=Y
command: easyvmaf-s3 -r s3://videos/reference.mp4 -d s3://videos/640x360_750000.mp4 -o s3://videos/640x360_750000_vmaf.json
```## Additional options
```
usage: easyvmaf_s3.py [-h] -r REFERENCE_INPUT -d DISTORTED_INPUT -o
OUTPUT [--phone] [--model MODEL]Run easyVMAF on file in S3-bucket.
optional arguments:
-h, --help show this help message and exit
-r REFERENCE_INPUT The s3-url of the reference input. Example:
s3://input-bucket/reference.mp4
-d DISTORTED_INPUT The s3-url of the distorted input. Example:
s3://input-bucket/distorted.mp4
-o OUTPUT The s3-url of the output. This file will be
created Example: s3://output-
bucket/file_vmaf.json
--phone Whether or not to use the phone model for VMAF
analysis.
--model MODEL The VMAF-model to use. Either HD or 4K.
```# About Eyevinn Technology
Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.
At [Eyevinn](https://github.com/Eyevinn), every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This gives us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community.
Want to know more about Eyevinn and how it is to work here? Contact us at [email protected]!