Recovering .mp4 from Phone's Emergency Shutdown

Image credit: Source: Wikipedia

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! :)

Edit this page

Avatar
Joseph de la Torre Dwyer
Researcher

My research interests include distributive justice; the principles of responsibility, desert, and control; and reproducible research with R.