Page 7 of 8

Re: MKV demux support

Posted: Wed Mar 07, 2018 1:05 pm
by Guest 2
gonca wrote:
Wed Mar 07, 2018 11:43 am
I might be wrong or there could be a bug in MKVToolNix GUI
My money would be that delays in subtitles must be explicitly stated
I tried to insert delay on subtitles both as CLI and GUI and both worked, Unfortunately the delay gets lost as subtitles are sparse stream and there is no way to get it back.

Re: MKV demux support

Posted: Wed Mar 07, 2018 1:07 pm
by Guest 2
admin wrote:
Wed Mar 07, 2018 11:53 am
NEWS.md 2006:
Do you plan to put also "track name" into filenaming?

Re: MKV demux support

Posted: Wed Mar 07, 2018 1:23 pm
by admin
Guest 2 wrote:
Wed Mar 07, 2018 1:07 pm
Do you plan to put also "track name" into filenaming?
Examples with streams?

Re: MKV demux support

Posted: Wed Mar 07, 2018 1:25 pm
by admin
Guest 2 wrote:
Wed Mar 07, 2018 1:05 pm
I tried to insert delay on subtitles both as CLI and GUI and both worked
Please tell your mkvtoolix version and give the exact commandline. When you open the correctly named file in mkvmerge GUI and highlight the subtitle track do you see the Delay value in mkvtoolix GUI? AFAIK, mkvmerge will use the value from its Delay field, so if it doesn't show up there after opening your file, then the delay is not being picked up.

We're talking here about delay pickup from the file name.

Re: MKV demux support

Posted: Thu Mar 08, 2018 4:54 am
by Guest 2
admin wrote:
Wed Mar 07, 2018 1:23 pm
Examples with streams?
Look at Marnie subs. They have track names.

Re: MKV demux support

Posted: Thu Mar 08, 2018 4:57 am
by admin
Guest 2 wrote:
Thu Mar 08, 2018 4:54 am
admin wrote:
Wed Mar 07, 2018 1:23 pm
Examples with streams?
Look at Marnie subs. They have track names.
Sorry, I don't understand. How and where do I see these track names?

Re: MKV demux support

Posted: Thu Mar 08, 2018 4:59 am
by Guest 2
admin wrote:
Wed Mar 07, 2018 1:25 pm
Please tell your mkvtoolix version and give the exact commandline.
No need to use complex command line. It works with CLI too.
admin wrote:
Wed Mar 07, 2018 1:25 pm
When you open the correctly named file in mkvmerge GUI and highlight the subtitle track do you see the Delay value in mkvtoolix GUI?
No, you can't. As I wrote before you can put a delay BEFORE muxing but it will be lost "like tears in rain" as I wrote. Subtitles are treated as sparse streams (whatever it means) and thus every delay (+ or -) will be seamlessly integrated with no trace left.
The same happens when you stretch video by some fraction, such as 1000/10001. You can apply but you can't reveal when demuxing.

Re: MKV demux support

Posted: Thu Mar 08, 2018 5:03 am
by admin
Sure, but I already knew all that and stated it myself several times.

Re: MKV demux support

Posted: Thu Mar 08, 2018 5:03 am
by Guest 2
admin wrote:
Thu Mar 08, 2018 4:57 am
Sorry, I don't understand. How and where do I see these track names?
gMKVExtractGUI or MKVToolnix GUI @ track 3 there is a F I put to remember it is a forced sub. You can set it on Track Name in right panel of MKVToolnixGUI. More complex Animes have "signs" "speech only" "songs" etc

Re: MKV demux support

Posted: Thu Mar 08, 2018 5:09 am
by admin
gMKVExtractGUI does not include them in the filename, and the name is already shown in my Demux dialog. I'm content to just match mkvextract/gMKVExtractGUI naming.

Slipstream 130 with all this is now available. Thank you to all who contributed to development of this new feature.

Re: MKV demux support

