Repairing corrupt MP4
Solution 1:
If you have ffmpeg, from the command-line you can try:
ffmpeg -i input.mp4 -c copy output.mp4
If the problem is just with the container, this will fix it.
If that doesn't work, please post the complete terminal message, as it could give a clue as to how to fix the file.
Solution 2:
This is an old question, but I just ran into the same situation and I figured I would post the solution that worked for me.
When you see the message "moov atom not found", that typically means that whatever was creating the video was not able to write terminal metadata that contains information about things like the codecs used in the video and so forth. Without this "moov atom", most players will reject the video.
If you have another video that was generated by the same device, you can use the untrunc program to generate a new moov atom that will in most cases render the file playable.
You will need to compile the untrunc
program yourself. I built it in an Ubuntu 12.04 docker container, and needed to install the following prerequisites to get it to build:
sudo apt-get install libavformat-dev libavcodec-dev \
libavutil-dev libqt4-dev make g++ libz-dev