anthwlock / untrunc

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

Recover cut and pasted mp4 from a Panasonic hvx-200 #171

Open od3zza opened 3 months ago

od3zza commented 3 months ago

Hello, everyone,

I have several corrupted files. Fortunately with this process, I was able to recover some of them, but it was only a few minutes of more than an hour of recording. I'll leave one of the logs below, can anyone tell me if I can recover more or if I've done something wrong?

PS C:\Users\heyal\Downloads\untrunc_x64> ./untrunc C:\Users\heyal\Downloads\untrunc_x64\vids\working-video.mp4 C:\Users\heyal\Downloads\untrunc_x64\vids\broken-video.mp4 Info: version 'v318-e6382ca' using ffmpeg '3.3.4' Lavc57.89.100 Info: reading C:\Users\heyal\Downloads\untrunc_x64\vids\working-video.mp4 Info: parsing healthy moov atom ... Composition time offset atom found. Out of order samples possible.

Info: reading mdat from truncated file ... [aac @ 0000000002721600] channel element 2.15 is not allocated Error: unable to find correct codec -> premature end (~4.68%) try '-s' to skip unknown sequences

Info: Found 14489 packets ( mp4a: 6354 avc1: 8135 avc1-keyframes: 65 ) Info: Duration of mp4a: 2min 15s 552ms (135552 ms) Info: Duration of avc1: 2min 15s 583ms (135583 ms) Info: saving C:\Users\heyal\Downloads\untrunc_x64\vids\broken-video.mp4_fixed.mp4

958 warnings were hidden!

JoepDiskTuna commented 2 months ago

try '-s' to skip unknown sequences

Did you try this?