====== ffmpeg - Fix Corrupted ====== ffmpeg -fflags +discardcorrupt -i input.avi output.mp4 ---- ffmpeg -err_detect aggressive -fflags discardcorrupt -i rtsp://[ip address]:554/11 -r 1 -s 640x320 -an -f image2 /tmp/snapshots/snapshot-%03d.jpg ---- ffmpeg -framerate 30 -fflags discardcorrupt -pattern_type glob -i '*.jpg' video.mp4