anthwlock / untrunc

Restore a truncated mp4/mov. Improved version of ponchio/untrunc
GNU General Public License v2.0
2k stars 191 forks source link

100CPU, no progress #2

Closed Orad closed 6 years ago

Orad commented 6 years ago

Hi and thanks for your fork and contribution. The following files will cause untrunc(both your fork and ponchio master) to run endlessly and consume 100%CPU with no output file Console shows:

Info: reading reference-video.mp4
Info: parsing healthy moov atom ... 
Info: parsing mdat from truncated file ... 

As requested,I'm sharing a reference file and example of broken video from the same camera. https://goo.gl/urvwFn

anthwlock commented 6 years ago

Sadly, your file contains no data to restore. All bytes are FF. I added a value check so it wont use 100% CPU in such cases.