DGDemux development

User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

OK borderline, here's what I have done for you (already tested). There is a new option -ffsl (first file size limit). This option defaults to 0 (check disabled). If ffsl > 0 and if the size of the first M2TS file in the playlist is less than the ffsl value, then the first M2TS is ignored.The option -ffsl 1000000 enables correct fps detection and demuxing of Naked Alibi with AV sync.

BTW, eac3to also fails with Naked Alibi and needs a fix like this.

If you absolutely must have that logo then you will have to re-append it in your encoding process and provide some audio for it. Seems pretty pointless to me though. Great flick, BTW.

EDIT: Need to adjust the chapter times apparently, too. Hmm, may not be so easy. Investigating.
-----
> dgdemux -i h:\rips\naked_alibi\bdmv\playlist\00004.mpls -ffsl 1000000
DGDemux 1.0.0.2 by Donald A. Graft
Copyright (C) 2019-2020 Donald A. Graft, All Rights Reserved

DGDemux: Ignoring h:\rips\naked_alibi\bdmv\STREAM\00010.m2ts as too small.

h:\rips\naked_alibi\bdmv\STREAM\00004.m2ts
h:\rips\naked_alibi\bdmv\STREAM\00000.m2ts

1011: Video
1100: DTS HDMA L+R 48 1536 [fra]
1101: AC3 2.0 48 192 [eng]
1200: PGS subtitles [eng]
-----
User avatar
Bullwinkle
Moose Approved
Posts: 179
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post by Bullwinkle »

Rock, just make a 'skip first M2TS' option. ffsl? Really? Snort.

Been thinking about investing in gold coins. Wanna make a fortune? Hoomins,
send a PM and we will make you rich beyond even your wildest, most Moose-like,
dreams. :wow:

https://www.youtube.com/watch?v=_lTB8m6z_sY
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

That's right, Bullwinkle. Let's go!
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Revised to use -sf (skip first). Also the chapters are adjusted when -sf is given. Release later today.
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Here is version 1.0.0.2. The most important changes are:

* Now prints a listing of the M2TS files in the playlist when omitting the -o option.

* Fully fixed the angle handling. All angles are now accessible using 1-based numbering.

* Added a -sf option to skip the first M2TS (and adjust the chapters) for disks such as Naked Alibi.

* The presence of an embedded AC3 for THD audio is now indicated in the stream listing. E.g.:
1100: THD 48000 8ch (plus embedded AC3) [eng]

* Updated the help file, the to-do list, and the license.

http://rationalqm.us/dgdemux/DGDemux_1002.rar

Probably implement WAV wrapping for LPCM next. Whee!
User avatar
hydra3333
Moose Approved
Posts: 210
Joined: Wed Oct 06, 2010 3:34 am
Contact:

Re: DGDemux development

Post by hydra3333 »

If there was a like button on the forum, I'd click it :)
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

You're right, hydra3333! Where is that button? :?

We aim to please and we thank the divine for energizing us all. Whee!

Bullwinkle told me to watch out for a Russian spy lady seen several times. Can't be too careful these days.
DAE avatar
borderline
Posts: 3
Joined: Thu Nov 14, 2019 5:01 am

Re: DGDemux development

Post by borderline »

I'm glad you liked the movie.

Testing v1.0.0.2 with -sf and DGDemux worked great.
Cheers.
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Following is the current to-do list (in no particular order). Looking at a GUI release and updated DGDemux later today.

----------------------------------------------------------------------------------------------
The DTS audio gets tagged with 1536 which is the core audio but the
actual DTS is DTS MA. E.g: PID 1101 C+L+R+SL+SR 48 1536 eng DELAY 0ms.dts

DTS express streams are not demuxed.

Doesn't demux the secondary video.

Demux simultaneously forced-only subtitle stream and normal stream.

Split by chapters, i.e., Japanese disks with one episode per M2TS.

Linux version.

I had forgotten to ask for the most important feature which I need for chapterEditor to create
Mulit-Edition-mkvs. With eac3to is it possible to use the m2ts files as input and only so I can
create such mkvs. In eac3to I can append all the m2ts-path with a "+". [hubblec4]

Mitigate the console interface issue. E.g., cannot kill with CTRL-C in powershell,
don't get shell prompt after DGDemux terminates, etc.

It would be nice if DGDemux could also show the codec or similar infos like BDInfo does, if possible.

This is maybe not a DGDemux problem, but I can not import/open the extracted .pcm audio file in mkvtoolnix. Tools like DVDFab can save to mkv with pcm audio. Or maybe DGDemux could save it as wav?
pcm = raw wave audio without a header, correct? [ChaosKing]

It would be nice to have some indication of completed process, like "done". Just "100" a
little weird IMO. [redbtn]

It would be nice to have option to demux files to directory where cmd is located (instead of setting output directory directly). Like "E:\Films>dgdemux -i input-dir\00800.mpls -newoption" demuxing to E:\Films [redbtn]

