Skip to content

wangwei1237/setup-vmaf

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-vmaf

Setup vmaf in GitHub Actions to use vmaf and libvmaf. The action will download, cache and add to PATH a recent vmaf build for the current os. This action also support the libvmaf library, and export the libvmaf and pkgconfig file path as action's outputs.

Usage

To use vmaf and libvmaf, run the action before them.

steps:
  - uses: actions/checkout@v2
  - uses: wangwei1237/setup-vmaf@v1
    with:
      # Not strictly necessary, but it may prevent rate limit
      # errors especially on GitHub-hosted macos machines.
      token: ${{ secrets.GITHUB_TOKEN }}
    id: setup-vmaf
  - run: |
    vmaf --version
    echo "The libvmaf path: ${{ steps.setup-vmaf.outputs.libvmaf-path }}"
    echo "The pkgconfig path: ${{ steps.setup-vmaf.outputs.pkgconfig-path }}"

This action also sets a few outputs:

  • libvmaf-path: Path to the install directory
  • pkgconfig-path: Path to the libvmaf pkgconfig file

vmaf Version

The action uses a workflow_dispatch workflow to build vmaf. This workflow need the 'vmaf verson' as input.

Note: This action only supports x64 operating systems.

About

downloading, building and installing the libvmaf

Resources

License

Stars

Watchers

Forks

Packages

No packages published