How to open corrupt video file

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

birdus

  • Posts: 59
  • Joined: Fri Dec 21, 2018 6:54 am
  • Real Name: Jay Williams

How to open corrupt video file

PostMon May 30, 2022 4:36 am

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
Offline

Mads Johansen

  • Posts: 1428
  • Joined: Mon Dec 19, 2016 10:51 am

Re: How to open corrupt video file

PostMon May 30, 2022 6:00 am

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
Davinci Resolve Studio 20 build 49, Windows 11, Ultra 7 265k, Nvidia 5070 TI, 576.80 Studio
Offline

Hendrik Proosa

  • Posts: 3401
  • Joined: Wed Aug 22, 2012 6:53 am
  • Location: Estonia

Re: How to open corrupt video file

PostMon May 30, 2022 10:30 am

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…
I do stuff
Offline

birdus

  • Posts: 59
  • Joined: Fri Dec 21, 2018 6:54 am
  • Real Name: Jay Williams

Re: How to open corrupt video file

PostMon May 30, 2022 7:22 pm

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
Offline

MartinOzFox

  • Posts: 41
  • Joined: Fri Aug 04, 2017 12:10 am
  • Location: Sydney

Re: How to open corrupt video file

PostMon May 30, 2022 11:14 pm

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.
iMac i7 2018 32GB 2x Rx580 8GB
Ezio CS2420, BMD Ultrastudio,Micro panel, Beatstep controller, Keymand+keyboard maestro, Sata Raid
Offline

Gordonjcp

  • Posts: 172
  • Joined: Thu Apr 14, 2022 11:27 am
  • Real Name: Gordon JC Pearce

Re: How to open corrupt video file

PostTue May 31, 2022 10:03 pm

> 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?
Offline

birdus

  • Posts: 59
  • Joined: Fri Dec 21, 2018 6:54 am
  • Real Name: Jay Williams

Re: How to open corrupt video file

PostSat Jun 04, 2022 5:18 am

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
Offline
User avatar

NickMDal

  • Posts: 235
  • Joined: Mon Apr 08, 2019 7:25 pm
  • Real Name: Nick Mirro

Re: How to open corrupt video file

PostThu Nov 24, 2022 4:04 am

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).
Resolve Studio 18.6.6 Build 7
Win 10 Home (22H2) 19045.2728

ASRock X570 Taichi w/TB3 AIC R2.0
ASUS ProArt PA248QV 24.1
2 Acer 1080p LCDs
AMD Ryzen 9 5900X
32GB DDR4
GeForce RTX 4090 24GB

Apple ProRes and ProRes RAW
Lots of fast SSDs

BMD Micro Panel
Offline

gillrich

  • Posts: 14
  • Joined: Wed Feb 07, 2024 9:04 pm
  • Real Name: Gill Richardson

Re: How to open corrupt video file

PostSat Nov 30, 2024 11:32 am

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
Offline

gillrich

  • Posts: 14
  • Joined: Wed Feb 07, 2024 9:04 pm
  • Real Name: Gill Richardson

Re: How to open corrupt video file

PostTue Feb 11, 2025 9:44 pm

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.
Offline

lslizzysmith

  • Posts: 1
  • Joined: Fri Apr 25, 2025 8:40 am
  • Real Name: Lizzy Smith

Re: How to open corrupt video file

PostFri Apr 25, 2025 8:42 am

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.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], lixu7366, panos_mts, steve oakley, VMFXBV and 236 guests