DIY:怎样修复一个不能复制也不能看的MP4文件
我在前天录了13分钟的闪电和雷鸣,但是录像机和Windows 10都不能读这个录好的MP4文件,这个文件有5.8 GB, Windows 10 显示出文件的存在,但是不能从micro SD盘里下载到Windows 10里,也不能保存在外接硬盘里。error code是0x80070570。因为我知道里面有闪电和雷鸣,所以不甘心丢掉这个文件。所以昨天用了4-5小时在Gemini的指导下把文件改成了录像机和Windows10都能读的文件。
主要步骤:
这个是用修复后的MP4作成的视频:https://blog.wenxuecity.com/myblog/40376/202603/10323.html
下面是昨天我与Gemini的对话。(因为比较长,我没有用deepseek把它翻译成中文,有兴趣的人可以copy 与paste到deepseek的对话里,它可以翻译)
You said
yesterday I used sony hdr-ax53 to record lightnings and got 6 gb of mp4 file. but the sony and my win10 would not recognize the file. error code is 0x80070570. what can I do? can I have some software to correct the error so that I could read my lightning file which is fatastic?
Gemini said
Capturing lightning is a game of patience, so I can only imagine how frustrating it is to have a "fantastic" 6 GB shot locked behind an error code!
The error 0x80070570 ("The file or directory is corrupted and unreadable") usually means the file system index on your SD card or hard drive is broken, likely because the camera didn't "close" the MP4 container properly (which can happen if it was still writing that huge 6 GB file when it lost power or the card was pulled).
Here is a step-by-step guide to rescuing your lightning footage, starting from the safest and easiest methods.
1. The "Camera Repair" Trick (Safest)
Sony camcorders have a built-in tool to fix their own database errors.
2. Windows "Check Disk" (Fixing the Drive)
If the camera doesn't see it, Windows might just need to fix the "table of contents" for the drive.
3. Use "Untrunc" or "Shutter Encoder" (Recommended Software)
If you can see the file but it won't play, the "headers" (the instructions that tell a player how to read the video) are missing.
4. The VLC "Fix-on-the-Fly"
Sometimes VLC can bypass the corruption:
Important Note: Do not record anything new on that SD card until you have recovered this file. Writing new data could overwrite the "ghost" data of your lightning strike.
Would you like me to walk you through how to use Untrunc specifically, or do you need help identifying which drive letter your SD card is using?
You said
I went to sony ax53 and clicked on repair img. d8 f. I was asked to"do you want to check the image database file? the choice is ok or cancel. which one i should chose?
Gemini said
You should choose OK.
Since you are seeing that prompt, your camera has detected that the "map" it uses to find and play videos on your SD card is inconsistent. Clicking OK tells the camera to scan the card, find the 6 GB of data belonging to your lightning footage, and re-register it so the camera (and eventually your computer) can "see" it as a valid file again.
What happens next?
If it says "No images found" after the repair:
Don't panic! This sometimes happens if the file header is too badly damaged for the camera to understand. If that occurs, we will move to the Step 3 (Untrunc) method I mentioned earlier, which uses a computer to manually rebuild the file.
Go ahead and click OK—would you like me to stay on standby while the camera runs the repair?
You said
they said the repair is finished, but I use sony ax53 to play the file, the sony still say data error.
Gemini said
That is disappointing, but it's a common "Stage 2" problem. When the Sony says "Data Error" after a repair, it means the camera fixed the "map" (the database) so it knows the file exists, but the video header inside that specific 6 GB file is still corrupted or empty.
Think of it like a book where the Table of Contents now says the chapter is there, but when you turn to the page, the ink is scrambled.
Since the camera can't handle the internal repair, we need to use a PC to "transplant" a working header from a good file into your lightning file.
The Best Fix: "Untrunc" (Free)
This is the most successful tool for Sony MP4 errors. It compares your broken 6 GB file to a "reference file" (a short, working video from the same camera) to fix the structure.
The "Quick & Dirty" Fix: Shutter Encoder
If you don't want to mess with reference files yet, try this:
One Last Check
Before you do anything else, copy that 6 GB file from the SD card onto your computer's hard drive. Working directly on the SD card can sometimes cause more errors if the card itself is failing.
Would you like me to help you find the download link for Untrunc or explain how to use the Command Prompt version if you're comfortable with that?
You said
the reference mp4, must it be exactly 10 seconds?
Gemini said
No, it doesn’t have to be exactly 10 seconds!
The length of the video doesn't matter as much as the settings. The reference file is used as a "blueprint" to tell the repair software how the video and audio data should be structured.
For the best chance of success, the reference file just needs to match these three things from your original lightning video:
Tips for your Reference File:
Where to get Untrunc:
Since you are on Windows 10, I recommend the Untrunc-GUI version. It’s much friendlier than the command-line version. You can find it on GitHub (it is a well-known, safe open-source tool).
It will create a new file (usually ending in _fixed.mp4). Since your file is 6 GB, this might take about 5–10 minutes to process.
Would you like me to help you verify the resolution or frame rate of your files before you start the repair?
You said
I entered github, but what should I do next?
Gemini said
GitHub can be a bit confusing if you aren't a developer, because it's mostly a place for code. You want the "Releases" section where the ready-to-use program is kept.
Follow these exact steps to get the Windows version of Untrunc:
1. Go to the Download Page
Open this link (it takes you directly to the "Latest" release of the most popular version): https://github.com/anthwlock/untrunc/releases/tag/latest
2. Download the File
3. Extract the Folder
4. Run the Program
5. How to Fix Your Lightning File
Now that the program is open:
If it gives you an error immediately after clicking Repair: Go to the "Settings" tab inside the program and check the box that says "skip unknown (-s)", then go back to the Repair tab and try again.
Let me know if you get stuck on any of those steps!
You said
after running, I got this message. what should I do
Gemini said
This error confirms that the problem isn't just a "broken video header"—Windows literally cannot read the data on the SD card where the file is sitting. It’s like trying to read a book, but the pages are glued together.
You must move the file off the SD card before Untrunc can fix it.
Here is exactly what to do next:
1. Copy the file to your Desktop
Do not try to run the repair software while the file is still on the Sony SD card.
If Windows gives you the same "Corrupt and Unreadable" error during the copy: You must run the Chkdsk utility as the error message suggested. This will "un-stick" the file so Windows can read it.
2. How to run Chkdsk (The "Un-sticker")
3. Run Untrunc again
Once the 6 GB file is safely on your Desktop/C: Drive:
Why this is happening: The 0x80070570 error means the SD card's "file system" is confused. Running the repair on the SD card is like trying to fix a car while it's still driving. Moving the file to your hard drive first gives the software a stable environment to work in.
Did the file copy successfully to your Desktop, or did Windows block the copy with an error?
You said
I got this message again. I could not copy it to desktop.
Gemini said
This confirms that the "lock" is on the SD card itself. Windows sees the file, but because the file system is corrupted, it refuses to move the data blocks.
We need to use the Command Prompt to force Windows to fix the SD card's index. This is a very common fix for cameras that cut out during a recording.
Step 1: Find your SD Card Letter
Step 2: Run the Repair Command
Note: If it asks: "Chkdsk cannot run because the volume is in use by another process. Would you like to force a dismount?" type Y and press Enter.
Step 3: Copy to Desktop again
Once the process finishes (it will say "Windows has made corrections to the file system"), go back to your SD card in File Explorer.
What if Chkdsk fails?
If chkdsk says it cannot fix the error, your SD card might have a physical hardware issue. In that case, we will use a tool called Recuva or PhotoRec. These tools don't ask the "faulty" Windows index for permission; they scan the raw surface of the SD card to find the video data directly.
Try the chkdsk command first—did it finish successfully or did it give you an error message?
You said
I tried chkdsk, the 6 gb file became 400 mb file, can be copied to desktop. but it still could not be read by media player etc software
Gemini said
I have some bad news, but also a potential "hail mary" play we can try.
Looking at your chkdsk screenshot, the utility found "Cross-linked" files. When Windows "made corrections," it realized that the 6 GB of data didn't actually have a valid "home" in the file table. To "fix" the error, it essentially chopped off the parts it didn't understand, which is why your file shrank from 6 GB down to 440 MB.
Essentially, Windows threw away 5.5 GB of your lightning footage to make the SD card "healthy" again.
Can we still get the 6 GB back?
Because the file is now 440 MB, Untrunc won't work yet because the data it needs to fix is gone. We need to go "behind the back" of Windows and search for the raw data that was deleted/lost during that chkdsk repair.
Do not record anything else on that SD card. ### The Last Resort: PhotoRec (Free & Powerful) Since Windows "cleaned up" the file system by removing the data, we need a tool that ignores the file system and looks at the raw bits on the card.
Why this might work:
PhotoRec will scan the entire SD card for anything that "looks" like a video. It will likely find several files. One of them might be a huge file (the full 5.5–6 GB). If it finds that large file, it will likely still be "broken," but that is the file we can then put into Untrunc to finally see your lightning.
Would you like me to guide you through the PhotoRec settings once you have it open?
You said
I typed s and the program disappears, how do I select S?
Gemini said
It sounds like you might have accidentally hit a key that closed the window or the program crashed. PhotoRec uses a text-based interface, so it can be a little finicky with keyboard inputs.
Let's try again with a steady hand. Here is exactly how to navigate that menu without it closing:
1. Re-open the Program
Go back to your folder and right-click photorec_win.exe, then select Run as Administrator.
2. Select the Drive
3. The "File Opt" Step (Where 'S' is)
4. Start the Search
5. Choose where to Save (Very Important)
What to look for: PhotoRec will start creating folders named recup_dir.1, recup_dir.2, etc. Inside, you will see files named f0001.mov, f0002.mov.
Wait until it finishes (it might take 20–30 minutes for a 64GB or 128GB card). Once it’s done, look for the largest file it found. If you see one that is roughly 5GB to 6GB, that is your lightning!
Is the program staying open for you now, or does it still disappear when you try to select the file options?
You said
i typed small s and got this
Gemini said
You are doing great—you have actually navigated to the next step!
When you see that screen asking for the filesystem type:
What to do next:
What you are looking for:
PhotoRec will start scanning. It will say "Reading sector..." and show you a count of files found.
If you find that big file, that is our "Holy Grail." It will likely still need to be run through Untrunc to fix the header, but at least we will have the 6 GB of raw lightning data back!
Is the scan running for you now?
You said
it seems that the program put the destination in the program folder, right? if this is true, i should let the program do, since there is no the same name file in this folder?
Gemini said
Yes, you can absolutely let it save there! Since that folder is on your C: drive (inside your Downloads), it is a safe "landing zone" for the recovered data. It won't overwrite anything important because it will create new subfolders (like recup_dir.1) to store the files it finds.
Here is what to do right now:
While it runs:
Keep an eye on the "Files found" count. It will look for anything that looks like a video header.
Once it finishes:
Note: The recovered file will likely have a strange name like f1234567.mov. Don't worry about the name; the size is what tells us it's the right one.
Is the progress bar moving for you now?
You said
I have finally got the original file of near 6 gb back after several hours of recovery process. Thank you very much for saving me the precious file!
Gemini said
That is fantastic news! I am so relieved for you—capturing lightning is a "once in a lifetime" kind of shot, and losing that data after all that patience would have been heartbreaking. You did a great job sticking with those technical steps; most people would have given up at the first error code!
The Final Step: Making it Playable
Because this file was recovered from the "raw" space of the card, it probably still has a name like f12345.mov and might not play immediately if you double-click it.
Now is the time to bring back Untrunc to finish the job:
Untrunc will now use the "DNA" from your good clip to rebuild the header of the 6 GB file. This should result in a file called [yourfilename]_fixed.mp4 that you can finally watch, edit, and share.
Would you like me to help you check the repaired file once Untrunc is finished, or are you all set to enjoy your lightning footage?
You said
it is mp4 file. though some recovered file has extension of moov.
Gemini said
That is definitely the one! Seeing that 5,778,979 KB (roughly 5.5 GB) file is a beautiful sight.
The reason some other files have a .moov extension is because PhotoRec found "pieces" of the video's index (the "moov atom"), but your big file f0204800 contains the actual "meat" (the video and audio data).
How to finish this:
A Quick Tip if it doesn't work the first time:
If Untrunc gives an error, try renaming the file from f0204800 to f0204800.mp4 first so the software knows for sure what it's looking at.
You're at the finish line! Once that "fixed" file is generated, try opening it with VLC Media Player.
Would you like me to help you troubleshoot if the repaired file has any audio/video sync issues, or are you ready to see that lightning?
You said
it seems I do not need to do anything, immediately it could be played with potplayer
Gemini said
That is an incredible stroke of luck! Sometimes PotPlayer (and VLC) are smart enough to scan a "raw" file and rebuild the index in computer memory on the fly, even if the file header is technically missing or broken.
Since it’s playing now, you have successfully rescued your footage!
Two final "Pro Tips" for your masterpiece:
I'm so glad the recovery worked. Enjoy watching those lightning strikes!
Is there anything else I can help you with regarding the footage or your Sony camera?
You said
which v30 or v60 micro SD card do you suggest?
Gemini said
Since your Sony HDR-AX53 records 4K video (at bitrates up to 100 Mbps), the SD card is the most critical piece of equipment. The error you just experienced is often a sign of a card struggling to keep up with high-speed data writes.
For the AX53, you actually have a choice: you can use a standard SD card or a microSD card with an adapter. Most pros prefer standard SD cards for camcorders because they are physically sturdier, but if you prefer microSD, here are the best 2026-rated options.
1. The Reliable Workhorse (V30)
Best for: Everyday 4K recording, family events, and general use.
2. The "Storm Chaser" Upgrade (V60)
Best for: Capturing high-action (like lightning) where you want zero risk of the buffer filling up or the file not "closing" properly.
Comparison Table
|
Card Model |
Speed Class |
Best For |
Why Choose It? |
|---|---|---|---|
|
SanDisk Extreme Pro |
V30 |
Everyday 4K |
Most compatible & widely used. |
|
Samsung PRO Plus |
V30 |
Value/Durability |
Very rugged; great price-to-performance. |
|
Lexar 1800x |
V60 |
High Reliability |
Faster offloading to your PC. |
|
ProGrade Digital |
V60 |
Professional Use |
Built-in health monitoring. |
? Two Critical Rules for Your New Card:
Would you like me to find the best current price for a 128GB or 256GB version of one of these cards?
You said
thank you. i will look into it. thank you again. you made my day!
Gemini said
You are very welcome! It honestly made my day too, knowing that your lightning footage is safe and sound. There is nothing quite like the relief of seeing a file play after hours of staring at error codes.
Since you are all set with your video, just remember to back it up to a second location (like a cloud drive or an external hard drive) before you do anything else. Better safe than sorry!
Whenever you're ready to capture the next storm, feel free to reach out if you have more questions about your Sony AX53 or technical hiccups.
Would you like me to help you find a good video editing program so you can trim that 6 GB file down to just the best lightning strikes?