[RESOLVED] MKV demux support
Re: Feature Requests
Lights out!
Re: Feature Requests
I know that you are more of a CLI kind of guy
but in the MKVToolNix GUI
Load a mkv
Highlight the audio track
In the options on the right hand side add the delay in the Delay(ms) box under Timestamps
I am uploading a couple of samples right now
but in the MKVToolNix GUI
Load a mkv
Highlight the audio track
In the options on the right hand side add the delay in the Delay(ms) box under Timestamps
I am uploading a couple of samples right now
Re: Feature Requests
I added the delay value in the file name and fixed the missing extension for PCM:
http://rationalqm.us/misc/DGIndexNV_test.exe
I show delay for subtitle files too, although I am not sure if it is significant because MediaInfo does not show a delay for subtitle tracks. Anybody know about this?
This is my release candidate so please beat the crap out of it.
http://rationalqm.us/misc/DGIndexNV_test.exe
I show delay for subtitle files too, although I am not sure if it is significant because MediaInfo does not show a delay for subtitle tracks. Anybody know about this?
This is my release candidate so please beat the crap out of it.
Re: Feature Requests
Subtitles
I deal primarily (99.99%) with PGS
I didn't even know they had delays
They are IGS with their own time stamps so I don't know how the delays would be relevant
Later today I will test them to see if it makes a difference
Good work Don
I deal primarily (99.99%) with PGS
I didn't even know they had delays
They are IGS with their own time stamps so I don't know how the delays would be relevant
Later today I will test them to see if it makes a difference
Good work Don
Re: Feature Requests
Thanks, gonca.
There is no explicit delay field defined in the Matroska spec. You derive it from the difference between the StartTime of the first video block and the StartTime of the first audio/subtitle block. That makes things ambiguous if the MKV has multiple video tracks, but I have never seen such an MKV in the wild. If I ever do then it would be time to think about what to do.
What is "IGS"?
There is no explicit delay field defined in the Matroska spec. You derive it from the difference between the StartTime of the first video block and the StartTime of the first audio/subtitle block. That makes things ambiguous if the MKV has multiple video tracks, but I have never seen such an MKV in the wild. If I ever do then it would be time to think about what to do.
What is "IGS"?
Re: Feature Requests
Interactive Graphics Subsystem
Re: Feature Requests
Demuxing of audio and pgs works as expected.
As to the delay of the pgs
MKVToolNix ignores the delay in the name of the subtitle, which is a good thing
I manually introduced the delay on the name to see the effect
Resulting example
If the delay to the first block was 1000ms, MKVToolNix would add 1000ms to the timestamps of all subtitles resulting in the the first PGS to start at 2000ms
Dolby Vision carries its metadata in a secondary 1080p stream
As to the delay of the pgs
MKVToolNix ignores the delay in the name of the subtitle, which is a good thing
I manually introduced the delay on the name to see the effect
Resulting example
If the delay to the first block was 1000ms, MKVToolNix would add 1000ms to the timestamps of all subtitles resulting in the the first PGS to start at 2000ms
Dolby Vision carries its metadata in a secondary 1080p stream
Re: Feature Requests
Thanks for the explanations.
So everything is good with what I am doing, then?
So everything is good with what I am doing, then?
Re: Feature Requests
All is good
Re: Feature Requests
Sweet. Thanks, Luis.
Do you do anything with chapters?
Do you do anything with chapters?
Re: Feature Requests
Not really, I create trimmed m2ts files with DGIndexNV from the main movie mpls
Give me a few minutes and I'll remux a mpls to mkv and check the chapters
Forgot about checking those, sorry about that
Give me a few minutes and I'll remux a mpls to mkv and check the chapters
Forgot about checking those, sorry about that
Re: Feature Requests
Does DGIndexNV-test demux the chapters from MKV?
Tried and it didn't give an option for it
Note
All this made me think of a feature request for your consideration after you finish the MKV stuff
Tried and it didn't give an option for it
Note
All this made me think of a feature request for your consideration after you finish the MKV stuff
Re: Feature Requests
No chapter support. I was trying to decide if it is worth it.
Please make your suggestion in the features thread as I have just split the threads. Thanks.
Please make your suggestion in the features thread as I have just split the threads. Thanks.
Re: Feature Requests
At 45 to get Divemaster license I have to learn how to swim again and better. Hard but necessary as it will be part of exams.
By design? Usually demuxing leaves audio tracks as they are. AFAIK the only way to correct it is to put it back when muxing again, reencoding or trimming in some way.
Re: Feature Requests
I suppose you posted that before reading all the posts. I include the delay in the demuxed filename.
Re: Feature Requests
Can you please describe a task and its workflow that uses demuxed chapter information? I need to understand the context.
And how would you expect chapter demuxing to interact with the configured project range, if at all. If there is no interaction then the simplest thing to do may be to automatically launch mkvextract for the chapters.
Are you looking for simple or XML format for the demuxed chapter files?
Re: MKV demux support
I have uploaded a new version with MKV chapters demux support. It requires a copy of mkvextract.exe to be in the same directory as DGIndexNV.exe and currently does only XML.
http://rationalqm.us/misc/DGIndexNV_test.exe
@Guest 2
Since you're the guy that asked for this, I'll appreciate your feedback on whether it is doing what you need.
http://rationalqm.us/misc/DGIndexNV_test.exe
@Guest 2
Since you're the guy that asked for this, I'll appreciate your feedback on whether it is doing what you need.
Re: MKV demux support
I was imprecise in my language.
What do you think of the chapters support?
What do you think of the chapters support?
Re: Feature Requests
Demux a BD, compress with x264, compress audio to ac3 or aac, remux with chapters, watch on a laptop while traveling by train or plane
Whatever format you are more confortable to extract. MKVToolnix can digest any.
Re: MKV demux support
Thanks, Guest 2. I suppose I should call you two guys the usual suspects now, huh?
The main thing is that it does not honor the project range for chapters. But it's not clear that such a thing would be needed, and in any case, I could post-fix-up the demuxed file based on the StartTime of the project range (I hope it's not needed!) The scenario you gave would not require it.
Here's another thought. I would like to emulate gMKVExtractGUI's checkbox design but Win32 does not have a listbox with checkable items. I'll see if I can subclass it and make one that does. That is the reason for the somewhat clunky selection method I have now.
The main thing is that it does not honor the project range for chapters. But it's not clear that such a thing would be needed, and in any case, I could post-fix-up the demuxed file based on the StartTime of the project range (I hope it's not needed!) The scenario you gave would not require it.
Here's another thought. I would like to emulate gMKVExtractGUI's checkbox design but Win32 does not have a listbox with checkable items. I'll see if I can subclass it and make one that does. That is the reason for the somewhat clunky selection method I have now.
SRT delay
@admin
I was playing a bit with Justice League and Detroit BDs.
I noticed that the srt filenaming gives strange delay results, such as: DELAY_150751ms or DELAY_166668ms.
I have compared with the srt extracted by GMKV and they are identical in time codes and contents.
I was playing a bit with Justice League and Detroit BDs.
I noticed that the srt filenaming gives strange delay results, such as: DELAY_150751ms or DELAY_166668ms.
I have compared with the srt extracted by GMKV and they are identical in time codes and contents.
Re: MKV demux support
The delay is the start time code of the first subtitle