normalize Namespace Reference

Variables

 ifile = sys.argv[1]
 
 encopt = sys.argv[2:-1]
 
 ofile = sys.argv[-1]
 
string analysis_cmd = 'ffprobe -v error -of compact=p=0:nk=1 '
 
 probe_out = subprocess.check_output(analysis_cmd, shell=True)
 
int loudness = -23
 
 sline = line.rstrip()
 
 adjust = ref-float(loudness)
 
list norm_cmd = ['ffmpeg', '-i', ifile, '-af', 'volume=%fdB' % adjust]
 

Variable Documentation

normalize.adjust = ref-float(loudness)

Definition at line 25 of file normalize.py.

Referenced by escape130_decode_frame(), and libopenjpeg_copy_to_packed16().

string normalize.analysis_cmd = 'ffprobe -v error -of compact=p=0:nk=1 '

Definition at line 13 of file normalize.py.

normalize.encopt = sys.argv[2:-1]

Definition at line 7 of file normalize.py.

normalize.ifile = sys.argv[1]

Definition at line 6 of file normalize.py.

Referenced by process_input(), and transcode_init().

normalize.loudness = -23

Definition at line 20 of file normalize.py.

list normalize.norm_cmd = ['ffmpeg', '-i', ifile, '-af', 'volume=%fdB' % adjust]

Definition at line 30 of file normalize.py.

normalize.ofile = sys.argv[-1]

Definition at line 8 of file normalize.py.

normalize.probe_out = subprocess.check_output(analysis_cmd, shell=True)

Definition at line 17 of file normalize.py.

normalize.sline = line.rstrip()

Definition at line 22 of file normalize.py.