Page 1 of 1

Re: Project Range

Posted: Mon Oct 23, 2017 6:59 pm
by Guest
Let me guess, the numbers are in milliseconds, :wow: :oops: :oops:

Re: Project Range

Posted: Mon Oct 23, 2017 7:15 pm
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?

Re: Project Range

Posted: Mon Oct 23, 2017 7:21 pm
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

Re: Project Range

Posted: Mon Oct 23, 2017 7:25 pm
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.

Re: Project Range

Posted: Mon Oct 23, 2017 7:28 pm
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

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

Posted: Mon Oct 23, 2017 7:32 pm
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

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

Posted: Mon Oct 23, 2017 7:36 pm
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

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

Posted: Tue Oct 24, 2017 2:21 pm
by admin
Sure you wouldn't make one with a non-default scale, but I have seen them in the wild.

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

Posted: Tue Oct 24, 2017 5:04 pm
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

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

Posted: Tue Oct 24, 2017 8:31 pm
by admin
Thanks, Luis. :)