FFmpeg
|
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] |
normalize.ifile = sys.argv[1] |
Definition at line 6 of file normalize.py.
Referenced by close_input_file(), copy_chapters(), open_input_file(), probe_file(), process_frame(), process_input(), read_interval_packets(), read_packets(), seek_to_start(), show_chapters(), show_format(), show_packet(), show_program(), show_programs(), show_streams(), and transcode_init().
normalize.encopt = sys.argv[2:-1] |
Definition at line 7 of file normalize.py.
normalize.ofile = sys.argv[-1] |
Definition at line 8 of file normalize.py.
Referenced by copy_chapters().
string normalize.analysis_cmd = 'ffprobe -v error -of compact=p=0:nk=1 ' |
Definition at line 13 of file normalize.py.
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 ff_sbc_calculate_bits(), gate_update(), and get_histogram().
normalize.sline = line.rstrip() |
Definition at line 22 of file normalize.py.
Definition at line 25 of file normalize.py.
Referenced by comp_adjust(), fir_to_phase(), init_gaussian_filter(), libopenjpeg_copy_to_packed16(), and libopenjpeg_copyto16().