cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.69k stars 205 forks source link

Insta360 support #163

Open amedrz opened 2 months ago

amedrz commented 2 months ago

Hi, I'm wondering if it's possible to add support for .insp and .lrv files? Here's the links from PhotoRec online checker:

Sample files can also be found here

Thank you!

cgsecurity commented 2 months ago

Both files are already recovered by PhotoRec. It's not perfect as the end of the files with the non-standard extension is truncated. Have you tried PhotoRec against a memory card from your Insta360 ? On most action cams, both high resolution and low resolution (lrv) videos are recorded in parallel after taking a still picture (insp for Insta360), so the files are fragmented preventing their recovery except by tools for the exact brand and model.

amedrz commented 2 months ago

Have you tried PhotoRec against a memory card from your Insta360 ?

Yes I have tried to recover the files with my camera connected to my Mac and this is what the program shows

IMG_1466

so the files are fragmented preventing their recovery except by tools for the exact brand and model.

would this be the reason why they don't show up in the screenshot above?

cgsecurity commented 2 months ago

Can you play the mov files ? If the files are broken, it's probably due to the original file fragmentation.

Anders-mobile commented 2 months ago

@cgsecurity

I have a memory card that contains both deleted and non-deleted .insp and .lrv files. None of these files, whether deleted or still present, show up during the recovery process. As I understand, files that have not been deleted and are not corrupted should normally be visible during recovery.

The fact that none of these file types appear, regardless of their status, leads me to believe that there may be another issue at play here. Could this be related to how these file formats are fragmented or structured on the memory card? Or is there something specific in how PhotoRec handles these file formats that I should be aware of?

Thank you for any insights!