Skip to content

cloudmercato/ffmpeg-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg-benchmark

ffmpeg-benchmark is a handy tool to measure ffmpeg performance with different samples, configuration and hardware.

The goal is currently:

  • Measure raw performance: latency and FPS
  • Assess quality with VMAF and PSNR

Simple as:

pip install https://github.com/cloudmercato/ffmpeg-benchmark/archive/refs/heads/main.zip

For monitoring you may install Probes:

pip install https://github.com/cloudmercato/Probes/archive/refs/heads/main.zip
# ffmpeg-benchmark --help
usage: ffmpeg-benchmark [-h] [--verbosity VERBOSITY] [-q] {probe,transcode,psnr,vmaf} ...

positional arguments:
  {probe,transcode,psnr,vmaf}
    probe               Get info about an input
    transcode           Evaluate transcoding performance
    psnr                Evaluate quality with PSNR
    vmaf                Evaluate quality with WMAF

options:
  -h, --help            show this help message and exit
  --verbosity VERBOSITY
                        0: Muted, 1: Info, 2: Debug, 3: More, 4: ffmpeg verbose
  -q, --quiet           Completly disable any output

We made a Dockerfile from linuxserver/ffmpeg:latest to facilitate the deployment with a fully compiled version of ffmpeg.

Here's a basic usage:

# docker build -t ffmpeg-benchmark .
# docker run -it -rm -v /ffmpeg-assets/:/assets ffmpeg-benchmark

The volume /assets is use for enabling persistence of input/output files.

This project is created with ❤️ for free by Cloud Mercato under BSD License. Feel free to contribute by submitting a pull request or an issue.

About

Handy tool to measure ffmpeg performance and quality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published