1.15.3 AV Sync Question
Posted: Tue Oct 06, 2020 1:01 am
A bit disappointed that 1.15.3 hasn't removed the erroneous "AV sync" message that precedes the forced subtitles track are empty messages, but that's neither here nor there...
What I am curious about is a bit more detail on how MakeMKV is handling the removal of overlapping frames.
Here's an example log, I've just put a number in front of each line to make it easier to refer to:
1) AV sync issue in stream 1,2 at 0:03:53.024 with duration of 10.208ms : encountered overlapping frame, audio skew is +10.208ms
2) AV sync issue in stream 1,2 at 0:05:32.206 with duration of 6.916ms : encountered overlapping frame, audio skew is +17.125ms
3) AV sync issue in stream 1,2 at 0:05:32.224 with duration of 10.666ms : 1 frame(s) dropped to reduce audio skew to +6.458ms
4) AV sync issue in stream 1,2 at 2:01:29.115 with duration of 9.041ms : encountered overlapping frame, audio skew is +15.5ms
5) AV sync issue in stream 1,2 at 2:01:29.130 with duration of 10.666ms : 1 frame(s) dropped to reduce audio skew to +4.833ms
In line 1 and 2 it encounters overlapping frames and reports the current audio skew.
In line 3 it decides to drop a frame.
In line 4 it encounters another overlapping frame and reports the current skew.
In line 5 it decides to drop another frame.
So I have two questions...
- When it drops a frame in lines 3 and 5, is that an overlapping frame that it's dropping?
- And why not just drop every overlapping frame, and avoid all audio skew? Why wait until line 3 to drop a frame? (This would also save dropping arbitrary frames in lines 3 and 5, if those frames aren't overlapping.)
What I am curious about is a bit more detail on how MakeMKV is handling the removal of overlapping frames.
Here's an example log, I've just put a number in front of each line to make it easier to refer to:
1) AV sync issue in stream 1,2 at 0:03:53.024 with duration of 10.208ms : encountered overlapping frame, audio skew is +10.208ms
2) AV sync issue in stream 1,2 at 0:05:32.206 with duration of 6.916ms : encountered overlapping frame, audio skew is +17.125ms
3) AV sync issue in stream 1,2 at 0:05:32.224 with duration of 10.666ms : 1 frame(s) dropped to reduce audio skew to +6.458ms
4) AV sync issue in stream 1,2 at 2:01:29.115 with duration of 9.041ms : encountered overlapping frame, audio skew is +15.5ms
5) AV sync issue in stream 1,2 at 2:01:29.130 with duration of 10.666ms : 1 frame(s) dropped to reduce audio skew to +4.833ms
In line 1 and 2 it encounters overlapping frames and reports the current audio skew.
In line 3 it decides to drop a frame.
In line 4 it encounters another overlapping frame and reports the current skew.
In line 5 it decides to drop another frame.
So I have two questions...
- When it drops a frame in lines 3 and 5, is that an overlapping frame that it's dropping?
- And why not just drop every overlapping frame, and avoid all audio skew? Why wait until line 3 to drop a frame? (This would also save dropping arbitrary frames in lines 3 and 5, if those frames aren't overlapping.)