Page 36 of 37

Re: DGDemux development

Posted: Mon Oct 19, 2020 8:49 pm
by Sherman
I was scared to tell you, Bullwinkle. DG is stuck in the future. We don't know how it happened on a routine Wayback journey, and we don't have any ideas about how to get him back. So sorry.

Re: DGDemux development

Posted: Mon Oct 19, 2020 8:55 pm
by Natasha
Sherman murdered DG.

Re: DGDemux development

Posted: Mon Oct 19, 2020 8:57 pm
by Sherman
It was an accident!

Re: DGDemux development

Posted: Tue Oct 20, 2020 7:48 pm
by Albert
Hope I am not out-of-line in saying that what Sherman has done with the DGDemux performance enhancement is really quite remarkable, and he is to be highly commended for it. He and I are working together to modify the Wayback Machine to support trips to the future. One would expect the time symmetry of deterministic reality to allow this. We anticipate bringing DG back very soon.

Re: DGDemux development

Posted: Sat Dec 12, 2020 8:29 pm
by Guest 3
Is the comment from mlp project still correct regarding truehd frame :
DGDemux deletes a minor frame at every segment boundary, which is better still, but not perfect yet
source : https://github.com/domyd/mlp

Re: DGDemux development

Posted: Sun Dec 13, 2020 4:15 am
by Rocky
Correct. Read the thread here if you are interested in the details.

Re: DGDemux development

Posted: Sun Dec 13, 2020 11:07 am
by Guest
but not perfect yet
The audio and video frames/samples have different duration.
Perfection is an illusion in this case.
You have to consider time usage, coding complexity etc
How sensitive are your ears?

Re: DGDemux development

Posted: Sun Dec 13, 2020 5:40 pm
by Guest
Can anyone detect a 10ms desync with eyes and ears?
And don't forget that the playback chain can also introduce a couple of millisec into it
AVR>Video>TV
AVR>Audio>Amp>Speakers

Then you have the speed of light vs speed of sound :lol:

Re: DGDemux development

Posted: Mon Dec 14, 2020 6:45 am
by Rocky
I ran both algorithms on MONSTERS_UNIVERSITY and found a 5ms difference in total duration. DGDemux is deleting more frames because it does not attempt to compare the audio frames to see actual duplicates. However, claiming that MLP is perfect is simply not true. Actually, it uses a statistical test involving covariance to compare the frames, which seems strange to me. There is an arbitrary threshold (95%) for covariance. Also, when there is silence at a gap, frame comparison is abandoned. And how good is the test for silence? So my point is that MLP also cannot be considered perfect or definitive. Is it better? Perhaps, perhaps not. It's not worth worrying about 5ms. And the DGDemux method is way faster.

If you look at the Issues at the MLP github you'll see that it is not all peaches and cream with MLP. And domy appears to have stopped working on it (src last modified 7 months ago).

Re: DGDemux development

Posted: Mon Dec 14, 2020 3:11 pm
by Guest
Yeah, seems to have an issue matching video and audio length
Not perfect
Oh well, the grass is always greener type of thing

Re: DGDemux development

Posted: Mon Dec 14, 2020 4:11 pm
by Rocky
I am of the KISS school. The more complex things are the more ways to go wrong. Of course, Albert will remind us, sure, keep things simple, but not too simple. As simple as possible.

Re: DGDemux development

Posted: Mon Dec 14, 2020 6:26 pm
by Guest 3
Rocky wrote:
Mon Dec 14, 2020 6:45 am
I ran both algorithms on MONSTERS_UNIVERSITY and found a 5ms difference in total duration. DGDemux is deleting more frames because it does not attempt to compare the audio frames to see actual duplicates. However, claiming that MLP is perfect is simply not true. Actually, it uses a statistical test involving covariance to compare the frames, which seems strange to me. There is an arbitrary threshold (95%) for covariance. Also, when there is silence at a gap, frame comparison is abandoned. And how good is the test for silence? So my point is that MLP also cannot be considered perfect or definitive. Is it better? Perhaps, perhaps not. It's not worth worrying about 5ms. And the DGDemux method is way faster.

