You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cut at the nearest audio (key-) frame instead of the next one #1433
I'm using LosslessCut to cut AC3/EAC3 files to sync audio. Those are using 32ms frames at 48k sampling rate. If I cut 0.000-2.568 the closest cut would be 2.560 seconds, so an 8ms difference. LosslessCut however produces a file with 2.592s, leaving a 24ms difference. This adds up over various cuts. So the cuts should be made on the closest keyframe. This will usually result in a +- 0ms result over various cuts.
As an alternate option to solve this a setting "snap to xx ms" would be helpful. So one can only enter a multiple of xx ms as cut points.
changed the title [-]Cut at the nearest (key-) frame instead of the next one[/-][+]Cut at the nearest audio (key-) frame instead of the next one[/+]on Jan 27, 2023
Is this keyframe cut or normal cut mode? Not sure how to control this, and not sure how exactly ffmpeg deals with keyframes when seeking in audio. See #1216
Activity
[-]Cut at the nearest (key-) frame instead of the next one[/-][+]Cut at the nearest audio (key-) frame instead of the next one[/+]mifi commentedon Jan 27, 2023
Is this keyframe cut or normal cut mode? Not sure how to control this, and not sure how exactly ffmpeg deals with keyframes when seeking in audio. See #1216
DreckSoft commentedon Jan 28, 2023
In Keyframe cut mode. According to the description it should be the nearest key frame but it is always the next.
improve description