Skip to content
/ vmaf Public

Small VMAF Docker images for Alpine Linux. VMAF is Video Multi-Method Assessment Fusion (by Netflix OSS)

Notifications You must be signed in to change notification settings

sitkevij/vmaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vmaf Docker

There are two ways to get VMAF Docker:

1. Pull from Docker Hub

2. Building from source

If building from source, Docker 17.05 or higher is required due to ARG usage.

git clone https://github.com/sitkevij/vmaf.git && \
 cd vmaf && \
 chmod a+x *.sh && \
 ./build-arg.sh sitkevij vmaf:0.6.2-alpine:3.7 && \
 ./unit-test-media.sh && \
 ./unit-test.sh

Running vmaf Docker

vmaf Docker can be run by prefixing run_vmaf commands with docker run --rm -v="$(pwd)":/tmp/vmaf sitkevij/vmaf

Example

docker run --rm -v="$(pwd)":/tmp/vmaf sitkevij/vmaf run_vmaf yuv420p 1920 800 "${file1}.yuv" "${file2}.yuv" --out-fmt json

vmaf usage

usage: run_vmaf fmt width height ref_path dis_path [--model model_path] [--out-fmt out_fmt] [--phone-model]

fmt:
    yuv420p
    yuv422p
    yuv444p
    yuv420p10le
    yuv422p10le
    yuv444p10le

out_fmt:
    text (default)
    xml
    json

Developer notes

Image sizing

Untouched /vmaf directory

/vmaf # du
258.0M  .
  1. rm -rf /vmaf/.git -> 197.9M

  2. rm - rf /vmaf/python/test/resource/yuv -> 59.4M

/vmaf # du -h -d 1
2.9M    ./pthreads
76.0K   ./Xcode
10.0M   ./ptools
1.4M    ./libsvm
68.0K   ./workspace
12.0M   ./python
2.3M    ./matlab
1.3M    ./model
1.6M    ./feature
24.5M   ./wrapper
64.0K   ./gradle
2.9M    ./resource
59.4M   .
  1. rm -rf /vmaf/ptools/opencontainers_1_8_4/docs && rm -rf /vmaf/ptools/opencontainers_1_8_4/tests/ -> 56.2M

Total image size

/ # du -h
633.8M  .

About

Small VMAF Docker images for Alpine Linux. VMAF is Video Multi-Method Assessment Fusion (by Netflix OSS)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages