mkvtoolnix/tests/test-624h264_fix_bitstream_timing_info_exactly.rb
Moritz Bunkus 44cc64dff3 AVC parser: bitstream timing fix: try to use exact representations
The earlier algorithm tried to ensure that the values for
`num_units_in_tick` and `time_scale` fit into 32 bits. However, the
result was that the numbers were only approximation — e.g. 50 fields
per second were expressed as 5368709 / 268435456 instead of 1 / 50.
2017-12-18 20:38:02 +01:00

6 lines
255 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_624h264_fix_bitstream_timing_info_exactly
describe "mkvmerge / h.264 fixing bitstream timing information with exact values"
test_merge "data/h264/10i.264", :args => "--default-duration 0:10i --fix-bitstream-timing-information 0:1"