Feature Requests

Support forum for DGDecNV
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

If I wanted DGIndexNV to be some kind of frame accurate editor or something, then what I would do is require the project to be saved first and then use DGDecodeNV to render the video, etc. But it's intended to be an indexer, anything else is gravy. So, highly unlikely I'm going to do anything for your request. In any case, it would be so low in priority that it would likely never see the light of day.

Nancy Reagan: "Just say no."
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

I'm thinking of unbundling the utility CUDA filters and releasing them as open source dual VS/AVS filters. DGDecodeNV would remain closed and licensed but will be released as dual VS/AVS. Could spur on further CUDA porting. We do need to instantiate pipelines on the GPU to avoid a round trip to and from the GPU for each filter. That's what I mean by CUDASynth. It could be implemented as a VS/AVS filter. ;) :scratch:
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

Sounds interesting
Might even make maintenance of the modules easier if they are uncoupled
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

Maintenance is not really an issue. It's the pipeline on the GPU that is intriguing. Need a lot of memory up there.
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

renols wrote:
Fri Mar 23, 2018 8:13 am
admin wrote:
Fri Mar 23, 2018 3:06 am
Sure, renols, the enhancements can be done for transport and program streams, and I have said that I will do it at some point. You're going to have to be a bit patient as I have a lot on my plate right now.

I am an incremental not a big bang kind of guy. ;)
No problem. I didn't see that you mentioned that the enhancements would be addapted for other streams.

I will put on my "be patient" cap :-)

renols
Patient cap off.

Is there any time Schedule as to when subs can be demuxed directly from m2ts files?

patient cap back on :-)

renols
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

@renols

Please provide a stream for testing with an indication of what type of subs it contains and, if possible, a pointer to the specs. Also tell me what format you'd like for the output file.
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

admin wrote:
Sun Jun 10, 2018 1:35 pm
@renols

Please provide a stream for testing with an indication of what type of subs it contains and, if possible, a pointer to the specs. Also tell me what format you'd like for the output file.
I will try to create a sample stream.

When I use the demux menu now, I can already choose which audios I want to demux when using mpls or m2ts file.

If I use a mkv file as input, I can choose which audios and which subs I want to demux. Just wanted to be able to demux
the sup files without first having to create a 40+GB mkv file.

I'll get back to you when I have created a sample stream. I have no idea about the specs though. To me it is just sup files from blurays :-)

renols.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

OK, knowing you are trying to demux from bluray tells me all I need to know and I can make my own test stream. Will try to move this up in priority.

So, on my plate right now is:

* DGHDRtoSDR.
* Optimize/update DGIM stuff.
* Demux subs from bluray.
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

Hi.

Sounds like a good plan.

Thanks a bunch for keeping making the software better and better.

renols
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

I have ripped a bluray and extracted the SUP file for a subtitle track by using MakeMKV and then demuxing it in DGIndexNV. I did that to have the correct SUP file to compare too. Then I hacked my TS parser to extract the SUP data into a file when doing Save Project (just using the known transport PID that I figured out). Thankfully, the two matched except that I only wrote zeros instead of the PTS stamp, but that is a minor matter easily coded for. Also, SubtitleEdit accepted the demuxed file and showed the subs correctly (but without times). So this shows that I am interpreting the TS stream correctly, etc. This was the easy part. Now I have to do all the infrastructure for detecting and identifying the PGS streams and all the GUI stuff. But we're well on the way.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

@renols

I've got detection and identification working for loading MPLS. I plan not to do anything if you load M2TS mainly because I can't be sure it is from a bluray (if from a bluray then PIDS 0x12xx are PGS subs) and I can't get the languages. Is it going to be OK for you if this mechanism works only when you open the MPLS?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

Here is a test version. Note that you must open the MPLS file to get your PGS subs detected. Otherwise the Demux dialog and operation are the same as for MKV files. Please let me know your results. I haven't tested with CLI yet but it might work.

http://rationalqm.us/misc/renols.rar
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

Hi.

I just tested the 64bit test file, and it seems to be working quite nicely.

I think it would be OK, if it just works with the MPLS file.

