DGDemux development

DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Batts, easy to replace or clean up if necessary
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

With gonca's endorsement I can proceed with confidence in laying batts. Gotta tell ya, blown-in cellulose? You'll have a dusty house for decades. I'm laying my first run of new return duct tomorrow. All boxes have been stabilized and sealed, and new interior grates installed. Should be downhill from here. Did I mention 70s construction is a joke?

I want my HVAC loop as tight as possible!
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Minor leak and you are trying to clean up/ dry cellulose forever
With bats you take one out, put one in...Done
Seeing as how you are in the attic I would avoid using the word downhill
attic fall.jpg
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

I punched a leg through my bathroom ceiling a few years ago, so now I am really careful. Thanks for the warning!

Worse comes to worst, I am a flying squirrel.
DAE avatar
domy
Posts: 28
Joined: Fri Mar 20, 2020 10:50 am

Re: DGDemux development

Post by domy »

Got the audio matching working beautifully. Improving the CLI UX, cleaning up the output and adding at least the minimum amount of error handling :P

Should have it done within the next day or so.
DAE avatar
domy
Posts: 28
Joined: Fri Mar 20, 2020 10:50 am

Re: DGDemux development

Post by domy »

Alright guys, here it is: https://github.com/domyd/mlp
0.1 release: https://github.com/domyd/mlp/releases (only Windows x64 for now)

I've tested it on Monsters University UHD and Toy Story 4 UHD and it works perfectly. It turns out that if you remove all duplicate audio frames, the final audio length automagically matches the video length down to a T ;)

I invite you all to test it and give me some feedback :)

Rocky, if you wanna take a look at the implementation, src/libav/demux.rs is a good place to start - that's where the segment loop and overlap detection happen. src/libav/truehd.rs contains the frame matching "algorithm" (which is super naive still, don't get excited) and a few more TrueHD specific functions. All the av_*.rs files wrap ffmpeg's core functions and data structures that I use for demuxing and decoding, to make it easier to work with.

Oh, and one more thing, since I forgot to put that in the README: If you pass it -v after the commands (like mlp.exe demux segments -v ...), you get more detailed output.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

I'll check this out tomorrow, domy. Been working in the attic again all day. Knackered. And my kitty Sweetie Pie is freaking out big time. How dare I change the status quo of the house and disrupt her routine? Feeling so bad. You forget where you are and stand up, and you drive a nail into your head. I have 3 nail holes in my head. Thank God for Neosporin. Just thank God for everything.

Now I have a nice New York Strip and some shrimpies with my name on them. Trying to build up the energy to fire up the grill.

Bought a new toaster today. I'm so excited to try it out in the morning! Little things please little minds.

Thank you for sharing your work with us.
User avatar
Natasha
Posts: 150
Joined: Wed Nov 20, 2019 11:11 am

Re: DGDemux development

Post by Natasha »

Squirrel brains are smaller than a walnut.
User avatar
Curly
Posts: 712
Joined: Sun Mar 15, 2020 11:05 am

Re: DGDemux development

Post by Curly »

That's 10 times bigger than yours, hon.

If you're not busy tonight, come on over.
Curly Howard
Director of EAC3TO Development
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Issue with non existing output dir

Post by Guest 2 »

While playing with thd+ac3 and so from previous thread, I have found that as DGDemux remembers the previous output directory, this could lead to unexpected behaviour, i.e. if you that directory has been deleted and you try to demux the same, it will fake starting the process but neither will create the missing directory nor extract anything, keeping demuxing percentage to zero and the abort function will do nothing.

Two solutions: create the missing directory or do not remember the output directory from session to session.

I would prefer the first telling "hey, you are demuxing nowhere, do you want to create the dir?" or abort the process.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Hmm, thought I had code to create the directory. :scratch:

I'll re-check it with your scenario. Thank you for the report. :salute:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Had a boo-boo in the test for existence of the directory. Fix will be in the next slipstream.
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: DGDemux development

Post by Guest 2 »

Rocky wrote:
Sun May 17, 2020 6:58 am
Thank you for the report. :salute:
You are the most welcome.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

No, you are the most welcome!
:belly-laugh:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

I'm having so much fun in the attic, replacing ducts and sealing up every crevice I can find, that I decided to up my game. I've bought a FLIR C2 thermal imager (https://www.flir.com/products/c2/) that I will use to hunt down further air gaps, poor insulation areas, and thermal bridges. Expect to see some nice images coming your way. Don't worry, I'll start a new thread for it.

The primary enemy is...DUST. It's easy to throw money at heating/cooling deficiencies (just tolerate the higher heating/cooling bills, what else am I going to do with my cash?), but you can't buy your way out of dust. I hate that crap. Sure, you can buy expensive furnace filters, but it doesn't help much if the dust is being sucked in through gaps in the ceiling. And proper duct sealing pre-empts the need for expensive filters in your HVAC loop.

Blown in cellulose disintegates into dust and viscious chemicals like boric acid and ammonium sulphate. Who needs that?
DAE avatar
domy
Posts: 28
Joined: Fri Mar 20, 2020 10:50 am

Re: DGDemux development

Post by domy »

You can now give my tool a playlist file instead of a list of segments :)
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Pretty soon we will have DomyDemux. :wow:

Been busy on home fixing but will check it out any minute now.
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Re DGDemux 1.0.0.26
The DaVinci Code and Inferno
When attempting to demux the audio track (thd) from these movies with the GUI DGDemux.exe does not launch does not progress, stays stuck at 0%
Single m2ts stream
Using MKVToolNix to remux and then extracting audio works (gMKVExtract)
DGIndexNV 207 works fine
DGIndexNV 209 crashes
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Please provide link to buy the disk. C'mon, you know we don't have magic wands.
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

This is one
https://www.amazon.ca/gp/product/B01JJ4 ... UTF8&psc=1

Hope you like Tom Hanks movies
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Thank you.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Is it the bluray or the UHD? $10 difference.

And can you test this please?

http://rationalqm.us/dgdemux/binaries/DGDemux_gonca.exe
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

UHD (4K)
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Thanks, will you test the exe for us?
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Tried the new exe you linked
Gives error creating output directory
dgdemux.png
Post Reply