Search found 5 matches

by hendry
25 Jul 2018, 17:28
Forum: File recovery
Topic: Recover MP4s from Canon format
Replies: 6
Views: 12961

Re: Recover MP4s from Canon format

I wrote a script that has helped me recover my MP4 files!

cat check.sh
mp4=$(basename $1)
for i in recup_dir.1/*.mov
do
cat $1 $i > output/$mp4
if ! ffprobe output/$mp4 2>&1 | grep -q NAL
then
echo bingo $1 $i
echo mpv output/$mp4
exit
fi
done

Thank you for your time!

Also made a video ...
by hendry
25 Jul 2018, 17:11
Forum: File recovery
Topic: Recover MP4s from Canon format
Replies: 6
Views: 12961

Re: Recover MP4s from Canon format

I got another sdcard, low level formatted it. Then I took a single video and formatted it and ran through the same procedure.

I found this resulting /tmp/w2.mp4 to work:

[hendry@t480s recup_dir.1]$ file f*
f0040960_mdat.mov: Apple QuickTime movie (unoptimized)
f124700416.mp4: ISO Media, MP4 v2 ...
by hendry
24 Jul 2018, 15:38
Forum: File recovery
Topic: Recover MP4s from Canon format
Replies: 6
Views: 12961

Re: Recover MP4s from Canon format

Playback doesn't work unfortunately. ffprobe reports

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x560f8d1eb300] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x560f8d1eb300] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp ...
by hendry
22 Jul 2018, 11:52
Forum: File recovery
Topic: Recover MP4s from Canon format
Replies: 6
Views: 12961

Re: Recover MP4s from Canon format

Thank you for your reply Christophe!

I installed 7.1-WIP via Archlinux's AUR.

[hendry@t480s day14]$ photorec --version
PhotoRec 7.1-WIP, Data Recovery Utility, June 2018
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org

Version: 7.1-WIP
Compiler: GCC 8.1
ext2fs lib: 1.44.2 ...
by hendry
21 Jul 2018, 14:02
Forum: File recovery
Topic: Recover MP4s from Canon format
Replies: 6
Views: 12961

Recover MP4s from Canon format

Hi there,

I think my Canon G7X mkII formats the sdcard as exfat. After importing the mp4s into FCPX, I format the sdcard. Unfortunately something went wrong with the import.

https://twitter.com/kaihendry/status/1020462844167389184

I reached for photorec, and I must say a big thank you already ...