ffmpeg -i input.MP4 -vf mpdecimate,setpts=N/FRAME_RATE/TB -c:v h264_nvenc -b:v 100M output_filtered.MP4