Selur
26th October 2015, 06:28
Got a bit of a surprising result reencoding a DTS-HD MA Stream and just it's core to flac:
Took the 3:21min DTS HD-Master Audio Sound Check 5.1 (169MB) from http://www.demo-world.eu/download-2d-trailers/?file=dts_hd_master_audio_sound_check_5_1_lossless-DWEU.mkv
(checked with MediaInfo stream is detected as DTS MA / Core)
What I then do is:
1. extract the dts-hd stream with:
mkvextract tracks "C:\Users\Selur\Desktop\dts_hd_master_audio_sound_check_5_1_lossless-DWEU.mkv" 1:"H:\Output\mkvextract.dts"
extracted size is 51.3MB
(checked with MediaInfo stream is detected as DTS MA / Core)
2. reencoded to flac using ffmpeg as decoder, sox for filtering and flac as encoder:
ffmpeg -y -threads 8 -loglevel fatal -c:a libdcadec -i "H:\Output\mkvextract.dts" -ac 6 -ar 48000 -sample_fmt s32 -f sox - | sox --multi-threaded --ignore-length --temp "H:\Temp" --buffer 524288 -S -t sox - --endian little -b 24 -t wav - | flac -f -F --ignore-chunk-sizes -5 -o "H:\Output\reencoderAfterExtract.flac" -
result is 22.7MB
3. renamed mkvextract.dts to mkvextract.dtshd
4. extract the DTS core using tsMuxeR:
meta file content:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
A_DTS, "H:\Output\mkvextract.dtshd", down-to-dts
call:
tsMuxeR h:\Output\downtodts.meta h:\Output
extracted size is 36.9MB
(checked with MediaInfo stream is detected as DTS)
5. reencoded to flac using ffmpeg as decoder, sox for filtering and flac as encoder:
ffmpeg -y -threads 8 -loglevel fatal -c:a libdcadec -i "H:\Output\mkvextract.dts" -ac 6 -ar 48000 -sample_fmt s32 -f sox - | sox --multi-threaded --ignore-length --temp "H:\Temp" --buffer 524288 -S -t sox - --endian little -b 24 -t wav - | flac -f -F --ignore-chunk-sizes -5 -o "H:\Output\reencoderDTSOnly.flac" -
result is 25.4MB
How come the dts core reencode is larger than the dts-hd reencode?
I expected that the dts-hd reencode to be larger since it should contain more data.
Also, I got another sample where the reencode of the dts core and the dts-hd stream produce the same output file size, is that 'okay' or is there something off with my encoding call?
Cu Selur
Took the 3:21min DTS HD-Master Audio Sound Check 5.1 (169MB) from http://www.demo-world.eu/download-2d-trailers/?file=dts_hd_master_audio_sound_check_5_1_lossless-DWEU.mkv
(checked with MediaInfo stream is detected as DTS MA / Core)
What I then do is:
1. extract the dts-hd stream with:
mkvextract tracks "C:\Users\Selur\Desktop\dts_hd_master_audio_sound_check_5_1_lossless-DWEU.mkv" 1:"H:\Output\mkvextract.dts"
extracted size is 51.3MB
(checked with MediaInfo stream is detected as DTS MA / Core)
2. reencoded to flac using ffmpeg as decoder, sox for filtering and flac as encoder:
ffmpeg -y -threads 8 -loglevel fatal -c:a libdcadec -i "H:\Output\mkvextract.dts" -ac 6 -ar 48000 -sample_fmt s32 -f sox - | sox --multi-threaded --ignore-length --temp "H:\Temp" --buffer 524288 -S -t sox - --endian little -b 24 -t wav - | flac -f -F --ignore-chunk-sizes -5 -o "H:\Output\reencoderAfterExtract.flac" -
result is 22.7MB
3. renamed mkvextract.dts to mkvextract.dtshd
4. extract the DTS core using tsMuxeR:
meta file content:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
A_DTS, "H:\Output\mkvextract.dtshd", down-to-dts
call:
tsMuxeR h:\Output\downtodts.meta h:\Output
extracted size is 36.9MB
(checked with MediaInfo stream is detected as DTS)
5. reencoded to flac using ffmpeg as decoder, sox for filtering and flac as encoder:
ffmpeg -y -threads 8 -loglevel fatal -c:a libdcadec -i "H:\Output\mkvextract.dts" -ac 6 -ar 48000 -sample_fmt s32 -f sox - | sox --multi-threaded --ignore-length --temp "H:\Temp" --buffer 524288 -S -t sox - --endian little -b 24 -t wav - | flac -f -F --ignore-chunk-sizes -5 -o "H:\Output\reencoderDTSOnly.flac" -
result is 25.4MB
How come the dts core reencode is larger than the dts-hd reencode?
I expected that the dts-hd reencode to be larger since it should contain more data.
Also, I got another sample where the reencode of the dts core and the dts-hd stream produce the same output file size, is that 'okay' or is there something off with my encoding call?
Cu Selur