DGDemux development
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Greetings, lovers of all things cerebral. Moose high-level thinking beckons!
This looks perfect for reducing fragmentation without a total redesign:
https://devblogs.microsoft.com/oldnewth ... 0/?p=93875
Each stream output file could effectively have (say) a 1GB file system buffer managed by the OS. Sure, buffering could be done inside DG code using RAM (which could be severely limited), but why not use the OS file system, which is not limited by RAM?
Did you know moose hooves are razor sharp? Like my intellect. People call me intellectual.
This looks perfect for reducing fragmentation without a total redesign:
https://devblogs.microsoft.com/oldnewth ... 0/?p=93875
Each stream output file could effectively have (say) a 1GB file system buffer managed by the OS. Sure, buffering could be done inside DG code using RAM (which could be severely limited), but why not use the OS file system, which is not limited by RAM?
Did you know moose hooves are razor sharp? Like my intellect. People call me intellectual.
Re: DGDemux development
Wow, Bullwinkle, you're on a roll. C'mon, let's go. Whee!
Re: DGDemux development
Thank you for your nice project. I am anxious to see perfect DGDemux and willing to report my test results on the BD disks at hand.
The correlated 3D disk, whose extracted DTS audio by DGDemux behaves abnormally , is a DIY one and released by hobbyist on private tracker to research on. Itself can be played without finding any problem. And I just have found that eac3to, tsmuxer and mkvtoolnix actually can perfectly demux the correlated DTS High Resolution audio stream without duration error.
Could you go to that private track to obtain this source? If you do not have its account, I am pleased to invite you as long as you are willing to be and agree with its rule.
Re: DGDemux development
Bullwinkle it looks very good! Your intellect is razor sharp!
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Thank you, redbtn, and welcome to the forum! We are so lucky to have a high-level thinker like yourself, even if hoomin. Some of my best friends are hoomin. Nobody calls me hoomin!
Managed to add the file preallocation but need someone to test it and see if it actually improves performance and/or fragmentation. Here is the test version. Your testing will be appreciated.
http://rationalqm.us/misc/DGDemux_test.rar
Preallocation amounts:
video 50GB
each audio 5GB
each sup 1GB
Ran it on HOBBS and things looked fine to me.
BTW, next release will allow you to disable sound, or replace it with a moose snorting!
Managed to add the file preallocation but need someone to test it and see if it actually improves performance and/or fragmentation. Here is the test version. Your testing will be appreciated.
http://rationalqm.us/misc/DGDemux_test.rar
Preallocation amounts:
video 50GB
each audio 5GB
each sup 1GB
Ran it on HOBBS and things looked fine to me.
BTW, next release will allow you to disable sound, or replace it with a moose snorting!
Re: DGDemux development
We've been looking for DTS HDHR streams so this would help both of us. If I gave you an FTP would you be able to upload it there? We don't do torrents.
Re: DGDemux development
Test version
Movie Unforgiven 2:10 approximately
Video
Demux time between the two versions is about the same (1:50 to 1:55)
Test version appears to be contiguous
Normal version is highly fragmented
Results look good
Movie Unforgiven 2:10 approximately
Video
Demux time between the two versions is about the same (1:50 to 1:55)
Test version appears to be contiguous
Normal version is highly fragmented
Results look good
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
That's moose-ik to my ears, gonca! Thank you for your testing. If we had ranks here, you'd be promoted to high-level thinker. Maybe even Honorary Moose.
Didn't expect performance gains but hoped for less fragmentation, so...mission accomplished. Snort!
Didn't expect performance gains but hoped for less fragmentation, so...mission accomplished. Snort!
Re: DGDemux development
Testing Test version in progress.
Sometimes I have some glitches
Sometimes I have some glitches
- Attachments
-
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
redbtn, don't move the dialog while operations are pending. Rocky will fix it at some point. Some kind of Windows deficiency. More interested in the fragmentation results.
Cuz hoomins are asking...
Bullwinkle: High-level thinker, architect, and visionary for DG tools. The brains of the operation!
Rocky (mod): Chief coder and debugger for DG tools. Industrious and occasionally has interesting ideas.
admin (mod): Dumbass that takes care of forum admin and legal stuff. Known to harass people for no reason.
Boris and Natasha: Russian spies. Don't fall for the gold coins and counseling scams! Natasha will drink your blood.
Hey, gonca, what happened to your avatar? Come back with a great one. Snort! Oh, and how do you measure fragmentation? Mark Russinovich's contig works very well. Such a great body of work from Mark. Moose salutations!
Cuz hoomins are asking...
Bullwinkle: High-level thinker, architect, and visionary for DG tools. The brains of the operation!
Rocky (mod): Chief coder and debugger for DG tools. Industrious and occasionally has interesting ideas.
admin (mod): Dumbass that takes care of forum admin and legal stuff. Known to harass people for no reason.
Boris and Natasha: Russian spies. Don't fall for the gold coins and counseling scams! Natasha will drink your blood.
Hey, gonca, what happened to your avatar? Come back with a great one. Snort! Oh, and how do you measure fragmentation? Mark Russinovich's contig works very well. Such a great body of work from Mark. Moose salutations!
Re: DGDemux development
He really wasn't smarter than the average bear
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
You're right, average is a pretty low bar to set. Maybe good for europeons.
gonca, my friend, you get the heel nippers like you know who and his flying monkeys. Deal with them like this:
https://www.youtube.com/watch?v=O_s6-sfsWq0
Poor thing! The pit bull was smart enough to get out of Dodge. Don't wrestle with pigs! Stomp them and move on.
gonca, my friend, you get the heel nippers like you know who and his flying monkeys. Deal with them like this:
https://www.youtube.com/watch?v=O_s6-sfsWq0
Poor thing! The pit bull was smart enough to get out of Dodge. Don't wrestle with pigs! Stomp them and move on.
Re: DGDemux development
It happens after minimize, Moving the dialog while operations are pending looks fine.Bullwinkle wrote: ↑Sun Dec 01, 2019 11:10 amredbtn, don't move the dialog while operations are pending. Rocky will fix it at some point.
1Gb for every sub is too much, isn't it? I think 100-150mb is enough.
You can use Defraggler (Analyze, then FIle list and see how many fragments uses the file)
Audio and subs are good now. But video still has fragmentation, not that much as earlier, but still. Can you please preallocate 75GB for video and 150mb for each sub? I'll test it again, maybe it solves the problem completaly.
PS: I demuxed BD with video track smaller than 50gb and it's perfect. So, defenetly need increase it for video. I think 75gb will be enough for most discs.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Looking at your minimize issue.
Sure, let's adjust prealloc as you suggest. Maybe should be configurable.
Sure, let's adjust prealloc as you suggest. Maybe should be configurable.
Re: DGDemux development
Thx! Can't wait to test it! Looks like you duplicate my issue already, while i was recording a video.Bullwinkle wrote: ↑Sun Dec 01, 2019 12:33 pmLooking at your minimize issue.
Sure, let's adjust prealloc as you suggest.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Didn't duplicate it, just keeping an open investigatory Moose mind. What are your steps exactly to show it?
People call me Inspector!
People call me Inspector!
Re: DGDemux development
Open DGDemux GUI. open mpls, click minimize.Bullwinkle wrote: ↑Sun Dec 01, 2019 12:44 pmDidn't duplicate it, just keeping an open invesigatory Moose mind. What are your steps exactly to show it?
People call me Inspector!
Here is a video below.
- Attachments
-
- Video_2019-12-01_233603-2019-12-01.rar
- (1.13 MiB) Downloaded 464 times
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Can't duplicate that. What OS etc.? C'mon, windows can't minimize and restore a dialog? Don't hand us some WinXP/Win7 nonsense. We use latest libraries and runtimes.
Gonna tell Rocky to go with video 100 GB, audio 5 GB each, sups 1 GB.
Gonna tell Rocky to go with video 100 GB, audio 5 GB each, sups 1 GB.
Re: DGDemux development
Windows 10 1809.Bullwinkle wrote: ↑Sun Dec 01, 2019 12:54 pmCan't duplicate that. What OS etc.? C'mon, windows can't minimize and restore a dialog? Don't hand us some WinXP/Win7 nonsense. We use latest libraries and runtimes.
I'ma tell Rocky to go with video 100 GB, audio 5 GB each, sups 1 GB.
I never saw sup more than 100mb, ok, you can do 200mb. 1GB is too much IMO.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
So you say that Windows cannot minimize and restore a dialog? We run 1909.
If we come up short on preallocs, people will rag on us.
If we come up short on preallocs, people will rag on us.
Re: DGDemux development
I don't know, I have no issues with my windows, only DGDemux GUI has this issue. I saw TrueHD more than 5GB. You can't do 7-8 GB for THD and DTS-MA, and 1GB for AC3?Bullwinkle wrote: ↑Sun Dec 01, 2019 1:03 pmSo you say that Windows cannot minimize and restore a dialog? We run 1909.
If we come up short on preallocs, people will rag on us.
Ps: I use 1809 LTSC, can it make sense?
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
Let's see if anyone else reports your GUI corruption after minimize.
Don't want to get too deep in the weeds on prealloc and make a mess. 10 GB for audio then. Any failure to prealloc is not fatal and the affected streams are just not prealloc'ed.
Don't want to get too deep in the weeds on prealloc and make a mess. 10 GB for audio then. Any failure to prealloc is not fatal and the affected streams are just not prealloc'ed.
Re: DGDemux development
Deal!Bullwinkle wrote: ↑Sun Dec 01, 2019 1:13 pmLet's see if anyone else reports your GUI corruption after minimize.
Don't want to get too deep in the weeds on prealloc and make a mess. 10 GB for audio then. Any failure to prealloc is not fatal and the affected streams are just not prealloc'ed.
- Bullwinkle
- Posts: 338
- Joined: Thu Sep 05, 2019 6:37 pm
Re: DGDemux development
You drive a hard bargain...for a hoomin!
Re: DGDemux development
I'll risk it!
How much RAM uses DGDemux for now? I'd like to use at least 1GB RAM. I can give it 20, but other users possibly can't.