DGDemux development

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

Re: DGDemux development

Post by Sherman » Tue Sep 22, 2020 10:15 pm

Oh, such a whirlwind. First Boltzmann told me it's all about distributions and then Newton told me it's all about initial conditions. Who to believe?

Anyway, I re-based my speedup code on slipstream 43, which seems pretty stable. I still reduce demux time for the video from 3:26 to 0:58 for a representative disk. I would like to put the code back under an INI option so that it doesn't diverge from the main line again. Is that all right, Rocky?

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

Re: DGDemux development

Post by Bullwinkle » Tue Sep 22, 2020 10:23 pm

Distributions and initial conditions are the same thing. There is no abstract distribution divorced from a specific sampling of reality, and such a sampling can itself be taken as a set of initial conditions given at a specific time.

Go ahead and integrate your stuff (use Commit on the VisualSVN pulldown). When you have everything supported, we can publish the INI setting so that our great users can test it out. 3:26 -> 0:58 sounds great. Git 'er done!

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

Re: DGDemux development

Post by Rocky » Tue Sep 22, 2020 10:27 pm

What Bullwinkle said. :agree:

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

Re: DGDemux development

Post by Natasha » Tue Sep 22, 2020 10:31 pm

Let me guess:

Speedup=0/1

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

Re: DGDemux development

Post by Mr. Peabody » Tue Sep 22, 2020 10:32 pm

Natasha wrote:
Tue Sep 22, 2020 10:31 pm
Speedup=0/1
Simple things please simple minds.

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

Re: DGDemux development

Post by Curly » Tue Sep 22, 2020 10:44 pm

New_Single_Level_Parsing_Architecture=false/true

User avatar
Boris
Posts: 34
Joined: Sun Nov 10, 2019 3:55 pm

Re: DGDemux development

Post by Boris » Tue Sep 22, 2020 10:46 pm

Brain_Dead_Design_From_The_Past_Finally_Excised=duh/huh

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

Re: DGDemux development

Post by Rocky » Tue Sep 22, 2020 10:56 pm

Image

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

Re: DGDemux development

Post by Britney » Wed Sep 23, 2020 8:42 am

Silly billies, only DGDemuxGUI reads the INI file, so there has to be an option to DGDemux: maybe -fast.

And then in DGDemuxGUI, if you hold down the shift key when pressing the Show or Demux buttons, the -fast option is issued. That way we don't have to create a new option line in the GUI (which would just have to be removed down the road) while still being able to go fast or slow without needing to edit the INI file or exit the GUI.

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

Re: DGDemux development

Post by Sherman » Wed Sep 23, 2020 12:50 pm

Great idea, Britney. I implemented that and hopefully Rocky will include it in the next slipstream. I'll keep adding to it until all the stream types are supported in fast mode. Then when we switch everything over we will have fast mode by default.

BTW, I demuxed the AC3 stream from 1917:

old mode: 3:46 secs
fast mode: 0:32 secs
Seems like a useful development. :belly-laugh:

BTW, I found a little bug in build 43. DV streams are not marked as DV (regression from the fix to not show PIP as DV). Say thank you.

User avatar
admin
Site Admin
Posts: 4415
Joined: Thu Sep 09, 2010 3:08 pm

Re: DGDemux development

Post by admin » Wed Sep 23, 2020 2:33 pm

Britney wrote:
Tue Sep 22, 2020 11:04 am
Wow, admin. You can really dance! Kisses, Brit.
Talk about exposing people's early careers. Still, not quite in your league:

https://youtu.be/76pYZjhVylw?t=40

:bow:

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

Re: DGDemux development

Post by Curly » Wed Sep 23, 2020 2:38 pm

Let's expose Natasha. Sunlight kills vampires. Nyuh nyuh.

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

Re: DGDemux development

Post by Natasha » Wed Sep 23, 2020 10:02 pm

Spin in circles, doughboy.

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

Re: DGDemux development

Post by Rocky » Thu Sep 24, 2020 7:51 pm

Settle down children! Love and respect one another.

Sherman, thank you for checking in your code and for reporting the DV marking bug. I noticed that gaps correction is not working for DTS in fast mode (AC3 is OK). Can you look into it please? Great speedup BTW.

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

Re: DGDemux development

Post by Bullwinkle » Thu Sep 24, 2020 7:55 pm

Rocky wrote:
Thu Sep 24, 2020 7:51 pm
Great speedup BTW.
Not too shabby for a 7-year-old hoomin.

Sherman, did you solve the quantum measurement problem yet?

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

Re: DGDemux development

Post by Rocky » Sat Sep 26, 2020 6:40 pm

Thank you, Sherman, for the DTS fix for fast mode. Now I see that LPCM is demuxing differently between fast and slow modes. Please check it out. Looking good!

User avatar
Emulgator
Moose Approved
Posts: 17
Joined: Tue May 12, 2020 9:39 am

Re: DGDemux development

Post by Emulgator » Mon Sep 28, 2020 4:37 pm

I LOVE the preview !
Many thanks ! :bow: :bravo:

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

Re: DGDemux development

Post by Sherman » Mon Oct 05, 2020 9:11 am

Sorry I took so long for the LPCM fix. It's all better. Bullwinkle had me laying floors for a week!

Typical disk demuxing the LPCM track:

slow mode 3:45
fast mode 0:35

Anyway, I just have to add the following and then you can let it out to the wild:

* THD and embedded AC3
* PGS
* preallocation
* garbage stripping option

Shouldn't take too long. However:

But Mousie, thou art no thy-lane,
In proving foresight may be vain:
The best laid schemes o’ Mice an’ Men
Gang aft agley,
An’ lea’e us nought but grief an’ pain,
For promis’d joy!


-- Robert Burns

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

Re: DGDemux development

Post by Rocky » Mon Oct 05, 2020 9:13 am

Sounds great, Sherman. I confirmed that the LPCM is fixed in fast mode.

As they say in the swimming world: Finish Strong!

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

Re: DGDemux development

Post by Sherman » Mon Oct 05, 2020 8:06 pm

Bullwinkle wrote:
Thu Sep 24, 2020 7:55 pm
Sherman, did you solve the quantum measurement problem yet?
I don't see any problem. Would you be able to explain why you think there is a problem?

@Rocky

I can't swim. :oops:

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

Re: DGDemux development

Post by Britney » Mon Oct 05, 2020 9:22 pm

Sherman wrote:
Mon Oct 05, 2020 8:06 pm
I don't see any problem.
:bow:

Kisses, Brit

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

Re: DGDemux development

Post by Mr. Peabody » Mon Oct 05, 2020 9:57 pm

Propping up straw men is a not-so-subtle form of rhetoric to be eschewed. I refer of course to the quantum measurement straw man.

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

Re: DGDemux development

Post by Sherman » Tue Oct 06, 2020 2:29 pm

Mr. Peabody wrote:
Mon Oct 05, 2020 9:57 pm
eschewed
Does that mean hard to swallow?

@Rocky

Got PGS demuxing working in fast mode. The fast and slow demuxed SUP files are binary identical. Now have to do THD and embedded AC3. Then a little cleanup and we can give it out.

There is enough supported to fully demux La Notte (Criterion). Here are the timings for demuxing everything:

slow: 5:00
fast: 1:19

That's a 3.8 times speedup!

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

Re: DGDemux development

Post by Natasha » Tue Oct 06, 2020 7:59 pm

Sherman wrote:
Tue Oct 06, 2020 2:29 pm
That's a 3.8 times speedup!
Is that the best you can do? Pathetic.

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

Re: DGDemux development

Post by Curly » Tue Oct 06, 2020 8:01 pm

Give the kid a break. He's doing his best.

Post Reply