mkvtoolnix/tests/test-0254avi_with_subs.rb

25 lines
467 B
Ruby
Raw Normal View History

#!/usr/bin/ruby -w
2021-07-07 14:06:32 +00:00
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