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

13 lines
374 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_670h265_interlaced
describe "mkvmerge / HEVC/H.265 with interlaced fields, video height"
test "get dimensions" do
(identify_json("data/h265/interlaced1.265")["tracks"] +
identify_json("data/h265/interlaced2.ts")["tracks"]).
select { |t| t["type"] == "video" }.
map { |t| t["properties"]["pixel_dimensions"].to_s }.
join("+")
end