Skip to content

Commit 4a1f7b1

Browse files
committed
remove phase when redundant
1 parent 81cc692 commit 4a1f7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

audioqc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class QcTarget
195195
if @channel_count == "2"
196196
channel_one_vol = []
197197
channel_two_vol = []
198-
ffprobe_command = 'ffprobe -print_format json -threads auto -show_entries frame_tags=lavfi.astats.Overall.Number_of_samples,lavfi.astats.Overall.Peak_level,lavfi.astats.Overall.Max_difference,lavfi.astats.1.Peak_level,lavfi.astats.2.Peak_level,lavfi.astats.1.Peak_level,lavfi.astats.Overall.Mean_difference,lavfi.astats.Overall.Peak_level,lavfi.aphasemeter.phase,lavfi.r128.I -f lavfi -i "amovie=' + "\\'" + @input_path + "\\'" + ',astats=reset=1:metadata=1,aphasemeter=video=0,ebur128=metadata=1"'
198+
ffprobe_command = 'ffprobe -print_format json -threads auto -show_entries frame_tags=lavfi.astats.Overall.Number_of_samples,lavfi.astats.Overall.Peak_level,lavfi.astats.Overall.Max_difference,lavfi.astats.1.Peak_level,lavfi.astats.2.Peak_level,lavfi.astats.1.Peak_level,lavfi.astats.Overall.Mean_difference,lavfi.astats.Overall.Peak_level,lavfi.r128.I -f lavfi -i "amovie=' + "\\'" + @input_path + "\\'" + ',astats=reset=1:metadata=1,ebur128=metadata=1"'
199199
@ffprobe_out = JSON.parse(`#{ffprobe_command}`)
200200
@ffprobe_out['frames'].each do |frame|
201201
channel_one_vol << frame['tags']['lavfi.astats.1.Peak_level'].to_f

0 commit comments

Comments
 (0)