[RESOLVED] MKV demux support
Re: Feature Requests
You are most welcome.
Re: Feature Requests
With MKV
Dolby Atmos is extracted but the file type (thd) is not written with the file name
Example
Clip B
Extracted audio name is written as B, should be B.thd
Adding .thd to the file name makes it a valid sound track
The HD variants of DTS, including DTS X, are named properly
Dolby Atmos is extracted but the file type (thd) is not written with the file name
Example
Clip B
Extracted audio name is written as B, should be B.thd
Adding .thd to the file name makes it a valid sound track
The HD variants of DTS, including DTS X, are named properly
Re: Feature Requests
Please provide a test clip for analysis. Thank you.
I need to know which text identifier is used, e.g., like "A_VORBIS". I can see that my code does not add the extension when the identifier is not on my list, and I don't have anything for Dolby Atmos right now. I'll check the MKV spec to see if it is listed there.
I need to know which text identifier is used, e.g., like "A_VORBIS". I can see that my code does not add the extension when the identifier is not on my list, and I don't have anything for Dolby Atmos right now. I'll check the MKV spec to see if it is listed there.
Re: Feature Requests
Uploading test clip now
Will let you know when it is ready
Will let you know when it is ready
Re: Feature Requests
Super, thanks. It's not listed in the MKV codec spec.
Re: Feature Requests
Guessing from some googling that it will be "A_TRUEHD" but I will confirm with your test file.
Re: Feature Requests
Thank you for the test file, gonca. Yup, it's "A_TRUEHD" and I have it added locally. Will slipstream tomorrow. Thanks for pointing it out.
Re: Feature Requests
Great update.
How are efforts going with chapters and subs?
How are efforts going with chapters and subs?
Re: Feature Requests
Technically it's pretty easy but I'm still thinking over the right GUI interface for it. One consideration is that subtitles are not just in MKV and if I implement it for MKV, I should do it for all the other containers. In that case another top-level menu item "Subtitles" would be appropriate and would lead to a dialog similar to the existing Audio menu. But that would all be a massive job. At the other end of the spectrum I could support only MKV for now and do it by adding a simple checkbox somewhere that says "demux subtitles also". I suppose chapters would raise similar questions but I have been focused on subtitles so far.
Your thoughts on this would be appreciated.
Glad you like the update.
Your thoughts on this would be appreciated.
Glad you like the update.
Re: Feature Requests
Another thing to consider would be to add an option similar to "Output Trimmed TS", an evolution to the MKV/MP4 expanded support
Maybe Output Trimmed MKV (or fill in the extension?) kind of idea
I realize that it is probably an enormous amount of work and might not see the light of day, just throwing out some possibilities
Maybe Output Trimmed MKV (or fill in the extension?) kind of idea
I realize that it is probably an enormous amount of work and might not see the light of day, just throwing out some possibilities
Re: Feature Requests
Sure it would be nice but as you say a major effort. I added the trimmed TS support because I personally needed it for my Colossus captures and it was fairly easy to do, not because anyone asked for it. So until I need it for myself, I won't invest any time in it. (BTW, cutting TS is much easier than cutting MKV/MP4.)
I have two fixes for the new MP4 audio demuxing that I will slipstream with the A_TRUEHD fix later today.
I have two fixes for the new MP4 audio demuxing that I will slipstream with the A_TRUEHD fix later today.
Re: Feature Requests
Just brought it up because as you consider how to implement the new options in the GUI, maybe leave the door open so that in future if you do decide to do it, you can expand on the GUI options instead of redesigning it
Any upgrades you do to DGDecodeNV / DGIndexNV are appreciated
Any upgrades you do to DGDecodeNV / DGIndexNV are appreciated
Re: Feature Requests
Technically, aside from DGI generation, everything in a container is a stream and thus a "streams" menu would be a nice replacement for audio one.
You could simply present all the included streams, from video to audio, subs and chapters (and attachments too, if any) and let user select the one to be demuxed, such as we do with audio.
Plain and simple solution, IMHO.
EDIT: get a look at gMKVExtractGUI interface. Simple and very easy to use.
Re: Feature Requests
Great thoughts, thanks.
Re: Feature Requests
@Guest 2
I have things going based on your idea. So far I am supporting only SRT subtitles (S_TEXT/UTF8). What other subtitle formats would you expect to be supported and do you have sample files for them? Thanks.
I have things going based on your idea. So far I am supporting only SRT subtitles (S_TEXT/UTF8). What other subtitle formats would you expect to be supported and do you have sample files for them? Thanks.
Re: Feature Requests
I think, in this order, the most common used (after SRT) are :
SSA/ASS
PGS (also called SUP)
SUB/IDX
SSA/ASS
PGS (also called SUP)
SUB/IDX
Re: Feature Requests
That's it.
Consider that ass format sometimes includes fonts as attachments, such as when superimposing non latin signals with translations.
If needed I can provide you an example.
Re: Feature Requests
Thank you, gents. I'll start with SSA/ASS. I am able to make my own sample files with different subtitle types so there's no need for you to provide samples.
Re: Feature Requests
Alright gents, start your engines. Here is a test version supporting SRT and SSA in MKV.
http://rationalqm.us/misc/Guest 2.zip
The general framework is there now to add new formats and support for TS/PS/MP4 as needed. Note that I decided not to include the video in the newly renamed Demux menu (was the Audio menu), for various reasons. I may revisit that later when my coding batteries recharge.
Your testing will be appreciated. It should be obvious how everything works. I'll revise the manual when the changes stabilize.
http://rationalqm.us/misc/Guest 2.zip
The general framework is there now to add new formats and support for TS/PS/MP4 as needed. Note that I decided not to include the video in the newly renamed Demux menu (was the Audio menu), for various reasons. I may revisit that later when my coding batteries recharge.
Your testing will be appreciated. It should be obvious how everything works. I'll revise the manual when the changes stabilize.
Re: Feature Requests
No. You can feel free to give me any samples you like.
Re: Feature Requests
- SRT extraction finishes after Finished! is shown in toolbox.
- sometimes SRT are not extracted at all, truncated or bit for bit different from MKVTools extracted ones
Re: Feature Requests
Who is Tom?
I'm aware of the "Finished" coming too early and will fix that. The only reason I can think of for missing or truncated SRTs is that you exit DGIndexNV right after seeing "Finished" and before the demuxing thread is complete. Good to see you are on your toes with the testing.
I'm aware of the "Finished" coming too early and will fix that. The only reason I can think of for missing or truncated SRTs is that you exit DGIndexNV right after seeing "Finished" and before the demuxing thread is complete. Good to see you are on your toes with the testing.