Page 25 of 37

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.

Re: DGDemux development

Posted: Tue May 26, 2020 10:43 am
by Bullwinkle
You better hurry up, Sherman. There are only about 13 hours left in the day.

Re: DGDemux development

Posted: Tue May 26, 2020 8:06 pm
by Rocky
Sherman has turned it over to me for release, so he made the schedule. Great job!

Probably make slipstream tomorrow.

Re: DGDemux development

Posted: Wed May 27, 2020 2:10 pm
by Bullwinkle
Not so fast, Sherman. There is no proper error checking and recovery. And the progress doesn't span the entire playlist? You have all the in and out times for all the M2TS. Figure it out.

Re: DGDemux development

Posted: Thu May 28, 2020 8:49 am
by Sherman
Thank you for the guidance, Bullwinkle. I have added error handling and fixed up the progress indication. Handing off to Rocky.

Re: DGDemux development

Posted: Thu May 28, 2020 8:51 am
by Rocky
Thank you, guys. The changes are non-trivial so let's go with a test version for people to bang on. Note that it has been tested only with CC_SAKURA.

http://rationalqm.us/dgdemux/binaries/D ... isodes.rar

Update both DGDemux and DGDemuxGUI. The manual explains the new options -ep and -sk. Feedback will be appreciated.

Re: DGDemux development

Posted: Fri May 29, 2020 5:34 pm
by Guest
Quick test on Stargate Atlantis disc
Works fine, chapters are right and everything else seems ok

Re: DGDemux development

Posted: Fri May 29, 2020 6:16 pm
by Rocky
Great to hear, gonca. Thank you for your testing.

Re: DGDemux development

Posted: Mon Jun 01, 2020 5:27 pm
by Rocky
Released as slipstream 28. Thank you everybody for suggestions, coding, and testing.

What should we ask Sherman to do next? Solve the quantum measurement "problem"? After he saves history, of course.

Re: DGDemux development

Posted: Mon Jun 01, 2020 5:32 pm
by Sherman
Don't worry, Rocky, I can multitask.

Re: DGDemux development

Posted: Wed Jun 03, 2020 6:28 pm
by Emulgator
Beautiful.
Made a 9-angle-BD test project in DVD Architect 7.0 just to see if it would work:
All 9 angles are found nicely (but did not test demuxing for now).

Small suggestion: Once it comes to cosmetics, the second video stream can have its PID.
Found 0x1015 (dec 4117) for Dolby Vision Enhancement Layer (UHD 2001 - A Space Odyssey)
Somewhere I happened to come across 0x1012 (dec4114) for a MVC stream, don't remember where...

Re: DGDemux development

Posted: Wed Jun 03, 2020 7:01 pm
by Rocky
Greetings Emulgator! Thank you for your testing and feedback.

Yes, we are planning to make the secondary video be treated the same as the primary, i.e., having its own line in the streams list and selectable, etc. It's on the to-do list. ;)

Sherman, here's your next assignment.

Re: DGDemux development

Posted: Thu Jun 04, 2020 12:12 pm
by Sherman
Rocky, thank you for trusting me. I have it implemented but just need to mark DolbyVision streams with a * or something. Gotta find out how to identify a video track as DolbyVision.

Re: DGDemux development

Posted: Thu Jun 04, 2020 12:14 pm
by Sherman
I looked at the BDInfo source code. Their test for Dolby Vision is simply AVC or HEVC and PID >= 0x1015. That is totally divorced from:

https://www.dolby.com/us/en/technologie ... x-v1.2.pdf

I could not detect the stuff documented in that PDF so I will go with the BDInfo method for now.

Re: DGDemux development

Posted: Thu Jun 04, 2020 8:22 pm
by Rocky
Thank you, Sherman. Due to the extensive changes, here is a test version of the new feature that treats the secondary video the same as the primary. Download and rename as DGDemux.exe. Note that DGDemuxGUI is not changed. Your feedback will be appreciated.

http://rationalqm.us/dgdemux/binaries/DGDemux_test.exe

Re: DGDemux development

Posted: Tue Jun 09, 2020 3:15 pm
by Guest
Slipstream 29 download link seems to be broken
DGdemux is used in link instead of DGDemux

Re: DGDemux development

Posted: Tue Jun 09, 2020 4:54 pm
by Rocky
Just checking if y'all are paying attention. Thank you, gonca, for pointing that out. :salute:

I'm looking into 3D demuxing. Not sure if I want to bother. Some things I noticed that complicate things:

* MakeMKV doesn't demux SSIF files. It generates SSIF.SMAP files instead. I can make an app to generate SSIF from SSIF.MAP but really?
* DVDFab does not demux SSIF files at all to the copy folder! Again, I can generate SSIF from the M2TSs but that is much harder than SSIF.SMAP -> SSIF. Really?
* Not sure what AnyDVD does.
* Without SSIF files, BDInfo and EAC3TO do not detect discs as 3D. BDEdit does not care.

I want to demux from SSIF so I don't have to maintain and simultaneously parse two M2TS file lists, etc. It's sort of analogous to why players want to use the SSIF files.

We have to ask does anyone care about 3D these days? It always seemed stupid to me. Totally wrong physics and psychometry.

Re: DGDemux development

Posted: Tue Jun 09, 2020 5:00 pm
by Guest
Never really cared about 3D
Have to say though, 4K has no 3D
:idea:
forget 3D

Re: DGDemux development

Posted: Tue Jun 09, 2020 5:02 pm
by Rocky
gonca wrote:
Tue Jun 09, 2020 5:00 pm
:idea:
forget 3D
Your wish is my command!

Re: DGDemux development

Posted: Tue Jun 09, 2020 5:05 pm
by Guest
Works for me
Save you energy for the 98% use case scenario
As far as the 2% use case :belly-laugh:

Re: DGDemux development

Posted: Tue Jun 09, 2020 5:17 pm
by Rocky
gonca wrote:
Tue Jun 09, 2020 5:05 pm
Works for me
Save you energy for the 98% use case scenario
As far as the 2% use case :belly-laugh:
You like the new icon!

I think it may be more like 0.25%

https://www.lifewire.com/why-3d-tv-died-4126776