Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > Advanced authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th November 2019, 22:38   #21  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
Quote:
Originally Posted by videoh View Post
1. Linux is low priority but I don't rule it out. As I eliminate win32 stuff over time, we may reach a pure C/C++ level, at which point the code could be built for Linux.
Many thanks and I will wait
Quote:
Originally Posted by videoh View Post
2. Noted and agreed for later.
Perfect. Maybe you could add an option if only the input param is used with the path to the mpls file, you could output an overview about all the streams and IDs. With such overview it should be easy to generate cli commands to extract the needed streams only.
Quote:
Originally Posted by videoh View Post
3. You mean you want one file with all subs (including forced) and one with only forced? Or one with only nonforced and one with forced? So too unclear to answer. What does eac3to do in this regard?
I mean extract the whole sup(including forced) and a separate forced sup file. eac3to has also not such feature. I always have to do two extraction runs.
Quote:
Originally Posted by videoh View Post
4. Default angle number is 0, i.e., the first one.
In an mpls is a value of 0 not allowed for the Angles, it starts with "1".
When I need the second Angle, I have to use 1 (not 2): OK
Quote:
Originally Posted by videoh View Post
(5). These language codes are read from the MPLS and I simply use them. I see no reason to try to map them to something else.
OK, I can check such language codes by my self and change it if necessary.


Quote:
Originally Posted by videoh View Post
I have code that is supposed to suppress mark_type != 1, but maybe it is broken. Please provide a link for me to purchase that exact same disk and then I can look into it. Also, how do you determine what is "normal"? Thank you.
Here is a Amazon link to T2

Normal chapters means the chapters which are visible and usable to users.
If you want I can upload a piece from T2 BD.

There is an other issue with the T2 BD. Not all streams will be demuxed, there is a secondary video which is ignored (eact3o extract this stream).
hubblec4 is offline   Reply With Quote
Old 6th November 2019, 22:52   #22  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Great, thanks. I will check on the angle number as I answered from the hip. How do you think it should be?

Will get T2 and fix the issues. Hmm, secondary video. Never heard of it!

Yes, there will be an info option to just get a listing.

Last edited by videoh; 6th November 2019 at 22:58.
videoh is offline   Reply With Quote
Old 7th November 2019, 00:24   #23  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
Quote:
Originally Posted by videoh View Post
Great, thanks. I will check on the angle number as I answered from the hip. How do you think it should be?
You should start with number 1 instead of 0. All other BD tools which handles Angles starts with 1. Also my mpls parser uses the original Angle numbers.

Quote:
Originally Posted by videoh View Post
Will get T2 and fix the issues. Hmm, secondary video. Never heard of it!
T2 is not the only one. I have seen some BDs with a secondary video stream.

I have uploaded the full structure with an untouched m2ts file of T2 BD.

Quote:
Originally Posted by videoh View Post
Yes, there will be an info option to just get a listing.
Wonderful.
hubblec4 is offline   Reply With Quote
Old 7th November 2019, 00:33   #24  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
And DGDemux don't extract the two DTS Express streams of the T2 BD.
hubblec4 is offline   Reply With Quote
Old 7th November 2019, 03:06   #25  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Thank you, hubblec4. Downloading... Disk is on order as well.

The angles work as in DGIndexNV. They are numbered 1 to N as you say. If the stream has angles and you did not specify -ang, then you get a popup asking you to pick the desired angle number. Should default to one as you say and get rid of the popup. On the list.

Please advise which playlist you are using.

Last edited by videoh; 7th November 2019 at 03:43.
videoh is offline   Reply With Quote
Old 7th November 2019, 03:52   #26  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
mpls playlist 00018, 00019 00020 are the movies in 3 editions
hubblec4 is offline   Reply With Quote
Old 8th November 2019, 16:51   #27  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Thank you, the disk arrives today.

Here is my current work list ([DONE] means it's working locally):

-----
Info only option and stream selection.

[DONE] Change angle numbering to start at 1 (1-based, not 0-based).

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

[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.

Possible other issues with Terminator 2: doesn't extract the two DTS express
streams. 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.

Mitigate CLI interface issue?

Linux version.
-----

Last edited by videoh; 11th November 2019 at 17:10.
videoh is offline   Reply With Quote
Old 8th November 2019, 16:53   #28  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Quote:
Originally Posted by mini-moose View Post
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
Can you please provide a link to a part of the M2TS that will allow me to duplicate this? Thank you.
videoh is offline   Reply With Quote
Old 9th November 2019, 11:24   #29  |  Link
mini-moose
Registered User
 
Join Date: Oct 2007
Posts: 396
Quote:
Originally Posted by videoh View Post
Can you please provide a link to a part of the M2TS that will allow me to duplicate this? Thank you.
Not sure what you mean, I just tried it on a standard blu-ray with DTS MA and core audio of 1536. Anything with DTS MA should duplicate it imo.

Quote:
Originally Posted by videoh View Post
Possible other issues with Terminator 2: doesn't extract the two DTS express
streams. Doesn't demux the secondary video.
Could it be cause the one of the DTS Express audios is not available in that specific angle? eac3to for examples shows ALL available streams but often certain mpls doesn't offer all of them (bdinfo would show * next to disabled tracks), makemkv knows to not include them in remux.

Someone on your DG thread asked for this:
"Probably a stupid question but will this be able to scan playlists (like eac3to) instead of having to manually point to a specific playlist ?"

What he means is that eac3to lets you output a list of the main playlists on a disc, and then you can also output the complete stream list for each playlist:

list of all main unique playlists available (in other discs such as seamless branched ones, there will be more):

Code:
eac3to drive:\
1) 00001.mpls, 00001.m2ts, 1:42:27
   - Chapters, 14 chapters
   - h264/AVC, 1080p24 /1.001 (16:9)
   - DTS Master Audio, English, multi-channel, 48kHz
   - DTS Master Audio, English, Stereo, 48kHz
stream info per mpls:

Code:
eac3to drive:\ 1)
M2TS, 1 video track, 2 audio tracks, 2 subtitle tracks, 1:42:27, 24p /1.001
1: Chapters, 14 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48kHz
   (core: DTS, 2.0 channels, 1509kbps, 48kHz)
