Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FraMecca/ffbench
test different ffmpeg trascoding settings
https://github.com/FraMecca/ffbench
ffmpeg ocaml org-mode python transcode transcoding
Last synced: about 2 months ago
JSON representation
test different ffmpeg trascoding settings
- Host: GitHub
- URL: https://github.com/FraMecca/ffbench
- Owner: FraMecca
- License: gpl-3.0
- Created: 2021-10-10T20:05:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T19:44:26.000Z (over 3 years ago)
- Last Synced: 2024-08-07T23:42:42.082Z (6 months ago)
- Topics: ffmpeg, ocaml, org-mode, python, transcode, transcoding
- Language: OCaml
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# FFBENCH
This program allows to test different ffmpeg transcoding settings to evaluate the best quality and ratio that can be obtained.## Requirements
- ffmpeg
- mediainfo
- orgparse: https://github.com/karlicoss/orgparse (you can avoid installation: just clone the repo in this folder)
- ocaml and python3.8+ to build and run the program## How it works
ffbench divides the input file into x samples of n seconds. It concatenates those samples into a single file (the _source_) and tests different transcoding settings, producing many output files. Those output files are rated using three metrics:
- size
- ssim: https://en.wikipedia.org/wiki/Structural_similarity
- psnr: https://en.wikipedia.org/wiki/Peak_signal-to-noise_ratioThe program uses an org mode file as its input and output: see [example.org](./example.org).