mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
2cac968f95
On Blu-rays PCM audio with an odd number of channels will still contain empty bytes for an extra alignment channel (e.g. with 3 channels at 24 bits/sample the source actually contains 3+1channels * 24bits/channel / 8bits/byte = 4 * 3bytes = 12 bytes. That extra "channel" is located after all the others and only contains 0 bytes. mkvmerge will now simply remove these extra bytes. Otherwise players see and use more data than the timestamps and track parameters imply causing both noise artifacts as well as slowed playback.
6 lines
211 B
Ruby
Executable File
6 lines
211 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_571bluray_pcm_odd_number_of_channels
|
|
describe "mkvmerge / Blu-ray PCM with odd number of channels"
|
|
test_merge "data/pcm/bluray_pcm_1_channel.m2ts", :args => "--disable-lacing -D -S -a 1"
|