Posted: Thu Mar 08, 2018 11:21 am
by admin
Well, it's possible to make a checked listbox in pure Win32 (no MFC, .NET, etc.) but it's nontrivial. I made a mockup based on code from :

https://www.codeproject.com/Articles/11 ... Listbox-an)

My mockup:

http://rationalqm.us/misc/DemuxListbox.exe

If you resize it down vertically, a scrollbar will appear. The checkbox items are added programatically of course. Now let's see how hard it is to integrate that into DGIndexNV. :scratch:

Re: MKV demux support

Posted: Fri Mar 09, 2018 2:15 am
by Guest 2
admin wrote:
Thu Mar 08, 2018 11:21 am
Now let's see how hard it is to integrate that into DGIndexNV. :scratch:
DGNV is getting better and better every day. :hat:

Remember that THERE the track names are important. :D

Re: MKV demux support

Posted: Fri Mar 09, 2018 5:05 am
by admin
Guest 2 wrote:
Fri Mar 09, 2018 2:15 am
Remember that THERE the track names are important. :D
I'll remember. The only concern I have is that if the name is long it could make the string too long for the width of the dialog box.

Re: MKV demux support

Posted: Fri Mar 09, 2018 10:03 am
by admin
I've got the new demux dialog working. I hope y'all like it! Following is how it looks for one of Guest 2's files. I'll give y'all a test version after I bang on it a little and let my cat do a code review. BTW, right click will select all/deselect all.

Image

Re: MKV demux support

Posted: Fri Mar 09, 2018 11:32 am
by Guest
Like the eagle

Re: MKV demux support

Posted: Fri Mar 09, 2018 11:48 am
by admin
My patriotic theme. ;)

Re: MKV demux support

Posted: Fri Mar 09, 2018 12:32 pm
by admin
Here is the test version. Please let me know what I broke. :scratch:

http://rationalqm.us/misc/DGIndexNV_test.exe

Re: MKV demux support

Posted: Fri Mar 09, 2018 1:22 pm
by Guest 2
admin wrote:
Fri Mar 09, 2018 10:03 am
I've got the new demux dialog working.
I'd align colons on same vertical line. :agree:

Re: MKV demux support

Posted: Fri Mar 09, 2018 2:01 pm
by admin
Guest 2 wrote:
Fri Mar 09, 2018 1:22 pm
admin wrote:
Fri Mar 09, 2018 10:03 am
I've got the new demux dialog working.
I'd align colons on same vertical line. :agree:
I'll look into it. Thanks.

Re: MKV demux support

Posted: Fri Mar 09, 2018 4:05 pm
by Guest
Just did a quick test
Drop down box works as expected, right click (all), left click (individual)
Track names look alright, and easy to read
Demuxes fine
Well done

Re: MKV demux support

Posted: Fri Mar 09, 2018 4:16 pm
by Guest
Quick question
Will the audio and subtitles extracted from a mkv follow the project range set in DGIndexNV, as it does for TS?

Re: MKV demux support

Posted: Fri Mar 09, 2018 5:24 pm
by admin
Yes, otherwise I could have used mkvextract for everything. And thank you for your test results.

Re: MKV demux support

Posted: Fri Mar 09, 2018 5:39 pm
by Guest
Happy to be of some help.

Re: MKV demux support

Posted: Fri Mar 09, 2018 6:36 pm
by admin
@Guest 2

I was able to align the colons, but only by going to SYSTEM_FIXED_FONT (monospaced) for the list items. Re-download and have a look. Both ways have their pro's and con's. For example, for TS I need to make the number field 4 digits wide to accommodate hex PIDs.

Y'all let me know which way you prefer, please. I can go either way.

Re: [RESOLVED] MKV demux support

Posted: Tue Mar 13, 2018 9:16 am
by admin
Next slipstream will move video demuxing into the Demux menu where it belongs, and the 'File/Save project and demux video' option will disappear. I have it working locally. I'll leave the CLI syntax as is to avoid breaking existing 3rd-party apps.