Feature Requests

Support forum for DGDecNV
Post Reply
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

Information escaped from a black hole. What are we to make of that? :o
Quantum Mechanics at work?
My feature request, when you finish the present project AND if its not to much effort, would be the ability to select which streams to carry over on a "Output Trimmed TS" project since m2ts loses all language identifiers
A good night to you as well

[admin note -- following gonca post was moved here after a thread split]

When using "Output Trimmed TS" it might be useful to be able to select which tracks to use
The mpls has language indication but m2ts does not, so it would be useful, to me at least, to be able to select which audio and subtitle tracks to carry
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

gonca wrote:
Sun Mar 04, 2018 6:43 pm
m2ts loses all language identifiers
You want a transport stream editor. OK, maybe. But not in DGDecNV. :cry:
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

I was thinking in DGIndexNV when creating a trimmed TS
Thanks for considering it
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

gonca wrote:
Sun Mar 04, 2018 7:30 pm
I was thinking in DGIndexNV when creating a trimmed TS
Thanks for considering it
The TS trim support is literally just a DGSplit that forces to cut on 0x47 transport syncs starting at the beginning of the project range. It would be a big project to make a stream editor. I could display or dump info from the MPLS that might give you the information you need. Maybe if you described your work flow I could be more helpful.
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

I open the mpls for the main movie in DGIndexNV
Set the project range and Output Trimmed TS (m2ts extension)
I only need the main English audio track and English subtitles, but since m2ts has no language identifiers I write which are which
The idea is that if the trimmed TS would have only these tracks then it would simplify things downstream
If it is a lot of effort don't worry about it because it only means I have to write down a few track numbers
DAE avatar
jpsdr
Posts: 214
Joined: Tue Sep 21, 2010 4:16 am

Re: Feature Requests

Post by jpsdr »

I'm afraid It requires to know the specs of mpls, and maybe only those who have acces to Blu-Ray specs may have it... :scratch:

Personnaly to have these informations i run eac3to in the full Blu-Ray root directory (after rip, of course... :D ).
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

jpsdr wrote:
Mon Mar 05, 2018 2:50 am
I'm afraid It requires to know the specs of mpls, and maybe only those who have acces to Blu-Ray specs may have it... :scratch:
I have the blu-ray specs.
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

jpsdr wrote:
Mon Mar 05, 2018 2:50 am
I'm afraid It requires to know the specs of mpls, and maybe only those who have acces to Blu-Ray specs may have it... :scratch:

Personnaly to have these informations i run eac3to in the full Blu-Ray root directory (after rip, of course... :D ).
That is what I do now to get the information, run eac3to and then note the info
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

I'll see if I can output that information for you, so at least you won't have to use EAC3TO to get it. Would a listing of the language by PID be what you need? What does EAC3TO tell you?
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

Language by PID would work.
That is the reason I use eac3to on the disc, to see which audio/subtitle tracks are in English
eac3to basically outputs something like
track 1 chapters
track 2 video
track 3 audio-language etc
track 9 subtitle-language etc

By PID would be better since that is consistent, order tracks are shown in can vary by app, mkvmerge puts chapters last so video is now track 1
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

How do you relate tracks to PIDs? There is no concept of "track" in an m2ts that I am aware of.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

I ran EAC3TO on a blu-ray rip of "The Island" and did not see any PIDs. What command are you using? As you can see I am still confused about the details of your work flow, what info you get from EAC3TO and how you use it.
DAE avatar
jpsdr
Posts: 214
Joined: Tue Sep 21, 2010 4:16 am

Re: Feature Requests

Post by jpsdr »

I don't know if this will answer your question :
Personnaly, i just run "eac3to > file.txt". But you have to run it on the root of the Blu-Ray.
Then, in the text file, you'll see langage informations. It probably take them from the mpls file.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

Sure, but here is what I get below. Can't see any PIDs. What are the numbers 1), 2), and 3) and how can you use them? There are no track numbers. All the information below is already reported by DGIndexNV (except for the chapter count).

C:\Standalone Apps\EAC3TO>eac3to H:\THE_ISLAND_AC
1) 00800.mpls, 00800.m2ts, 2:16:04
- Chapters, 20 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- AC3, French, multi-channel, 48kHz
- AC3, Spanish, multi-channel, 48kHz
- AC3, English, stereo, 48kHz

2) 00250.mpls, 00250.m2ts+01012.m2ts+01017.m2ts, 0:15:42
- MPEG2, 480i60 /1.001 (4:3)
- AC3, English, stereo, 48kHz

3) 00253.mpls, 00250.m2ts, 0:15:32
- MPEG2, 480i60 /1.001 (4:3)
- AC3, English, stereo, 48kHz
DAE avatar
jpsdr
Posts: 214
Joined: Tue Sep 21, 2010 4:16 am

Re: Feature Requests

Post by jpsdr »

For what i know :
I don't think the 1) 2)... are relevant to anything, it's just an enumeration, and i don't think you can use them.
I don't think eac3to output directly raw PID values (and i don't think it can), it translate them into the information displayed.

For the workflow, i let the others describe what they expect/want, i'm just posting here to provide any information i have to try to help if i can.

