ffmpeg can report success while producing a cut/incomplete file that is still technically valid. Validate outputs — for example, compare output duration against input duration. Note that ffprobe sometimes approximates duration from bitrate and size when the format is missing explicit duration, and can be off by several seconds (observed with MP3), producing false positives.