mkvtoolnix/tests/test-0634dialog_normalization_gain_removal.rb
2021-07-07 16:10:13 +02:00

18 lines
731 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_634dialog_normalization_gain_removal
describe "mkvmerge / dialog normalization gain removal"
%w{
ac3/dialog_normalization.ac3
dts/dialog_normalization.dts
truehd/dialog_normalization.thd
truehd/dialog_normalization_atmos.thd
ac3/dependent-frames-and-dialog-normalization-gain-removal.eac3
}.each do |file_name|
test_merge "data/#{file_name}"
test_merge "data/#{file_name}", :args => "--remove-dialog-normalization-gain 0", :output => "#{tmp}-1", :keep_tmp => true
test_merge "#{tmp}-1", :args => "--remove-dialog-normalization-gain 0", :output => "#{tmp}-2", :keep_tmp => true
test_merge "#{tmp}-2", :output => "#{tmp}-3"
end