Recovering .mp4 from Phone's Emergency Shutdown
Recently, my phone was recording video when the battery ran out and shut down. After charging the phone, a video file was there but contained neither video nor sound and video players did not understand how to work with the file.
StackExchange to the rescue, I placed the corrupt file and a good reference video from the same phone in the same directory and then I tried this command here:1
docker run -v $(pwd):/vol -it synctree/untrunc /vol/GOOD-reference-file.mp4 /vol/BAD-corrupt-file.mp4
Presto, everyone was happy! :)