Vitya писал(а) 17.06.2026 :: 12:00:38:
rona логично, что есть, но хотелось знать что конкретно искать по данному вопросу.
ну как обычно начни с ffmpeg

The -vf mpdecimate command is a powerful FFmpeg video filter used to automatically detect and drop duplicate or nearly identical frames. It is primarily used to reduce video file sizes, eliminate frozen screens, or strip out duplicate frames generated by screen recordings.
Common Use Cases & CommandsBecause dropping frames removes data, it alters the timing of your video.
You must combine mpdecimate with timing filters (like setpts) to prevent your output from desyncing or freezing.
1. Remove duplicates for a smoother, smaller file (without audio):ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB output.mp4
2. Retain audio (Variable Frame Rate output):ffmpeg -i input.mp4 -vf mpdecimate -vsync vfr output.mp4
3. Automatically remove frozen "dead time" (e.g., from coding or drawing recordings):ffmpeg -i input.mp4 -vf mpdecimate -an output.mp4 (Note: use -an to strip audio, as it will inevitably lose sync when large frozen chunks are deleted).
ps ну и на будущее сразу запись по детекции делай архив глубже искать проще