I have a ffmpeg command that allows me to drop duplicate frames and speed up the video and works well. I use it with hundreds of video recordings from a surveillance ip camera that does not have motion detection feature.
But, the files still have 1 frame per each second still because the video has a timestamp at the top, so I want to know if I could drop those still frames too somehow.
This is my current command:
ffmpeg -n -threads 2 -i input.mp4 -vf "mpdecimate,setpts=N/(25*TB)" -preset superfast -crf 30.0 -vcodec libx264 -movflags +faststart ouput.mp4
This is a sample screenshot showing the timestamp embedded on the video: There is some way to achieve this ?