How to remove steady video frames from 24/7 video?
mpdecimate filter drop frames that do not differ greatly from the previous frame in order to reduce frame rate.
This command will filter the duplicate frames
ffmpeg -i input.mp4 -vf mpdecimate -loglevel debug -f null -

To remove these duplicates and generate a video
ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4