FFmpeg - how to omit individual frames by the list of their numbers? I have an input video and I want to omit (or delete) individual frames from the next processing (because of the added disturbing big text irregularly occurred on top of some individual frames).

I have the list of ordinal numbers of these frames but maybe it would be better to recognize them during processing by some filter (if it is possible; the text is the same and at the same position).

Is there some way how to exclude them from the next processing?

(The list has about 20 items.)
The direct selection method is simple.

ffmpeg -i in.mp4 -vf select='not(eq(n,45)+eq(n,47)+eq(n,75))',setpts=N/FRAME_RATE/TB out.mp4


Frame count starts from zero.  Audio is ignored.

(I'll check for a detection method)