https://github.com/2501world/transcoding-performance-trial
Runs FFmpeg transcoding processes simultaneously and measures CPU performance
https://github.com/2501world/transcoding-performance-trial
Last synced: over 1 year ago
JSON representation
Runs FFmpeg transcoding processes simultaneously and measures CPU performance
- Host: GitHub
- URL: https://github.com/2501world/transcoding-performance-trial
- Owner: 2501world
- License: mit
- Created: 2019-07-08T10:30:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T08:02:14.000Z (over 7 years ago)
- Last Synced: 2024-11-25T17:46:11.787Z (almost 2 years ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 3
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-video - Transcoding Performance Trial - Runs FFmpeg transcoding processes simultaneously and measures CPU performance. (Encoding & Codecs / Benchmarking & Performance Tools for Codecs)
README
# transcoding-performance-trial
[](LICENSE)
[](https://github.com/2501world/transcoding-performance-trial/commits/master)
[](https://github.com/2501world/transcoding-performance-trial/archive/master.zip)
> Runs FFmpeg transcoding processes simultaneously and measures CPU performance
## Usage
```shell
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
- automatically be installed via [get.docker.com]
This script also needs following API key.
* Pexels API
* You can get yours on [Pexels API].
## 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`, `dmidecode`d outputs
- `time`d 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].
[get.docker.com]:http://get.docker.com
[Pexels API]:https://www.pexels.com/api/new
[MIT license]:LICENSE