mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
ffb32a657b
The features removed are: * mkvmerge: the options `--identify-verbose` (and its counterpart `-I`), `--identify-for-gui`, `--identify-for-mmg` and `--identification-format verbose-text` * all command line tools: the old, proprietary format used for option files * all command line tools: support for passing command line options via the environment variables `MKVTOOLNIX_OPTIONS`, `MKVEXTRACT_OPTIONS`, `MKVINFO_OPTIONS`, `MKVMERGE_OPTIONS`, and `MKVPROPEDIT_OPTIONS`
40 lines
989 B
Ruby
Executable File
40 lines
989 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
class T_217file_identification < Test
|
|
def description
|
|
return "mkvmerge / file identification / in(*)"
|
|
end
|
|
|
|
def run
|
|
checksum = [
|
|
"data/avi/v.avi",
|
|
"data/bugs/From_Nero_AVC_Muxer.mp4",
|
|
"data/mkv/complex.mkv",
|
|
"data/mkv/vobsubs.mks",
|
|
"data/mp4/test_2000_inloop.mp4",
|
|
"data/mp4/test_mp2.mp4",
|
|
"data/ogg/v.flac.ogg",
|
|
"data/ogg/v.ogg",
|
|
"data/rm/rv3.rm",
|
|
"data/rm/rv4.rm",
|
|
"data/ac3/misdetected_as_mp2.ac3",
|
|
"data/ac3/misdetected_as_mpeges.ac3",
|
|
"data/aac/v.aac",
|
|
"data/ac3/v.ac3",
|
|
"data/simple/v.flac",
|
|
"data/simple/v.mp3",
|
|
"data/wav/v.wav",
|
|
"data/subtitles/ssa-ass/fe.ssa",
|
|
"data/subtitles/srt/vde.srt",
|
|
"data/vobsub/ally1-short.sub",
|
|
"data/wp/with-correction.wv",
|
|
"data/wp/without-correction.wv"
|
|
].collect do |file|
|
|
sys "../src/mkvmerge -J #{file} > #{tmp}", 0
|
|
hash_tmp
|
|
end
|
|
|
|
checksum.join '-'
|
|
end
|
|
end
|