If you look at the Issues at the MLP github you'll see that it is not all peaches and cream with MLP. And domy appears to have stopped working on it (src last modified 7 months ago).
So if i understand correctly the only issue that could happen is if you delete a frame when not needed (but you never saw this case), and the wave doesnt align at all, we could hear a pop ( that nobody could notice anyway :) )

Re: DGDemux development

Posted: Tue Dec 15, 2020 7:12 am
by Rocky
Yes, that's right, Guest 3. Studies of packet-based internet audio show that for 20ms packets of audio, perceptibility problems begin when 15% of the packets are affected. Now think about what we have with MONSTERS. We have 0.8ms drops affecting about 0.002% of the stream. Size of the loss and how often it occurs are the relevant variables, and for this use case both of these are extremely low. You're not going to hear any 'pops'.

DGDemux chapters problem

Posted: Sat Jan 16, 2021 4:44 pm
by thechaoscoder
My first post (finally) :hat:

I demuxed a japanese BD with the "episodes demuxing" option. Perfect demux of episodes except for the chapters.
Some episodes have multiple 00:00:00 lines. Some look ok. The first episode chapters file contains also the chapters of the last episode. :scratch:

I created a "DiscShare" version https://forum.doom9.org/showthread.php?p=1893719 of the BD.
Can I post a link in Attachments or should I send the download link to Rocky? via PN? What is the preferred way?

DGDemux development

Posted: Sat Jan 16, 2021 5:14 pm
by admin
Send PM to Rocky to discuss.

What is going on here? A first poster already Moose Approved. I don't get it.

Welcome to the forum!

DGDemux development

Posted: Sat Jan 16, 2021 5:26 pm
by Rocky
Sweet. It will be great to get episode demuxing shaken down. Looking forward to more details. Respect.

DGDemux development

Posted: Sat Jan 16, 2021 5:28 pm
by thechaoscoder
I got promoted by this epic hacker videoh. Soon I will be Site Admin! :belly-laugh:

ChaosKing (doom9) <=> thechaoscoder

DGDemux development

Posted: Sun Jan 17, 2021 6:16 am
by Sherman
Winkie is running wild. We need to rein him in.
thechaoscoder wrote:
Sat Jan 16, 2021 5:28 pm
Soon I will be Site Admin!
Don't get your hopes up, pal. I already have dibs on that. And you haven't even earned your spurs yet!

So yeah, Albert brought me back to the present. And guys, I'm so excited. We now have a reliable mechanism for travel into the future and the Wayback Machine has been modified to support it.

All right, let's get busy on thechaoscoder's bug report.

DGDemux development

Posted: Sun Jan 17, 2021 6:27 am
by Bullwinkle
Welcome back, kid.

Herewith, according to my inherent powers and benevolent discernment, thechaoscoder is awarded his spurs.

Image

DGDemux development

Posted: Sun Jan 17, 2021 9:16 am
by Rocky
I got the chapters fixed for episode demuxing. I'll make a slipstream in a little while.

DGDemux development

Posted: Sun Jan 17, 2021 10:12 am
by Rocky
Chapters fix released in slipstream 48.

DGDemux development

Posted: Sun Jan 17, 2021 12:08 pm
by thechaoscoder
Thank you. The demux is perfect now :mrgreen:

DGDemux development

Posted: Mon Jan 18, 2021 6:47 am
by Rocky
Great. Thank you for your testing.

Today I am going to work on CLI automation for DGMPGDec.

DGDemux development

Posted: Sat Feb 19, 2022 3:57 pm
by sb6th
Please, for the love of that which is ol' holy Mc Donald;
a Mac universal binary? (ARM64-only also works, for me at least ;-))
:bow:
Can we post a bounty somewhere?

DGDemux development

Posted: Sat Feb 19, 2022 5:24 pm
by Rocky