[RESOLVED] Some language tag missing in demux
[RESOLVED] Some language tag missing in demux
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.
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.
Re: Some language tag missing in demux
Yes, please show as much as you can and give me the affected MPLS files.
Re: Some language tag missing in demux
Alien BD
Playlists 800 (theatrical) and 801 (Director)
Only screenshot mpls 800 All languages there
Playlists 800 (theatrical) and 801 (Director)
Only screenshot mpls 800 All languages there
Re: Some language tag missing in demux
Hmm, thank you, gonca. Let's see what Guest 2 says.
I assume you scrolled down on the Demux dialog and everything was OK.
I assume you scrolled down on the Demux dialog and everything was OK.
Re: Some language tag missing in demux
Forgot to mention, Slipstream 170 used.
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.
Yep.I assume you scrolled down on the Demux dialog and everything was OK.
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.
Re: Some language tag missing in demux
Thank you.
Re: Some language tag missing in demux
I have just found that some subtitle language tags are wrong too, i.e. eng is kor, ita is eng etc.
Re: Some language tag missing in demux
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
Re: Some language tag missing in demux
@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?
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?
Re: Some language tag missing in demux
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?
Re: Some language tag missing in demux
Yes, USA. There is no way I can address this without the bluray. Wanna make me a copy if it's not available?
Re: Some language tag missing in demux
Guest 2 kindly supplied me some materials that allow me to investigate this.
Using my most acute detective powers I was able to discover the cause.
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.
Using my most acute detective powers I was able to discover the cause.
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.
Re: Some language tag missing in demux
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.
Re: Some language tag missing in demux
I went ahead and slipstreamed the new parsing. Post again if you still have issues.
Re: Some language tag missing in demux
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
Now chapter extraction only is missing and the demux part will be complete