Have you ever found yourself with a broken .mov or .mp4 file? That is when it does not play at all.
There are tools to fix those broken files, and one great tool of those is untrunc.
Now it’s easy to install it in your CentOS 7 because we’ve built it and included in our repository.
yum install https://extras.getpagespeed.com/release-el7-latest.rpm yum install untrunc
Fix broken MOV or MP4 files
All you need is the broken file and a sample good file made with same device.
untrunc /path/to/working-video.m4v /path/to/broken-video.m4v