5: Subtitle (PGS), English
6: Subtitle (PGS), Spanish

Last edited by mini-moose; 9th November 2019 at 11:29.
mini-moose is offline   Reply With Quote
Old 10th November 2019, 16:43   #30  |  Link
no-one
Registered User
 
Join Date: Dec 2011
Posts: 39
Can't download program in this "http://rationalqm.us/dgdemux/DGDemux_1000.rar"
no-one is offline   Reply With Quote
Old 10th November 2019, 20:28   #31  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
It's back in the shop for enhancement. What I have discovered is that there are apparently (at least) two ways the seamless branching is implemented when authoring, and that requires (at least) two different methods to handle things. The first well-known way is of course eac3to with its deletion of duplicated audio frames. It seems to work well with BluRay titles but not always so well with UHD (e.g., Cars 2 UHD). The second is the "Bullwinkle method" which appears to work well with the newer UHD titles. My goal is to support both.

Last edited by videoh; 10th November 2019 at 21:15.
videoh is offline   Reply With Quote
Old 11th November 2019, 16:32   #32  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 265
videoh, would it be a good idea to put a link to your latest version in the first post of this thread?
Any insight on when a DGDemux "GUI" will appear?
von Suppé is offline   Reply With Quote
Old 11th November 2019, 16:48   #33  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Good ideas. When I get things back out on the street I will add a link. GUI will come after functionality is complete and shaken out.

I discovered another important thing. DGDemux output was not matching DGIndexNV output, so TERMINATOR_2 was in sync with DGIndexNV demuxing but not with DGDemux demuxing. That was a relief because I was beginning to think the Bullwinkle method itself was failing. I'll fix this first of course. Then it seems that the Bullwinkle method will work for everything. Also have to look at the other things on the list.

What was happening with the chapters is that the chapter number was being bumped for mark_type != 1, which is a simple boo-boo that was easy to fix.

@mini-moose

Thank you. I have noted your points and will address as needed.

EDIT: Found and fixed the discrepancy with DGIndexNV.

Last edited by videoh; 11th November 2019 at 19:40.
videoh is offline   Reply With Quote
Old 12th November 2019, 18:39   #34  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Here is the current status:

http://rationalqm.us/board/viewtopic...p=10216#p10216

Looking good for a beta.
videoh is offline   Reply With Quote
Old 12th November 2019, 23:39   #35  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
Looks good to me. Thanks for your work.
hubblec4 is offline   Reply With Quote
Old 13th November 2019, 01:19   #36  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 93
Looks good!
redbtn is offline   Reply With Quote
Old 13th November 2019, 03:11   #37  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Thanks, guys. I'll get a revised alpha out tomorrow morning.

Last edited by videoh; 14th November 2019 at 18:23.
videoh is offline   Reply With Quote
Old 13th November 2019, 17:50   #38  |  Link
videoh
Registered User
 
Join Date: Jul 2014
Posts: 931
Here you go, guys:

http://rationalqm.us/board/viewtopic...p=10222#p10222
videoh is offline   Reply With Quote
Old 13th November 2019, 18:49   #39  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,033
Tried 1001 on a BD from France

It demuxes only audio and subs but no video. -i shows this:

1011: Video
1100: PCM 48K 24bit 2/0 [jpn]
1101: PCM 48K 24bit 2/0 [fra]
1200: PGS subtitles [fra]
1201: PGS subtitles [fra]

BDInfo



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

I noticed that CTRL+C does not cancel DGDemux in powershell. I have to wait until 100%


Do you need the mpls or some other files?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository

Last edited by ChaosKing; 13th November 2019 at 18:51.
ChaosKing is offline   Reply With Quote
Old 13th November 2019, 19:06   #40  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,096
Quote:
Originally Posted by ChaosKing View Post
Do you need the mpls or some other files?
You need a full BD structure on hard disk. Not all info are stored in the mpls file.
hubblec4 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.