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

25 lines
467 B
Ruby

#!/usr/bin/ruby -w
class T_0254avi_with_subs < Test
def description
return "mkvmerge / AVI with SRT & SSA subtitles / in(AVI)"
end
def run
file = "data/avi/with-subs.avi"
merge(file)
hash = hash_tmp
merge("-s 2,3,4 #{file}")
hash += "-" + hash_tmp
merge("-s 2,4 #{file}")
hash += "-" + hash_tmp
merge("-s 4 #{file}")
hash += "-" + hash_tmp
merge("-S #{file}")
hash += "-" + hash_tmp
return hash
end
end