FFMpeg toolbox

      2 min read           · · ·

List help (options) for ffmpeg ffmpeg -h full How to chunk/segment a video: ffmpeg -i INPUT.mp4 -acodec copy -f segment -vcodec copy -reset_timestamps 1 -map 0 OUTPUT%d.mp4 Reference: Stack Overflow Validate/check video for errors: ffmpeg -v error -i file.avi -f null - 2>error.log checking multiple videos: find -name "*.mp4" -exec sh -c "echo '{}' >> errors.log; ffmpeg -v error -i '{}' -map 0:1 -f null - 2 >> errors.