FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
normalize Namespace Reference

Variables

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

Variable Documentation

list normalize.ifile sys.argv[1]

Definition at line 6 of file normalize.py.

Referenced by transcode_init().

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

Definition at line 7 of file normalize.py.

list normalize.ofile sys.argv[-1]

Definition at line 8 of file normalize.py.

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

Definition at line 13 of file normalize.py.

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

Definition at line 17 of file normalize.py.

normalize.loudness 23

Definition at line 20 of file normalize.py.

Referenced by get_histogram().

tuple normalize.sline line.rstrip()

Definition at line 22 of file normalize.py.

tuple normalize.adjust ref-float(loudness)

Definition at line 25 of file normalize.py.

Referenced by libopenjpeg_copy_to_packed16().

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

Definition at line 30 of file normalize.py.