Page 34 of 37

Re: DGDemux development

Posted: Tue Oct 13, 2020 7:45 pm
by Rocky
I'll probably have to buy it because I can't duplicate that. I'll compare the code closely to see how a discrepancy like that could happen.

However, I was thinking of getting rid of the DELAY anyway as it should always be 0. Have you ever seen a non-zero value when demuxing slow or with EAC3TO? DGDecNV has to do it because you can set your range such that the project doesn't begin at the start of the first M2TS.

Great to hear DTS and tags are working!

Re: DGDemux development

Posted: Tue Oct 13, 2020 7:48 pm
by Guest
I don't remember seeing any non zero delays in BDs
If it helps these are DTS HD-MA tracks

Re: DGDemux development

Posted: Tue Oct 13, 2020 7:51 pm
by Rocky
OK, thank you. I'll check all my disks and if there are no non-zero delays in slow mode then bye-bye DELAY! Sherman is back in 1935 but I think I can handle it.

Re: DGDemux development

Posted: Tue Oct 13, 2020 8:17 pm
by Guest
One more thing
delay.png
This time I kept all the audio for comparison
In the slow demux the ac3 are all -8ms delay and the dts is 0 ms
In the fast demux they are listed as -8 ms
Is it possible the fast demux is somehow using the delay for the ac3 files and applying it to the dts files?

Re: DGDemux development

Posted: Wed Oct 14, 2020 4:12 pm
by Guest
I realize that you are considering removing delay reporting but I decided to run some quick tests to try and narrow this down.
My regular demux >> Video + Primary eng audio (DTS HD-MA in this case) + eng subtitles
Delays match between slow and fast

Primary eng audio
Delays match

Demux both DTS HD-MA tracks
Delays match

Demux both DTS HD-MA tracks + any ac3 track
Delays don't match
It is as if the ac3 delay is being copied over

It might just be one of those once in a blue moon things

Re: DGDemux development

Posted: Wed Oct 14, 2020 4:21 pm
by Rocky
OK, thank you. I'll check it out.

Re: DGDemux development

Posted: Wed Oct 14, 2020 4:47 pm
by Guest
Tried 3 more movies with similar dts and ac3 track mixtures
If only dts is demuxed then the delays match
If only ac3 is demuxed then the delays match
If dts and ac3 are both demuxed slow seems to have the correct delays, but in fast demux the dts tracks are assigned the delay values of the ac3 tracks

Re: DGDemux development

Posted: Wed Oct 14, 2020 7:34 pm
by Rocky
Yes, thank you. I'll release a fix tomorrow. Your theory is correct. ;)

Re: DGDemux development

Posted: Wed Oct 14, 2020 9:21 pm
by Sherman
Just popping in to say it's looking possible to get Albert to join the forum. He wants some assurances about not allowing stupid people in here. I said, other than Natasha, should be no problem. And he wants immediate Moose or Britney Approval. ;)

Great job Rocky on the fast mode. Going back down. Wish me luck...

Re: DGDemux development

Posted: Wed Oct 14, 2020 9:39 pm
by Bullwinkle
Stop it, Sherman! You'll make me project from my second stomach. Honorary stomping award coming your way. Bring Albert back with you and you could be Moose Lodge material. Of course he can have whatever approval he wants.

Re: DGDemux development

Posted: Thu Oct 15, 2020 8:32 am
by Rocky
@gonca

Please re-download the test version. The wrong delay values for DTS should be fixed.

Re: DGDemux development

Posted: Thu Oct 15, 2020 10:29 am
by Sherman
We're back! Albert is going to make a decision and let me know.

Yeah Bullwinkle, that FixTHDGaps() function is ridiculously slow. Too many small reads and writes. Have to do my own read and write buffering. OS buffering is just not enough because system calls are slow all by themselves. Thanks for pointing it out.

EDIT: I have now fully read/write buffered it and it now fixes a 5GB file in 4 seconds, versus almost a minute with the old version. It's speedy now, like DGSplit. 8-) I'll test it and then commit it for integration into the release.

Re: DGDemux development

Posted: Thu Oct 15, 2020 10:31 am
by Rocky
Way to go Sherm!
It's speedy now, like DGSplit.
Thanks! My ticket out of the Box of Shame.

Re: DGDemux development

Posted: Thu Oct 15, 2020 11:27 am
by Sherman
I updated the fast mode test build with the FixTHDGaps() speedup (applies to both slow and fast modes), so please re-download and test. If no adverse feedback is received, maybe Rocky will update build 44.

Re: DGDemux development

Posted: Thu Oct 15, 2020 4:10 pm
by Guest
Delays are all good now.
Good job :hat:

I'll try to find some movies with seamless branching to test Gaps Processing

Re: DGDemux development

Posted: Thu Oct 15, 2020 4:36 pm
by Rocky
Thank you, gonca!

Re: DGDemux development

Posted: Thu Oct 15, 2020 6:08 pm
by Guest
Just tested two movies
All is good
Must say, after using the fast demux option, using regular demux is like watching a soccer game, or watching paint dry or grass grow

Re: DGDemux development

Posted: Thu Oct 15, 2020 7:44 pm
by Rocky
Great thanks.

Yeah, speedy! Especially if you are on all SSDs.

Probably gonna make fast the default and you hit SHIFT for slow.

Re: DGDemux development

Posted: Thu Oct 15, 2020 7:58 pm
by Guest
If fast is working, why would you need slow?

Re: DGDemux development

Posted: Thu Oct 15, 2020 10:05 pm
by Mr. Peabody
It's a fair question.

Re: DGDemux development

Posted: Fri Oct 16, 2020 9:23 am
by Britney
Would you kill your own child for being ugly? :wow:

Re: DGDemux development

Posted: Fri Oct 16, 2020 10:17 am
by Rocky
It would be an interim measure. If a user reports an issue with fast mode we can have them try slow. The result could help in identifying the cause (sounds weak, I know). All shortcuts to victory are kosher (sounds goofy, I know). At some point the poor ugly baby must be euthanized (sounds cruel, I know). The poor thing had a beautiful life but when your time comes...

Re: DGDemux development

Posted: Sat Oct 17, 2020 12:05 pm
by Rocky
Probably going to ditch the garbage stripping option. It's a PITA, Sherman says it's buggy in slow mode anyway, and a demuxer should faithfully demux the disk. Finally I have seen only one disk that would need it and nobody is clamoring for this feature.

Speak now or forever hold your peace.

Re: DGDemux development

Posted: Sat Oct 17, 2020 2:58 pm
by Guest
I wasn't even sure what the option did, had to look it up

Re: DGDemux development

Posted: Sun Oct 18, 2020 9:35 am
by Rocky
Here is a release candidate for the fast mode:

* Remove garbage stripping option.

* -fast is replaced by -slow, so fast mode is now the default. You can get slow mode by issuing the option -slow directly to DGDemux, or by holding down left SHIFT when hitting the Demux button in the GUI.

http://rationalqm.us/dgdemux/binaries/D ... t_test.rar