[RESOLVED] Apply project range to audio (for MKV)
[RESOLVED] Apply project range to audio (for MKV)
When using the project range markers in DGDecNV for the video is there a way to have it apply this to the audio as well so it stays in sync?
Re: Project Range
What kind of video and audio are we talking about? I thought it already operated this way.
Re: Project Range
MKV, with AC3 audio and AVC video
Any steps I can take to test?
Any steps I can take to test?
Re: Project Range
Ah, OK. Let me look into it.
Re: Project Range
If I remux my files to a TS container the project range function works perfect, so I might have to rearrange the initial part of my work flow
Re: Project Range
If you could implement it for mkv it would be awesome and I would appreciate it, but its your software and time so whatever you decide is fine by me.
Re: Project Range
I just checked and it is already implemented. Just set your range, do save project and demux video, and then do audio/audio demux. The resulting video and audio ES's will be in sync. Please report if it is not working for you.
The only negative is it isn't all done in one pass. C'est la vie.
The only negative is it isn't all done in one pass. C'est la vie.
Re: Project Range
Thanks for the info
Will test
Will test
Re: Project Range
Did a quick test and once again you are right
Quick question
The dgi file has a line that says
Quick question
The dgi file has a line that says
is the number 45045 the first frame kept in the trimmed output and 7245446 the lastRANGE 45045000000 0 7245446000000 0
Re: Project Range
Read the documentation but I must be missing something.
The numbers are supposed to be timecodes but how to translate to secs or frame numbers, I can't come up with the answer
The numbers are supposed to be timecodes but how to translate to secs or frame numbers, I can't come up with the answer
Re: Project Range
Let me guess, the numbers are in milliseconds,
Re: Project Range
Those are the MKV timestamps in units of nanoseconds. Yes they are the starting and ending frames of the range.
So your range included ~7200 seconds = 120 minutes.
Does it agree?
So your range included ~7200 seconds = 120 minutes.
Does it agree?
Re: Project Range
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
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
I try my best to do the right things.
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.
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
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 perfectIIRC I handle it correctly.
Re: [RESOLVED] Apply project range to audio (for MKV)
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
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)
No funky mkv's. I like to keep things neat, straightforward and simple.
Much easier that way.
Once again, thank you for your help
Much easier that way.
Once again, thank you for your help
Re: [RESOLVED] Apply project range to audio (for MKV)
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)
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
And I will try to remember for next time to count the trailing zeroes, milli >micro > nano
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
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)
Thanks, Luis.