Repairing a corrupt mp4 - I'm having issues getting untrunc installed
Basically, I get the error "moov atom not found" when attempting to play an mp4 video on vlc or any other players.
Following the advice given on this thread, I'm attempting to use untrunc to generate a new moov atom that will render my file playable. (I get the exact same error messages that this user talks about in another thread).
So, I've taken their advice and I tried installing on Ubuntu using these instructions. However, I ran into some issues on the terminal during the last step g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -L/usr/local/lib -lavformat -lavcodec -lavutil
error while compiling source code
So, I tried it again from the first step and got this error:
installing prerequisite libraries (2nd time)
So, making sure I'm in the right directory (untrunc is located in home), I try compiling the source code again, but get the same error:
checking file location of untrunc-master
I'm by no means a power user, just a novice Ubuntu/Linux enthusiast. I figure you guys might know what's going on and how to solve this! I'd love to begin using untrunc so I can render my file playable.
Thank you for your insight and assistance 🙏
P.S. What is this? I can't create the tags "moov" or "untrunc" without having 300 reputation points?? :o
11 Answer
I created a snap version of untrunc :
install:
sudo snap install michaelp-anthwlock-untruncusage:
michaelp-anthwlock-untrunc.untrunc -s ok.mp4 nok.mp4The snap is based on which is more uptodate than the original version of ponchio.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"