Page 24 of 37

Re: DGDemux development

Posted: Thu May 21, 2020 1:46 pm
by domy
You can now give my tool a playlist file instead of a list of segments :)

Re: DGDemux development

Posted: Thu May 21, 2020 1:50 pm
by Rocky
Pretty soon we will have DomyDemux. :wow:

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

Re: DGDemux development

Posted: Sat May 23, 2020 11:45 am
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

Re: DGDemux development

Posted: Sat May 23, 2020 12:23 pm
by Rocky
Please provide link to buy the disk. C'mon, you know we don't have magic wands.

Re: DGDemux development

Posted: Sat May 23, 2020 4:06 pm
by Guest
This is one
https://www.amazon.ca/gp/product/B01JJ4 ... UTF8&psc=1

Hope you like Tom Hanks movies

Re: DGDemux development

Posted: Sat May 23, 2020 5:00 pm
by Rocky
Thank you.

Re: DGDemux development

Posted: Sat May 23, 2020 5:01 pm
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

Re: DGDemux development

Posted: Sat May 23, 2020 5:30 pm
by Guest
UHD (4K)

Re: DGDemux development

Posted: Sat May 23, 2020 5:31 pm
by Rocky
Thanks, will you test the exe for us?

Re: DGDemux development

Posted: Sat May 23, 2020 5:38 pm
by Guest
Tried the new exe you linked
Gives error creating output directory
dgdemux.png

Re: DGDemux development

Posted: Sat May 23, 2020 5:50 pm
by Rocky
OK, thanks. Standby for new version...

Re: DGDemux development

Posted: Sat May 23, 2020 6:02 pm
by Guest
Just tried with a lower directory (T:\New Folder\) and got the same error

Re: DGDemux development

Posted: Sat May 23, 2020 6:06 pm
by Rocky
Please re-download and try again. Thank you.

Re: DGDemux development

Posted: Sat May 23, 2020 6:09 pm
by Guest
It's working on the DaVinci Code
I'll try it on Inferno, the other movie, in a sec

Re: DGDemux development

Posted: Sat May 23, 2020 6:12 pm
by Rocky
Great, thanks. I had my define for the maximum THD frame size too low. I should malloc/free it instead of having a fixed buffer size. Glad you found that directory bug before I released that! :salute:

Re: DGDemux development

Posted: Sat May 23, 2020 6:13 pm
by Guest
Working fine on the second movie
Looks like its all good

Re: DGDemux development

Posted: Sat May 23, 2020 6:14 pm
by Rocky
I'll make releases tomorrow morning. Thank you for your testing, gonca.

Re: DGDemux development

Posted: Sat May 23, 2020 6:19 pm
by Guest
Have a good night

Re: DGDemux development

Posted: Sat May 23, 2020 7:33 pm
by Rocky
Thank you, you too!

Re: DGDemux development

Posted: Mon May 25, 2020 8:18 pm
by Sherman
We're back! We met Rosalind Franklin. She had so many insights on "modern physics" and the sociology of science. And she went to Cambridge, too.

Anyway, I thought up a real simple, robust way to do episode demuxing without all kinds of hullabaloo. Everything falls out automatically. OK, first implement a 'skip first n M2TS files' option. Also implement stopping the demux when a new M2TS (or EOS) is asked for, when in episode mode. Then a high-level process simply starts and when the first M2TS hits NextFile() it re-spawns DGDemux.exe with skipping 1 M2TS and then the current instance dies. Then at each NextFile() call, just bump the number to skip by one, re-spawn, and die. Performance should be fine because each stage only needs to parse one M2TS file. Pretty sneaky, huh? The alternative of closing and re-opening files on-the-fly while parsing all the M2TS files straight-through is too nightmarish to contemplate.

What do you think?

Re: DGDemux development

Posted: Mon May 25, 2020 8:21 pm
by Bullwinkle
Sherman, that's pretty good for a kid. However, coordinating that process with the GUI may not be so trivial. I expect you to have it coded by the end of the day tomorrow. That is the real test of a Moose.

Image

Re: DGDemux development

Posted: Mon May 25, 2020 8:55 pm
by Rocky
Sherman is like wheee!

Re: DGDemux development

Posted: Tue May 26, 2020 8:53 am
by Sherman
Guys, I have the first phase completed. I added the 'skip n M2TS files' option. It uses an extra episode number on the file names and adjusts chapter times, etc. Seems to work fine. Now I will write the high-level controller that does all the episodes via:

DGDemux ... -sk n

starting at n = 0 and incrementing it until done.

Re: DGDemux development

Posted: Tue May 26, 2020 10:09 am
by Sherman
I got the high-level process working. You just add -ep to the end of the DGDemux command line and that will enable per-episode demuxing. Now, I have to add the -ep option to DGDemuxGUI. Then regression test everything very thoroughly and make sure non-episode mode is still working properly.

Re: DGDemux development

Posted: Tue May 26, 2020 10:41 am
by Sherman
Now I have DGDemuxGUI working fine. There is one wart. For each M2TS the progress goes 0-100 and then after the last one everything finishes. It's hard to make the progress span the entire M2TS list so I'm not going to bother. :P

Now code review and regression testing.