mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
21 lines
482 B
Ruby
21 lines
482 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_0245srt_timecode_formats < Test
|
|
def description
|
|
return "mkvmerge / SRT files with various timecode formats (shortened, spaces etc) / in(SRT)"
|
|
end
|
|
|
|
def run
|
|
hashes = Array.new
|
|
|
|
merge "--subtitle-charset -1:ISO-8859-5 data/subtitles/srt/shortened_timecodes.srt"
|
|
hashes << hash_tmp
|
|
|
|
merge "--subtitle-charset -1:ISO-8859-5 data/subtitles/srt/timecodes_with_spaces.srt"
|
|
hashes << hash_tmp
|
|
|
|
return hashes.join('-')
|
|
end
|
|
end
|
|
|