Posts: 1,539
Threads: 60
Joined: 2015 Jan
Thanks: 229
Given 632 thank(s) in 372 post(s)
Country:
2020-07-12, 01:54 PM
(This post was last modified: 2020-07-28, 06:33 PM by Chewtobacca.)
Until the issues with eac3to have been satisfactorily addressed, DGDemux is probably the most reliable tool for extracting DTS-HD tracks from BDs (especially those with seamless branching). One can decode with ffmpeg later if need be.
EDIT: See below.
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
Embarrassingly, I've since discovered that the point in the chain causing the problems with these files is not actually the decoding but the -21ms trim specifically, so I must presumably have just renamed one file incorrectly waaaay at the start (it was about 4am or something) and not realised until ages later. Absolute nightmare.
However, something is evidently being cut off by the trim for these particular files that is for some reason useful because it's causing inaccurate decoding afterwards. What was originally space between audio (mostly 00 or nearly 00 data) then gets filled with not quite 00 as if the audio had been chucked through a dither which doesn't exclude silence, but all that's been done to it is the trim (-21ms to remove the silence added by the encoder).
Pre-trim: accurate decode
Post-trim: inaccurate decode
Dunno why yet but determined to find out. But long story short, I screwed up during diagnosis and the eac3to decoding appears to be correct.
Posts: 1,539
Threads: 60
Joined: 2015 Jan
Thanks: 229
Given 632 thank(s) in 372 post(s)
Country:
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
Posts: 1,539
Threads: 60
Joined: 2015 Jan
Thanks: 229
Given 632 thank(s) in 372 post(s)
Country:
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
Posts: 1,539
Threads: 60
Joined: 2015 Jan
Thanks: 229
Given 632 thank(s) in 372 post(s)
Country:
Interesting. Theoretically, we could strip the header with tsMuxeR and find another way to implement the trim. I know that we both have doubts about the efficacy of applying the delay upon muxing, but it might be worth trying it now that we have a clearer idea of what's going on.
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
Posts: 1,539
Threads: 60
Joined: 2015 Jan
Thanks: 229
Given 632 thank(s) in 372 post(s)
Country:
One workaround might be to remove 21ms from the beginning of a synced track, encode with the suite, demux the output with tsMuxeR to strip the header, and leave it at that.
Posts: 1,224
Threads: 51
Joined: 2019 Oct
Thanks: 943
Given 663 thank(s) in 385 post(s)
Country:
|