Page 1 of 1

[RESOLVED] THD failing in ffmpeg

Posted: Fri Jul 24, 2020 1:09 pm
by arrgh
@Rocky
with the THD-stream from UHD-Disk "A quiet Place" I get an error from ffmpeg :
Image
I have sent you a PM with a link to a 100MB fragment (if it is not enough, let me know);
the demux was done with version .30 and .33 with the same outcome

Re: DGDemux development

Posted: Fri Jul 24, 2020 5:35 pm
by Rocky
I'm going to have to buy the disk. Can you give a link to it please?

Re: DGDemux development

Posted: Sat Jul 25, 2020 10:09 am
by arrgh

Re: DGDemux development

Posted: Sat Jul 25, 2020 10:21 am
by Rocky
Disk has been ordered. Please open dedicated threads for your issues in the future (as I previously requested).

THD failing in ffmpeg

Posted: Sun Jul 26, 2020 2:01 pm
by arrgh
besides of the previous case (UHD "A Silent Place"), I have now also a BD (Anihilation) with Atmos Audio which creates an error in ffmpeg (fresh compile):

Code: Select all

DGDemux 1.0.0.33 by Donald A. Graft
Copyright (C) 2019-2020 Donald A. Graft, All Rights Reserved

Files:
00800.m2ts

Streams:
1011: Video [AVC 23.976 1080p 16:9]
1100: THD 48000 8ch (+ embedded AC3) [eng]
1101: AC3 5.1 48 640 [deu]
1102: AC3 5.1 48 640 [spa]
1103: AC3 5.1 48 640 [fra]
1104: AC3 5.1 48 640 [ita]
1105: AC3 5.1 48 640 [jpn]
1106: AC3 5.1 48 640 [pol]
1200: PGS subtitles [eng]
1201: PGS subtitles [ara]
1202: PGS subtitles [dan]
1203: PGS subtitles [deu]
1204: PGS subtitles [spa]
1205: PGS subtitles [fra]
1206: PGS subtitles [ita]
1207: PGS subtitles [jpn]
1208: PGS subtitles [kor]
1209: PGS subtitles [nld]
120a: PGS subtitles [nor]
120b: PGS subtitles [pol]
120c: PGS subtitles [por]
120d: PGS subtitles [ron]
120e: PGS subtitles [fin]
120f: PGS subtitles [swe]
1210: PGS subtitles [tha]
1211: PGS subtitles [jpn]
so, I'm not sure whether this is a regession, or the discs are somehow different...
eac3to says there is an embedded ac3-ex in it...

Code: Select all

eac3to v3.34
command line: apps\eac3to\eac3to.exe  F:\BDMV 1) -LOG="00_analyse_mpls.txt"
------------------------------------------------------------------------------
M2TS, 1 video track, 7 audio tracks, 18 subtitle tracks, 1:55:00, 24p /1.001
1: Chapters, 18 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz
   (embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB)
4: AC3, German, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
5: AC3, Spanish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
6: AC3, French, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
7: AC3, Italian, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
8: AC3, Japanese, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
9: AC3, Polish, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
...

Re: THD failing in ffmpeg

Posted: Sun Jul 26, 2020 4:53 pm
by Rocky
Give the purchase link. Stop making me ask for it.

Re: THD failing in ffmpeg

Posted: Sun Jul 26, 2020 6:00 pm
by arrgh
that's a link for the disc; but it says "English version", so I'm unsure whether it will help, since my version is an European, as you can see in the analysis listing (many European language subs and audio):
https://www.amazon.com/-/de/Annihilatio ... 237&sr=8-1

meanwhile I think it is unrelated to the disk itself; in both failing cases the embeded stream seems to be E-AC3; if I alow for splitting, both the remaining thd and the resulting ac3 can be swallowed by ffmpeg... only the combined stream gives the error in ffmepeg...

Re: THD failing in ffmpeg

Posted: Fri Jul 31, 2020 9:11 am
by Rocky
Apparently ffmpeg does like the combined THD+AC3 input. The demuxed THD+AC3 file is fine as mkvtoolnix accepts it and shows both the THD and AC3 tracks. You can generate an MKA file and MPC-HC plays the MKA file allowing selection of either the THD or AC3 track.

So you need to either split them when demuxing or followup with the ffmpeg guys. Be aware that gaps correction is not done when demuxing combined, so that should be an incentive not to do so.

Re: THD failing in ffmpeg

Posted: Fri Jul 31, 2020 6:36 pm
by arrgh
Rocky wrote:
Fri Jul 31, 2020 9:11 am
...
So you need to either split them when demuxing or followup with the ffmpeg guys. Be aware that gaps correction is not done when demuxing combined, so that should be an incentive not to do so.
understood...

off topic but in that context:
then the split THD stream does contain "the same information" like the ac3 but with a "higher resolution", is that correct? If that is the case, I should choose the THD instead of the ac3 when I want to convert to aac with the best possible quality (at the same resulting aac bitrate), right?
I'm asking myself, why are the streams combined at all? I was under the (obviously wrong) impression that the THD and the AC3 streams are complementary, like the "dolby vision" and the 2160p streams in the video case...

Re: THD failing in ffmpeg

Posted: Sat Aug 01, 2020 6:42 am
by Rocky
arrgh wrote:
Fri Jul 31, 2020 6:36 pm

then the split THD stream does contain "the same information" like the ac3 but with a "higher resolution", is that correct? If that is the case, I should choose the THD instead of the ac3 when I want to convert to aac with the best possible quality (at the same resulting aac bitrate), right?
Yes, right on both.
I'm asking myself, why are the streams combined at all? I was under the (obviously wrong) impression that the THD and the AC3 streams are complementary, like the "dolby vision" and the 2160p streams in the video case...
The two streams are independent and each can be decoded without needing the other:

https://forum.videohelp.com/threads/374 ... D-AC3-Core

Re: [RESOLVED] THD failing in ffmpeg

Posted: Sat Aug 01, 2020 7:10 pm
by arrgh
thank you very much, that is very usefull information for me!

Re: [RESOLVED] THD failing in ffmpeg

Posted: Sat Aug 01, 2020 7:56 pm
by Rocky
You're welcome. Happy to be of assistance.