File: test-0033timecode_scale.rb

package info (click to toggle)
mkvtoolnix 97.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 60,284 kB
  • sloc: cpp: 217,034; ruby: 11,453; xml: 8,125; ansic: 6,885; sh: 5,274; python: 1,041; perl: 191; makefile: 113; awk: 16; javascript: 4
file content (20 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/ruby -w

# T_033timecode_scale
describe "mkvmerge / timecode scale / in(AVI,MP3)"

test "timecode/timestamp scale" do
  hash = []

  merge("--timecode-scale 1000000 data/simple/v.mp3")
  hash << hash_tmp
  merge("--timecode-scale -1 data/avi/v.avi")
  hash << hash_tmp

  merge("--timestamp-scale 1000000 data/simple/v.mp3")
  hash << hash_tmp
  merge("--timestamp-scale -1 data/avi/v.avi")
  hash << hash_tmp

  hash.join('-')
end