On 2021-03-02 11:53, Paul B Mahol wrote:
On Tue, Mar 2, 2021 at 5:50 PM Mark Filipak (ffmpeg) <markfili...@bog.us>
wrote:

I've searched the docs one-by-one. I seek a simpler way to repeat a frame.

This:

split[1][2],[1]setpts=(N+floor(N/4))/FR/TB[3],[2]select=eq(mod(n\,4)\,3),setpts=(N*5+4)/FR/TB[4],[3][4]interleave

works, but perhaps there's an easier way that I'm just not seeing.

What timestamps repeated frame should have?

Hey Paul. Thanks.

'PTS's don't matter. I can manipulate 'TB' & 'PTS's as needed ...The stream is 
CFR.

If 'shuffleframes' could insert frames, for example

shuffleframes=0 1 2 3 +3

I'd do that, but 'shuffleframes' doesn't have a '+' operator.

I do have a method that works (above). I'm just wondering whether there's a 
simpler way.

Thanks!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to