DGDemux development

User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post 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
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Sherman is like wheee!
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post 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.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post 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.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post 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.
Sherman Peabody
Director of Linux Development
User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post by Bullwinkle »

You better hurry up, Sherman. There are only about 13 hours left in the day.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Sherman has turned it over to me for release, so he made the schedule. Great job!

Probably make slipstream tomorrow.
User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post 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.
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post by Sherman »

Thank you for the guidance, Bullwinkle. I have added error handling and fixed up the progress indication. Handing off to Rocky.
Sherman Peabody
Director of Linux Development
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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.
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Quick test on Stargate Atlantis disc
Works fine, chapters are right and everything else seems ok
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Great to hear, gonca. Thank you for your testing.
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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.
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post by Sherman »

Don't worry, Rocky, I can multitask.
Sherman Peabody
Director of Linux Development
User avatar
Emulgator
Posts: 22
Joined: Tue May 12, 2020 9:39 am

Re: DGDemux development

Post 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...
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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.
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post 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.
Sherman Peabody
Director of Linux Development
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: DGDemux development

Post 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.
Sherman Peabody
Director of Linux Development
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Slipstream 29 download link seems to be broken
DGdemux is used in link instead of DGDemux
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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.
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Never really cared about 3D
Have to say though, 4K has no 3D
:idea:
forget 3D
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

gonca wrote:
Tue Jun 09, 2020 5:00 pm
:idea:
forget 3D
Your wish is my command!
DAE avatar
Guest

Re: DGDemux development

Post by Guest »

Works for me
Save you energy for the 98% use case scenario
As far as the 2% use case :belly-laugh:
User avatar
Rocky
Posts: 3556
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post 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
Post Reply