Skip to content

Runs FFmpeg transcoding processes simultaneously and measures CPU performance

License

Notifications You must be signed in to change notification settings

2501world/transcoding-performance-trial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transcoding-performance-trial

license last commit repo size

Runs FFmpeg transcoding processes simultaneously and measures CPU performance

Usage

sh -c "$(curl -fsSL https://raw.githubusercontent.com/2501world/transcoding-performance-trial/master/run.sh)"

Requirements

This script needs following commands installed on the measuring machine.

  • /bin/sh
    • bash is better
  • curl
  • tar
  • gzip
  • git
    • uses curl instead if not installed
  • Docker-CE

This script also needs following API key.

How it works

When you run run.sh on your local environment, the script does:

  1. Clone this repository into your current directory
  2. Install Docker-CE
  3. Build a docker image (based on Alpine Linux)
  4. Run a measuring script on a docker container
  5. Generate result files

You can run this script multiple times (works idempotently).

Results

This script exports a archived result file:

  • Filename: result/results_*.zip
  • Contents are:
    • Local machine information: cpuinfo, meminfo, dmidecoded outputs
    • timed results
      • Filename: result/case*/trial_*/time_*.json
    • Log files
      • Filename: result/case*/log_*.log
    • Roundup of all results
      • Filename: result/result_all.csv

Disclaimer

  • This script installs Docker-CE, and keep it installed on your machine.
  • This script keeps files within your working directory.
    • You can safely delete all those files.

License

transcoding-performance-trial is made available under the terms of the MIT license.

About

Runs FFmpeg transcoding processes simultaneously and measures CPU performance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published