FFmpeg
4.0
|
Go to the source code of this file.
Namespaces | |
normalize | |
Variables | |
normalize.ifile = sys.argv[1] | |
normalize.encopt = sys.argv[2:-1] | |
normalize.ofile = sys.argv[-1] | |
string | normalize.analysis_cmd = 'ffprobe -v error -of compact=p=0:nk=1 ' |
normalize.probe_out = subprocess.check_output(analysis_cmd, shell=True) | |
int | normalize.loudness = -23 |
normalize.sline = line.rstrip() | |
normalize.adjust = ref - float(loudness) | |
list | normalize.norm_cmd = ['ffmpeg', '-i', ifile, '-af', 'volume=%fdB' % adjust] |