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

11 lines
408 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_338h264_width_height_pixl_format_non_420
describe "mkvmerge / H.264 width/height calculations for non-4:2:0 pixel formats"
test_merge "data/h264/profile_high_444_predictive_@l3.1.h264", :keep_tmp => true
test "verify resolution is 640x360" do
sys "../src/mkvinfo --ui-language #{$ui_language_en_us} -s #{tmp} | head -n 1 | grep -q 'pixel width: 640, pixel height: 360'"
:ok
end