[RESOLVED] Some language tag missing in demux

Support forum for DGDecNV
Post Reply
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

[RESOLVED] Some language tag missing in demux

Post by Guest 2 »

I am trying the latest version of DGIndexNV, playing with some BD I own.

I don't know if it is a regression or has always been like this.

Alien BD, 2004 edition with both theater and director's cut.

As it's a mosaic from different m2ts, I have to demux from playlist: the theater is (at least on my BD) 00800.mpls, the director's cut 00801.mpls.

eac3to (I use it thru a GUI) correctly reports language tags for every stream.

DGIndexNV can't tell language tag for some languages and some subtitles, leaving no indication.

I can send you screenshots, if needed.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Yes, please show as much as you can and give me the affected MPLS files.
DAE avatar
Guest

Re: Some language tag missing in demux

Post by Guest »

Alien BD
Playlists 800 (theatrical) and 801 (Director)
Only screenshot mpls 800
DGdecNV display.jpg
DGdecNV remux.jpg
All languages there
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Hmm, thank you, gonca. Let's see what Guest 2 says.

I assume you scrolled down on the Demux dialog and everything was OK.
DAE avatar
Guest

Re: Some language tag missing in demux

Post by Guest »

Forgot to mention, Slipstream 170 used.
I assume you scrolled down on the Demux dialog and everything was OK.
Yep.
In fact if you look at the file names, 2nd screenshot, you will notice that it shows files not shown on the first screenshot, scrolling required.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Thank you.
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

admin wrote:
Mon Mar 04, 2019 11:32 am
Yes, please show as much as you can and give me the affected MPLS files.
800 is theater release, 801 is special quadrilogy edition.

Perhaps it's only a bad authoring problem, who knows.
Alien 800 mpls.png
Alien 801 mpls.png
Alien_2 800 mpls.png
Alien_2 801 mpls.png
Alien_3 800 mpls.png
Alien_3 801 mpls.png
Alien_4 800 mpls.png
Alien_4 801 mpls.png
Alien quadrilogy.7z
(4.48 KiB) Downloaded 372 times
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

gonca wrote:
Mon Mar 04, 2019 3:40 pm
Alien BD
Unfortunately we own different region versions, I think. Is it part of the quadrilogy box set?
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

I have just found that some subtitle language tags are wrong too, i.e. eng is kor, ita is eng etc.
DAE avatar
Guest

Re: Some language tag missing in demux

Post by Guest »

Guest 2 wrote:
Tue Mar 05, 2019 3:28 am
gonca wrote:
Mon Mar 04, 2019 3:40 pm
Alien BD
Unfortunately we own different region versions, I think. Is it part of the quadrilogy box set?
It is the standalone version.
Might be authoring issue
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

gonca wrote:
Tue Mar 05, 2019 4:48 am
Might be authoring issue
I thought the same thing. I have done tests with both eac3to and MakeMKV and they seem to be more resilient to recognize correct streams languages.

I know it's not the main purpose of DGIndexNV to demux, that anyway works correctly 99,99% of times.

I just want to get rid of eac3to completely :mrgreen:
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

@Guest 2

I'm going to need to get the bluray to debug this. Can you please give me a link to purchase this exact same bluray you are using?
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

admin wrote:
Tue Mar 05, 2019 12:06 pm
I'm going to need to get the bluray to debug this. Can you please give me a link to purchase this exact same bluray you are using?
Mmh. Hard to say as it was released under the name Alien Anthology in 2010. Moreover I think that you could find different versions.

Mine has eng DTSHD, ita DTS and jap DTS plus a bunch of AC3 audio tracks in lot of languages.

Will look for it. Where do you live, USA?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Yes, USA. There is no way I can address this without the bluray. Wanna make me a copy if it's not available?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Guest 2 kindly supplied me some materials that allow me to investigate this. :salute:

Using my most acute detective powers I was able to discover the cause. :ugeek:

I use only the MPLS file to find the language code for each playlist item. But strangely, the MPLS does not have STN table entries for all the streams. For example, the table omits PID 0x1102, while all the other audio PIDs are present. So, the number of declared streams is 7 but EAC3TO (and my demux menu) shows 8. A similar situation applies for the PGS streams. The missing items are exactly the ones that are missing their language code in the demux menu.

So now, I was thinking "where the heck does EAC3TO get the language code?" First I thought it might be the M2TS file, even though I long ago failed to find language codes in M2TS files. I copied 00983.m2ts to a temp folder outside the BDMV tree and ran EAC3TO on it. No language codes were given. So it's not using the M2TS files.

I know what you're thinking...the CLPI files! So I went into the CLIPINF dir and renamed 00983.clpi to 00983.clpi~ and ran EAC3TO on the MPLS file again. No language codes were shown! Then I looked at the bluray spec and found that the CLPI files do indeed specify a language code. Thus, I need to parse the CLPI files to resolve this.

Arguably, gonca was right that this is likely an authoring problem, as there is no rational reason for some streams to be excluded from the STN table of the MPLS. If the CLPI parsing turns out to be reliable I will switch to that for getting the language codes.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

Guest 2 wrote:
Tue Mar 05, 2019 4:37 am
I have just found that some subtitle language tags are wrong too, i.e. eng is kor, ita is eng etc.
I have the CLPI parser working and I'm getting all the languages now. But I'm doubting this claim, because I simply display the 3 character language string exactly as it appears in CLPI.

Does this happen on the 00800.mpls? I don't think so because my output matches EAC3TO.

Please recheck this and report back, as I'd like to make a slipstream with the new parsing.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Some language tag missing in demux

Post by admin »

I went ahead and slipstreamed the new parsing. Post again if you still have issues.
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: Some language tag missing in demux

Post by Guest 2 »

admin wrote:
Thu Mar 07, 2019 2:19 pm
I went ahead and slipstreamed the new parsing. Post again if you still have issues.
I have manually compared by SupRip the sups demuxed from DGIndexNV and eac3to and I can confirm they are the same, with the plus DGIndexNV place language tag in filename too.

Great job :bravo:

Now chapter extraction only is missing and the demux part will be complete :)
Post Reply