Beat me if i'm wrong... But DGIndex works from m2ts, not mpls...?
In that case, i don't think there is the chapters or the langage information, because these are provided by the mpls (beat me again if i'm wrong).
And... maybe these are the informations the others want...?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

DGIndexNV loads MPLS files and has full access to the information therein. Hopefully gonca will enlighten us with some details of his workflow that require EAC3TO.

Going shopping for cat food...
DAE avatar
jpsdr
Posts: 214
Joined: Tue Sep 21, 2010 4:16 am

Re: Feature Requests

Post by jpsdr »

Ah... you replied while i was editing my post...
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

admin wrote:
Mon Mar 05, 2018 5:59 am
How do you relate tracks to PIDs? There is no concept of "track" in an m2ts that I am aware of.
During the selecting of trimmed TS output from a mpls if info relating PID to language is presented I could use that information later when demuxing, audio for example, by matching the PID presented to the PID in the demux audio menu
Track might have been a bad choice, stream might be more appropriate
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

admin wrote:
Mon Mar 05, 2018 8:13 am
I ran EAC3TO on a blu-ray rip of "The Island" and did not see any PIDs. What command are you using? As you can see I am still confused about the details of your work flow, what info you get from EAC3TO and how you use it.
I just get track/stream numbers, and then correlate that to what streams are in the m2ts
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

jpsdr wrote:
Mon Mar 05, 2018 12:26 pm
For what i know :
I don't think the 1) 2)... are relevant to anything, it's just an enumeration, and i don't think you can use them.
I don't think eac3to output directly raw PID values (and i don't think it can), it translate them into the information displayed.

For the workflow, i let the others describe what they expect/want, i'm just posting here to provide any information i have to try to help if i can.

Beat me if i'm wrong... But DGIndex works from m2ts, not mpls...?
In that case, i don't think there is the chapters or the langage information, because these are provided by the mpls (beat me again if i'm wrong).
And... maybe these are the informations the others want...?
I just open the mpls in DGIndexNV
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

Workflow
Open main movie mpls in DGIndexNV
Set project range (start - stop points)
Output Trimmed TS (m2ts extension)
All streams are output in the new m2ts
For further work...
Create dgi file and de mux desired audio
This is where the PID of the streams are shown, but there is no language indicator in the m2ts which is where I try to correlate the info from eac3to with the sequence of streams

EAC3to output
eac3to v3.34
command line: "C:\Program Files (Portable)\eac3to\eac3to.exe" "G:" 1) -progressnumbers -LOG="W:\SUBTITLES\LOGS\eac3to_PASS2_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 1 video track, 6 audio tracks, 6 subtitle tracks, 1:54:29, 24p /1.001
1: Chapters, 12 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz
(embedded: AC3 EX, 5.1 channels, 384kbps, 48kHz, dialnorm: -27dB)
4: AC3, English, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
5: AC3, French, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
6: AC3, Spanish, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
7: AC3, Portuguese, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
8: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB
9: Subtitle (PGS), English
10: Subtitle (PGS), French
11: Subtitle (PGS), Spanish
12: Subtitle (PGS), Portuguese
13: Subtitle (PGS), Spanish
14: Subtitle (PGS), Portuguese
That is where the stream numbers come from
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

It's still not the complete workflow. I asked several times what you do with those numbers. OK, let it go.

The mt2s file may contain audio descriptors which I could display. Investigating...
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

I use the numbers, stream numbers, to correlate with the m2ts streams
Basically I use them like this
EAC3to m2ts stream
_2__ __1__video
_4__ __3__audio-english stream to keep
_7__ __6__subtitle-english stream to keep
etc
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

I was having a wobbly pop and that seems to have triggered a few brain cells :facepalm:
stream 3 > PID 1100
stream 4 > PID 1101
etc
I use this to know which PID (audio) to demux for my workflow
This means I need to keep track of this info for every movie
Hope this makes it clearer how I use the stream numbers to correlate to PIDs
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

But how did you tie those numbers to PIDs? I suppose you could get lucky and the PIDs order happens to be the same as the "stream number" from EAC3TO, but I don't think there's anything that guarantees that (I don't know how EAC3TO assigns these numbers). Anyway, I don't think it's needed because DGIndexNV has all the information you need.

If you open the MPLS in DGIndexNV and then hit F5 the Audio window will show you the PID's and their languages (shows in the Demux dialog too). They are taken from the MPLS file. Those PIDs remain valid in the trimmed M2TS. So just note the PIDs you need when you load the MPLS. Then do your trimmed M2TS and you'll have the PIDs you need when you open the trimmed M2TS.

As I mentioned, in addition there may be some relevant descriptors in the M2TS file. I'm looking at that but I think what I mentioned is enough to solve your problem, at least for audio, assuming I have understood it correctly.

The reason I keep asking about your process is that I think that there should be no need for EAC3TO in your process, so I'm trying to find out what info it is giving you that is not available from DGIndexNV. Then I can try to add it if possible. Another thing I can do is show the PIDs for the PGS streams, but that would come out of generalizing the new MKV demux design to the other containers, including TS/M2TS.

Another thing is why make a trimmed M2TS at all when you can just load the MPLS, set the project range, select the audio stream you want, and then save your project? Now re-encode the Avs script or whatever and then mux it all together again. That's the usage philosophy of DGDecNV. I'd love to know why you need the trimmed M2TS.
Post Reply