Removing frames from a video - how to make playback not pause during removed frames (i.e. assign new timestamps)
The easiest way is to retime remaining frames using setpts.
ffmpeg -i in.mp4 -vf &quot;blackframe=amount=0:threshold=92, metadata=select:key='lavfi.blackframe.pblack':value=45:function=less,setpts=N/FR/TB&quot; -vsync 0  outz.mp4