mkvtoolnix/tests/test-622aac_adts_8_channels_no_pce.rb
Moritz Bunkus 0ee2d21708 AAC ADTS: channel_configuration == 7 means 7.1 = 8 channels
See ISO/IEC 14496-3 table 1.17 — Channel Configuration.

Fixes #2151.
2017-11-17 19:31:53 +01:00

14 lines
323 B
Ruby
Executable File

#!/usr/bin/ruby -w
file = "data/aac/7_1_channels_no_pce.aac"
# T_622aac_adts_8_channels_no_pce
describe "mkvmerge / ADTS AAC files with 7.1 channels without a program config element"
test_merge file
test "identification" do
fail unless identify_json(file)["tracks"][0]["properties"]["audio_channels"] == 8
"ok"
end