Created
November 9, 2019 22:15
-
-
Save peterforgacs/a3af41f4ce9ab90a38d6ed4e3cca3b96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { normalize } = require('ffmpeg-normalize'); | |
normalize({ | |
input: 'input.mp4', | |
output: 'output.mp4', | |
loudness: { | |
normalization: 'ebuR128', | |
target: | |
{ | |
input_i: -23, | |
input_lra: 7.0, | |
input_tp: -2.0 | |
} | |
} | |
}) | |
then(normalized => { | |
// Normalized | |
}) | |
.catch(error => { | |
// Some error happened | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment