Page 1 of 1

How to open corrupt video file

PostPosted: Mon May 30, 2022 4:36 am
by birdus
I have an Insta360 One R 1-inch camera, and when the battery dies during recording, the file isn't terminated correctly (the file is massive, though, so I know most of the data is there). I understand some software can read video file segments. Is this possible to do with Resolve? I've also seen some techniques to read & save corrupt files but haven't had any success doing it myself (using VLC or handbrake). Seems like it shouldn't be too hard to read up to a certain point in a file that wasn't terminated correctly, but I can't get it done. Any ideas or suggestions?

Thanks,
Jay

Re: How to open corrupt video file

PostPosted: Mon May 30, 2022 6:00 am
by Mads Johansen
The easy answer: Try it.
If resolve wants to read the trailer (last part of the file where important stuff is) and it's not there, then nothing is going to happen.
In that case you need to remux (not recode) the file. Your favorite ffmpeg frontend can do that

Re: How to open corrupt video file

PostPosted: Mon May 30, 2022 10:30 am
by Hendrik Proosa
If Resolve won’t play it, try some video repair software. Whether an incomplete file plays or not depends how its data is laid out. Some files store the data layout at the end when file is finalized and in this case it must be recreated because it doesn’t exist. This is what these repair tools do essentially.

EDIT: this is what Mads wrote too, somehow I glanced over it…

Re: How to open corrupt video file

PostPosted: Mon May 30, 2022 7:22 pm
by birdus
Yeah, I'd already tried to open it in Resolve, but that didn't work.

I hadn't heard the term "remux" before but downloaded ffmpeg and tried it. That didn't work, either. It just outputs the message "No such file or directory" which, of course, isn't true. The file I tried it on is 5.8GB. Insta360 says I can send the file to them and they'll try to fix it, so I may do that at some point, but it would sure be easier to do it myself than to try and get several big files to someone else and back. I have a few files on which the battery died that are closer to 40GB or 50GB.

Thanks,
Jay

Re: How to open corrupt video file

PostPosted: Mon May 30, 2022 11:14 pm
by MartinOzFox
I have used a repair app , I think it was this
https://main.grauonline.de/video-repair-tool/
It allowed me to try before buy, in my case it was a Sony a7s mp4 that lost the battery before closing the file. It was entirely successful.
Please be wary of the downloads, I use a separate computer for this kind of thing to isolate viruses.

Re: How to open corrupt video file

PostPosted: Tue May 31, 2022 10:03 pm
by Gordonjcp
> It just outputs the message "No such file or directory"

Then you're pointing it at the wrong place.

Can you paste exactly the command you're using and the error you get, verbatim?

Re: How to open corrupt video file

PostPosted: Sat Jun 04, 2022 5:18 am
by birdus
Maybe spaces in the paths confused it. I copied the file to the ffmpeg bin folder and ran it again and got a different error. I used the -i param and just got the message:

moov atom not found
corrupt.mp4: Invalid data found when processing input

Re: How to open corrupt video file

PostPosted: Thu Nov 24, 2022 4:04 am
by NickMDal
MartinOzFox wrote:I have used a repair app , I think it was this
https://main.grauonline.de/video-repair-tool/
It allowed me to try before buy, in my case it was a Sony a7s mp4 that lost the battery before closing the file. It was entirely successful.
Please be wary of the downloads, I use a separate computer for this kind of thing to isolate viruses.

Same here. While reviewing footage, I accidentally shift-deleted an afternoon's work instead of 1 file. 2/3 came back w/Recuva but VRP recovered everything. It was the 4th recovery app I tried.

Shift-delete is dangerous. Now I drag to a "Delete" folder, then delete those.

VRP works really well with .mov files. The download is not encrypted so you'll have to mess with your browser (and hope the download is clean).

Re: How to open corrupt video file

PostPosted: Sat Nov 30, 2024 11:32 am
by gillrich
Were you able to fix the issue? If not, don’t worry—there’s a great solution you can try! Check out the Clever Online Video Repair tool. It’s completely free of charge and has helped many people repair their damaged videos effortlessly. All you need to do is upload the corrupted file, and the tool will guide you through a simple process to restore it. It’s definitely worth giving a shot if you’re still facing issues. Let us know how it goes

Re: How to open corrupt video file

PostPosted: Tue Feb 11, 2025 9:44 pm
by gillrich
Resolve might be able to handle it, but it depends on the specific file structure. Some software can indeed read video file segments, so it's worth trying out. I've seen a few methods that attempt to recover corrupt files, but if you're having trouble with VLC or HandBrake, you might want to explore other options. For more detailed guidance on fixing this type of issue, you can check out this article: https://www.handyrecovery.com/moov-atom-not-found/. It explains solutions to repair corrupt files and recover the missing data, which might help you get your video back.

Re: How to open corrupt video file

PostPosted: Fri Apr 25, 2025 8:42 am
by lslizzysmith
Hi, I'm a newbie here and just came across this old forum thread, so I thought I'd share my point of view. Corrupt video files can be easily fixed with the help of VLC Player, but since you mentioned that this solution didn't work for you, trying a video repair tool might help. A newly launched online video repair tool by Stellar might be able to fix such types of video corruption issues.