Code: Select all
eac3to "BDMV\STREAM\00055.m2ts" 2: 1_55.flac -mono
Code: Select all
eac3to "BDMV\STREAM\00055.m2ts" 2: 1_55.flac -mono
Code: Select all
.\ffmpeg.exe -i "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd" -bsf:a truehd_core -c:a copy "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms CORE.thd"
ffmpeg version 2.2.2 Copyright (c) 2000-2014 the FFmpeg developers
built on May 22 2014 19:56:44 with gcc 4.8.2 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[truehd @ 00ee7780] major sync info header checksum error
Last message repeated 56411 times
[truehd @ 00eeea60] Could not find codec parameters for stream 0 (Audio: truehd, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd: could not find codec parameters
Conversion failed!
Code: Select all
ffmpeg -i "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd" -bsf:a truehd_core -c:a copy "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms CORE.thd"
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, truehd, from 'C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
[NULL @ 0000015da1a06980] Unable to find a suitable output format for 'truehd_core'
truehd_core: Invalid argument
Code: Select all
C:\Users\domin\Desktop\dgdemux_output\toy-story-4>"C:\Program Files (x86)\eac3to\eac3to.exe" "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd" "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd_.flac" -mono -progressnumbers -log="C:\Program Files (x86)\eac3to\UsEac3To.log"
TrueHD (Atmos), 7.1 channels, 48kHz, dialnorm: -28dB
Removing TrueHD dialog normalization...
Decoding with libav/ffmpeg...
Encoding FLAC with libFlac...
Creating file "C:\Users\domin\Desktop\dgdemux_output\toy-story-4\00800 PID 1100 48000 8ch eng DELAY 0ms.thd_.flac"...
process: 1%
[truehd @ 00032fc0] End of stream indicated.
[truehd @ 00032fc0] Lossless check failed - expected 00, calculated d6.
The libav decoder reported error -1094995529 while decoding.
Code: Select all
[11:24] ~\Desktop\dgdemux_output\monsters-university> ffmpeg -i '.\00800 PID 1100 48000 8ch eng DELAY 0ms.thd'
-ac 1 monster-university-thd-mono.flac
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enabl
e-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enabl
e-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 -
-enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enabl
e-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-l
ibopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, truehd, from '.\00800 PID 1100 48000 8ch eng DELAY 0ms.thd':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
Stream mapping:
Stream #0:0 -> #0:0 (truehd (native) -> flac (native))
Press [q] to stop, [?] for help
Output #0, flac, to 'monster-university-thd-mono.flac':
Metadata:
encoder : Lavf58.29.100
Stream #0:0: Audio: flac, 48000 Hz, mono, s32 (24 bit), 128 kb/s
Metadata:
encoder : Lavc58.54.100 flac
[out_0_0 @ 0000020f16250280] 100 buffers queued in out_0_0, something may be wrong.
[truehd @ 0000020f162d6840] End of stream indicated./s speed=41.7x
[truehd @ 0000020f162d6840] Lossless check failed - expected 00, calculated 9f.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] Invalid blocksize.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] quant_step_size larger than huff_lsbs
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x00fe)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1b8b)
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1e07)
Error while decoding stream #0:0: Invalid data found when processing input
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 4 times
[truehd @ 0000020f162d6840] Invalid channel 9 specified as output from matrix.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1781)
[truehd @ 0000020f162d6840] Invalid blocksize.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1f80)
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] Invalid huff_lsbs.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] Invalid huff_lsbs.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x04d1)
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x02a9)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 8 times
[truehd @ 0000020f162d6840] Number of primitive matrices cannot be greater than 8.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x0030)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x11b3)
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x0fe2)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 9 times
[truehd @ 0000020f162d6840] Invalid blocksize.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 3 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1c82)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] quant_step_size larger than huff_lsbs
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1d20)
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1519)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1a7f)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] quant_step_size larger than huff_lsbs
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] Invalid blocksize.
Last message repeated 1 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x0d95)
[truehd @ 0000020f162d6840] No samples to output.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x05ee)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x1bad)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 7 times
[truehd @ 0000020f162d6840] quant_step_size larger than huff_lsbs
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x03ef)
[truehd @ 0000020f162d6840] No samples to output.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] Negative output_shift is not implemented. Update your FFmpeg version to the newest one from
Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[truehd @ 0000020f162d6840] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and c
ontact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[truehd @ 0000020f162d6840] Negative output_shift is not implemented. Update your FFmpeg version to the newest one from
Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[truehd @ 0000020f162d6840] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and c
ontact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[truehd @ 0000020f162d6840] FIR filter coeff_bits must be between 1 and 16.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] quant_step_size larger than huff_lsbs
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 3 times
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x04d2)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] Sum of coeff_bits and coeff_shift for FIR filter must be 16 or less.
[truehd @ 0000020f162d6840] IIR filter order 13 is greater than maximum 4.
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] No samples to output.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 7 times
[truehd @ 0000020f162d6840] Invalid blocksize.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] Invalid blocksize.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 3 times
[truehd @ 0000020f162d6840] FIR filter order 10 is greater than maximum 8.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x0153)
[truehd @ 0000020f162d6840] restart header sync incorrect (got 0x08c7)
[truehd @ 0000020f162d6840] No samples to output.
Error while decoding stream #0:0: Invalid data found when processing input
[truehd @ 0000020f162d6840] Invalid blocksize.
[truehd @ 0000020f162d6840] Invalid channel 11 specified as output from matrix.
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
...
Code: Select all
C:\Standalone\ffmpeg 4.2.2\bin>ffmpeg -i dgdemux.thd -c:a copy -bsf:a truehd_core dgdemux_.thd
ffmpeg version git-2020-04-01-afa5e38 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200328
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 42.102 / 56. 42.102
libavcodec 58. 77.101 / 58. 77.101
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.101 / 7. 77.101
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, truehd, from 'dgdemux.thd':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
Output #0, truehd, to 'dgdemux_.thd':
Metadata:
encoder : Lavf58.42.100
Stream #0:0: Audio: truehd, 48000 Hz, 7.1, s32 (24 bit)
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 4756512kB time=01:44:18.41 bitrate=6226.1kbits/s speed= 366x
video:0kB audio:4756512kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
C:\Standalone\ffmpeg 4.2.2\bin>
Code: Select all
ffmpeg -i dgdemux.thd dgdemux_mono.flac
Code: Select all
D:\Don\Programming\C++\TrueHD\x64\Debug>truehd dgdemux.thd
58693 major, 7415375 minor, 7474068 total, 6228.390000 duration