[mythtv-users] FFMPeg Commercial cutting puts audio out of sync

Justin Alcorn justin at jalcorn.net
Sat Sep 13 16:55:48 UTC 2014


On Sat, Sep 13, 2014 at 5:21 AM, Mike Perkins
<mikep at randomtraveller.org.uk> wrote:
>> After hours of reading posts and playing with settings, I've cot a
>> couple of theories.
>>
>> A) the video is cutting on 'key frames', not at exactly the time I say
>> to cut, but the audio cuts at the exact mark
>> B) The video being in variable bitrate throws off the cutting
>>
>> But I'm not sure how to solve either of these problems.
>>
> [snip]
>>
>>
> The most obvious thing to say is that you should make sure your cuts are all
> on keyframes. This should reduce any difference between audio and video to
> the minimum.
>
> If you don't make cuts on keyframes then the video processor has to try and
> bridge data that really belongs to two different scenes and adjust
> dynamically, which can look terrible on-screen. Keyframes is the way to go.


That fits with one of my theories so the question is - how do I get
ffmpeg to cut at the keyframe closest to the time I specify?
--
Justin B. Alcorn
PGP Fingerprint A36D D691 C5B0 BE15 5A2A AF49 AA1C 372C


More information about the mythtv-users mailing list