M BUZZ CRAZE NEWS
// general

Repairing a corrupt mp4 - I'm having issues getting untrunc installed

By Emma Johnson

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

same error_1

same error_2

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

1

1 Answer

I created a snap version of untrunc :

install:

sudo snap install michaelp-anthwlock-untrunc

usage:

michaelp-anthwlock-untrunc.untrunc -s ok.mp4 nok.mp4

The snap is based on which is more uptodate than the original version of ponchio.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy