[RESOLVED] MKV demux support

Support forum for DGDecNV
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post 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:
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: MKV demux support

Post 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
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post 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.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post 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
DAE avatar
Guest

Re: MKV demux support

Post by Guest »

Like the eagle
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post by admin »

My patriotic theme. ;)
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post by admin »

Here is the test version. Please let me know what I broke. :scratch:

http://rationalqm.us/misc/DGIndexNV_test.exe
DAE avatar
Guest 2
Posts: 903
Joined: Mon Sep 20, 2010 2:18 pm

Re: MKV demux support

Post 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:
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post 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.
DAE avatar
Guest

Re: MKV demux support

Post 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
DAE avatar
Guest

Re: MKV demux support

Post 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?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post by admin »

Yes, otherwise I could have used mkvextract for everything. And thank you for your test results.
DAE avatar
Guest

Re: MKV demux support

Post by Guest »

Happy to be of some help.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: MKV demux support

Post 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.
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] MKV demux support

Post 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.
DAE avatar
Sharc
Posts: 233
Joined: Thu Sep 23, 2010 1:53 pm

Re: [RESOLVED] MKV demux support

Post by Sharc »

Great work!
Any plans to include the demuxing of stereoscopic .mkv files?
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] MKV demux support

Post by admin »

Didn't have any plans because I never heard of such a thing. Probably its usage is very small. Am I wrong?

Is there any point to loading such a file into DGIndexNV? Just to get demuxing?
DAE avatar
Sharc
Posts: 233
Joined: Thu Sep 23, 2010 1:53 pm

Re: [RESOLVED] MKV demux support

Post by Sharc »

It would actually be demuxing and possibly involve decoding i.e. outputting the left and right eye streams. Or perhaps just the independent AVC stream of the stereoscopic mkv.
Now I can't load such a mkv file in DGIndexNV e.g. for quick analysis or inspection. I can't however tell whether this would be of some general interest or rather not.
Post Reply