DGDemux development

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Thu Oct 15, 2020 8:32 am

@gonca

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

User avatar
Sherman
Moose Approved
Posts: 124
Joined: Mon Jan 06, 2020 11:19 pm

Re: DGDemux development

Post by Sherman » Thu Oct 15, 2020 10:29 am

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.

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Thu Oct 15, 2020 10:31 am

Way to go Sherm!
It's speedy now, like DGSplit.
Thanks! My ticket out of the Box of Shame.

User avatar
Sherman
Moose Approved
Posts: 124
Joined: Mon Jan 06, 2020 11:19 pm

Re: DGDemux development

Post by Sherman » Thu Oct 15, 2020 11:27 am

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.

gonca
Moose Approved/Curly Approved
Posts: 909
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca » Thu Oct 15, 2020 4:10 pm

Delays are all good now.
Good job :hat:

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

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Thu Oct 15, 2020 4:36 pm

Thank you, gonca!

gonca
Moose Approved/Curly Approved
Posts: 909
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca » Thu Oct 15, 2020 6:08 pm

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

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Thu Oct 15, 2020 7:44 pm

Great thanks.

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

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

gonca
Moose Approved/Curly Approved
Posts: 909
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca » Thu Oct 15, 2020 7:58 pm

If fast is working, why would you need slow?

User avatar
Mr. Peabody
Posts: 20
Joined: Tue Dec 24, 2019 10:20 am

Re: DGDemux development

Post by Mr. Peabody » Thu Oct 15, 2020 10:05 pm

It's a fair question.

User avatar
Britney
Curly Approved
Posts: 18
Joined: Sun Aug 09, 2020 3:24 pm

Re: DGDemux development

Post by Britney » Fri Oct 16, 2020 9:23 am

Would you kill your own child for being ugly? :wow:

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Fri Oct 16, 2020 10:17 am

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...

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Sat Oct 17, 2020 12:05 pm

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.

gonca
Moose Approved/Curly Approved
Posts: 909
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca » Sat Oct 17, 2020 2:58 pm

I wasn't even sure what the option did, had to look it up

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Sun Oct 18, 2020 9:35 am

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

User avatar
Sherman
Moose Approved
Posts: 124
Joined: Mon Jan 06, 2020 11:19 pm

Re: DGDemux development

Post by Sherman » Sun Oct 18, 2020 9:36 am

Rocky, thanks. I'm so excited!

gonca
Moose Approved/Curly Approved
Posts: 909
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca » Sun Oct 18, 2020 12:06 pm

Did some testing with the RC
Looks good

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Sun Oct 18, 2020 1:26 pm

Beat it to death, then turn it over, and beat the other side to death.

"Don't let them say, I wasn't born
That something stopped my heart
I felt each tender squeeze you gave
I've loved you from the start.
Although my body you can't hold,
It doesn't mean I'm gone.
This world was worthy, not, of me
God chose that I move on."

User avatar
Britney
Curly Approved
Posts: 18
Joined: Sun Aug 09, 2020 3:24 pm

Re: DGDemux development

Post by Britney » Sun Oct 18, 2020 1:45 pm

Rocky, this really helped me:

https://www.youtube.com/watch?v=8L96yaa0pes

Somebody help me! Remember that? C'mon c'mon.

Kisses,
Brit

User avatar
Natasha
Mosquito
Posts: 59
Joined: Wed Nov 20, 2019 12:11 pm

Re: DGDemux development

Post by Natasha » Sun Oct 18, 2020 1:56 pm

DG tools need a -slow option. Got it, everyone?

User avatar
Curly
Moose Approved
Posts: 73
Joined: Sun Mar 15, 2020 11:05 am

Re: DGDemux development

Post by Curly » Sun Oct 18, 2020 1:57 pm

Don't rub it in, Nattie. Are you still busy tonight? Give a little, get a little. Right?

User avatar
redbtn
Moose Approved
Posts: 43
Joined: Sat Nov 16, 2019 3:35 pm

Re: DGDemux development

Post by redbtn » Mon Oct 19, 2020 3:26 pm

Hey there! Long time no see. I found a little glitch

Image

User avatar
Rocky
Moose Approved
Posts: 1057
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky » Mon Oct 19, 2020 7:40 pm

Are you kidding me? Blame it on Sherman. He needs pulling down a peg or two. Will slip a fix into 45 right away.

Thanks and so great to see you, redbtn.

EDIT: All fixed.

User avatar
Sherman
Moose Approved
Posts: 124
Joined: Mon Jan 06, 2020 11:19 pm

Re: DGDemux development

Post by Sherman » Mon Oct 19, 2020 7:48 pm

Sorry, Rocky. I'm just a kid.

User avatar
Bullwinkle
Moose Approved
Posts: 164
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post by Bullwinkle » Mon Oct 19, 2020 7:51 pm

Don't worry, Sherm, you're good and we love you. Just remember that quality control and the last 5% is the key to a successful development. When you release code under the DG imprimatur, it has to be rock solid.

When are you and Peabody gonna rescue DG from the past? We've been waiting a long time. Get 'er done!

Post Reply