Need 'skip last' and 'skip duplicates' options.

Some kind of playlist scanning aka eac3to.

Default output name prefix. Maybe it is possible to have default output name like "DGDemux"
or "playlist name" when using just "-o"? I like "-o NAME" feature, but I think having a
default name is even better. [redbtn]

[DONE] Create destination directory if it does not exist.

[DONE] Verify handling of mark_type != 1. E.g., Terminators 2, 95 chapters
extracted when 72 is claimed to be correct.

[DONE] Fix missing Frame_Rate for all video types.

[DONE] Info only option and stream selection.

[DONE] FPS CLI option to force frame rate. Warning if FPS not detected.

[DONE] Verify angle numbering base 1 and fix if needed.

[DONE] The listing when no output is specified should show THD embedded stream.

[DONE] Needs a GUI.

[DONE] Your info about a mpls file need an extension to show all the used m2ts files.
User avatar
Bullwinkle
Moose Approved
Posts: 179
Joined: Thu Sep 05, 2019 6:37 pm

Re: DGDemux development

Post by Bullwinkle »

I saw the Russian spy lady again, Rock. Watch out!

Who is this Overdrive80 twerp? We're here slaving away to give free solutions to modern dilemmas, and this guy attacks DG because he feels "offended". Snort!
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Watching for her!

Let the Overdrive80 thing go, Bullwinkle, we can't be bothered with every mosquito that buzzes around our ears, every chihuahua that nips at our ankles. Give him the mosquito slap and be done with it.
User avatar
Boris
Posts: 36
Joined: Sun Nov 10, 2019 2:55 pm

Re: DGDemux development

Post by Boris »

Life is just one massive cartoon. We can write our own scripts. Nothing is real.

Just got a new shipment of gold coins at very good price. Gold is real, baby. Send PM if interested!
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

See if this GUI beta works for y'all. You have to keep the two new executables paired in the same directory.

http://rationalqm.us/dgdemux/DGDemux_1003.rar
DAE avatar
TufInside
Posts: 2
Joined: Wed Nov 06, 2019 8:51 pm

Re: DGDemux development

Post by TufInside »

Rocky wrote:
Wed Nov 20, 2019 8:18 pm
See if this GUI beta works for y'all. You have to keep the two new executables paired in the same directory.

http://rationalqm.us/dgdemux/DGDemux_1003.rar
Seems to work just fine with a couple of discs.
User avatar
Natasha
Mosquito
Posts: 64
Joined: Wed Nov 20, 2019 11:11 am

Re: DGDemux development

Post by Natasha »

TufInside wrote:
Wed Nov 20, 2019 9:00 pm
Seems to work just fine with a couple of discs.
I have some great discs for you, honey. Come with me.
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Can y'all please re-download 1003 to get a fix to the video demuxing?
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Slipstreamed another fix into 1003. GUI progress indicator was getting stuck. Please re-download and update DGDemuxGUI.exe.
User avatar
gonca
Curly Approved/Moose Approved
Posts: 952
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca »

Tested latest GUI version.
Took a UHD disc and demuxed everything from the main playlist
Remuxed video and main audio track with MKVToolNix
Played in sync
One thing, don't know if it is a bug, feature, or just is.
In the output prefix field I entered nothing, I skipped that field.
Every track name started with PIDxx except for the video.
It had a null name (".265")
It muxed fine and the file (".mkv") played in sync as stated, no issue
User avatar
gonca
Curly Approved/Moose Approved
Posts: 952
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca »

Mounted ISO
Tried it
Untitled.png
Seems to work alright
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

A mounted ISO is writable???
User avatar
gonca
Curly Approved/Moose Approved
Posts: 952
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca »

No. I selected a different destination as seen in the screenshot.
Just showing that the issue is not in DGDemux
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

What issue? If you ask for a null name prefix then you will get a null name prefix. ;)
User avatar
gonca
Curly Approved/Moose Approved
Posts: 952
Joined: Sun Apr 08, 2012 6:12 pm

Re: DGDemux development

Post by gonca »

Not that, the post that mentions that DGDemux errors out on a mounted ISO.
Just showing that there is no issue with DGDemux if you output to a different (writable) directory
The null thing was just an observation
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Ah, OK, thanks for the clarification.
User avatar
Rocky
Moose Approved
Posts: 1181
Joined: Fri Sep 06, 2019 12:57 pm

Re: DGDemux development

Post by Rocky »

Here is DGDemux/DGDemuxGUI version 1.0.0.4:

* GUI: Fixed truncation of the output directory edit box.

* GUI: Make a default name prefix from the loaded MPLS file name.

* GUI: Default all streams to checked for demuxing.

* GUI: Show the command line passed to DGDemux.

* GUI: Doing cancel in browse dialogs no longer crashes the GUI.

* Update DGDemux.txt and ToDo.txt.

http://rationalqm.us/dgdemux/DGDemux_1004.rar
Post Reply