[RESOLVED] Apply project range to audio (for MKV)

Support forum for DGDecNV
Post Reply
DAE avatar
Guest

Re: Project Range

Post by Guest »

Let me guess, the numbers are in milliseconds, :wow: :oops: :oops:
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Project Range

Post by admin »

Those are the MKV timestamps in units of nanoseconds. :wow: Yes they are the starting and ending frames of the range.

So your range included ~7200 seconds = 120 minutes.

Does it agree?
DAE avatar
Guest

Re: Project Range

Post by Guest »

:oops: Of course, the trailing zeroes are the micro and then nano seconds.
Thanks for clearing it up for me, even when I am on the right track I sometimes miss the obvious.
P.S.
It also works perfectly for hevc in mkv
I am learning more about the capabilities of your tools everyday
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Project Range

Post by admin »

I try my best to do the right things. 8-)

Two points:

1. An MKV can specify a TimecodeScale other than the default of 1000000. IIRC I handle it correctly.

2. One day I would like to do the video and audio demux as a single pass.
DAE avatar
Guest

Re: Project Range

Post by Guest »

IIRC I handle it correctly.
Tested your timecodes on a fully muxed mkv by splitting it in mkvmerge with your time stamps, and as far as I can tell it comes out perfect
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] Apply project range to audio (for MKV)

Post by admin »

OK, but I meant I also handle non-default TimecodeScale correctly. Do you have any MKVs with that?

BTW, the MKV spec is a fun and useful read for grokking the deep internals.

https://matroska.org/technical/index.html
DAE avatar
Guest

Re: [RESOLVED] Apply project range to audio (for MKV)

Post by Guest »

No funky mkv's. I like to keep things neat, straightforward and simple.
Much easier that way.
Once again, thank you for your help
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] Apply project range to audio (for MKV)

Post by admin »

Sure you wouldn't make one with a non-default scale, but I have seen them in the wild.
DAE avatar
Guest

Re: [RESOLVED] Apply project range to audio (for MKV)

Post by Guest »

Your thoroughness is admirable Don, once again, thanks for your patience and help.
Your software keeps impressing me more all the time
As I learn a little more and wish to go further your tools step up and show that they can do more than I realized :hat:
:bow: :bravo:
And I will try to remember for next time to count the trailing zeroes, milli >micro > nano
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] Apply project range to audio (for MKV)

Post by admin »

Thanks, Luis. :)
Post Reply