I don't know how much info is available to you, but if the number of subs, and maybe the number of forced subs if any, somehow could be added to the filename it would be even better. But I don't know if that info is available to you.

That info could help determine which stream would be the SDH one for example, since those typically have a lot more subs in the file.

One could also just open each stream in Subtitle edit. But if the info was right in the file name, it would be super.

The demuxing of the subs themselves are working though, which basically is what I asked for :-)

Thanks a lot for the swift work.

renols

Btw. Had to look up what in the world the code "ell" was. Turns out it is "Modern Greek". Who knew :-)
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

Thanks for your test results and I'm glad it's working for you. I'll look into your further suggestion. I can surely count subs and forced subs but would rather put the counts in the info log file, rather than the filename.

I never heard of "ell" too.
DAE avatar
Guest

Re: Feature Requests

Post by Guest »

This new function seems to work really well, it might even streamline my workflow a bit more
Question, as per the manual
RANGE 0 0 200000 0

For elementary and transport streams, the first number on this line is the offset in the source file corresponding to the left selection range value. The third number is the offset in the source file corresponding to the right selection range value.
What is the offset measured in?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

gonca wrote:
Thu Jun 14, 2018 5:56 pm
What is the offset measured in?
Bytes. It's zero-based, so offset N is the (N+1)th byte.

@renols

I have the total subs and forced subs being counted and printed in the log file for each demuxed PGS. It helps to have the BluRay spec in hand. ;)

I'll give y'all a slipstream tomorrow. Then it's back to DGHDRtoSDR.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

Changes released as slipstream 148.

:salute: renols
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

admin wrote:
Fri Jun 15, 2018 9:34 am
Changes released as slipstream 148.

:salute: renols
Thank you very much.

Much appreciated :-)

renols
DAE avatar
Nginx
Posts: 26
Joined: Fri Mar 23, 2018 12:48 am

Re: Feature Requests

Post by Nginx »

Hi staff.
I have a new demux feature request.

In my current encoding task flow, I need to
* Index m2ts and encode video
* encode audio
* mux chapters & subtitles etc

So when I use DG Tools , it will index the video and demux audio track. And I need to use eac3to to extract subtitle tracks with extra efforts.

REQ:
I wonder if DG tools can stop me from using eac3to for extra demux stuffs so when I create index , it can also demux audio as well as subtitle tracks too.

:D :D
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

DGIndexNV can already demux audio from M2TS. It can also demux subtitles if you open the M2TS stream(s) via the playlist MPLS.
DAE avatar
Nginx
Posts: 26
Joined: Fri Mar 23, 2018 12:48 am

Re: Feature Requests

Post by Nginx »

admin wrote:
Mon Jun 25, 2018 8:34 am
DGIndexNV can already demux audio from M2TS. It can also demux subtitles if you open the M2TS stream(s) via the playlist MPLS.
Last time I used DG Tools I only get .dgi + couple audio tracks (.thd .ac3 etc). I will try the latest version of DGIndexNV tonight.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

You can subscribe to the Binaries Notification thread to receive notification of new features and bug fixes for all my tools.
DAE avatar
Nginx
Posts: 26
Joined: Fri Mar 23, 2018 12:48 am

Re: Feature Requests

Post by Nginx »

I've confirmed that it can demux subtitles. Million thanks. :hat:
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Feature Requests

Post by admin »

You're welcome.
DAE avatar
renols
Posts: 149
Joined: Tue Feb 22, 2011 2:34 am

Re: Feature Requests

Post by renols »

Hi.

Found a small issue today.

Seems like the number of subtitles written in the log file is wrong by a factor of 2.

00801 PID 1200 eng.sup [total 4134, forced 0] (the actual number of subs are 2067)
00801 PID 1208 eng.sup [total 2, forced 0] (the actual number of subs are 1)

Otherwise it seems to be working as expected :-)

This is not related to feature requests, but I have been wondering about it for a while, and not been able to find the answer in the manual.

When demuxing AC3 tracks is the Dialog Normalization removed like it is in eac3to by default, or is it something that must somehow be done after the demuxing?

renols
Post Reply