Last active
July 21, 2021 18:27
-
-
Save derplayer/ef16899d5e530313c500dbf91342f243 to your computer and use it in GitHub Desktop.
Fix/Recover damaged Parrot AR.Drone 2.0 video recordings (mp4.tmpvid)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Parrot AR Drone 2.0 crashed into water and was dead but... | |
It still saved the footage as mp4.tmpvid, that is damaged and not playable anymore. | |
Here is how it can be fixed: | |
1. Get recover_mp4 (freeware) and ffmpeg and extract | |
2. Open cmd where you extracted recover_mp4 and ffmpeg | |
3. | |
This hex dump is a analyze file used by recover_mp4! | |
Copy and paste it with a hex editor and save as "video.hdr" in the folder where recover_mp4 is extracted. | |
00000023617663430142801FFFE1000A6742801F8B6805005B1001000668CE01A87720 | |
You can also let it generate by recover_mp4 when you still have a valid reference file | |
Example: recover_mp4.exe ref.mp4 --analyze | |
4. Enter in cmd "recover_mp4.exe broken_vid.mp4.tmpvid result.h264 --noaudio --cgo3" | |
5. You should see in cmd something like 'result.h264' created, size 26541798 (99.922%) | |
99.9% recovery is enough. The "cgo3" profile is the only one that works with Parrot AR 2.0 MP4 Videos. | |
As final step you need to re-encode the video with ffmpeg from .h264 back to .mp4! | |
(or else the video keyframes will be glitched out, because of the missing 0.01% of DATA) | |
6. Enter in cmd "ffmpeg.exe -r 30.000 -i result.h264 -c:v copy result.mp4" | |
You're done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment