mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
25 lines
467 B
Ruby
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
|
|
|