anthwlock / untrunc

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

Windows and Debian - untrunc does not finish #21

Closed EQWorry closed 5 years ago

EQWorry commented 5 years ago

Hi, both under Windows and Debian untrunc prints out some info but then hangs forever (uh) at: Info: Found 498 packets ( avc1: 498 avc1-keyframes: 50 ) With other files the similar happens: Info: Found 122 packets ( avc1: 122 avc1-keyframes: 14 ) It uses some CPU power, but does nothing for hours now. Any help/suggestions much appreciated.

EQWorry commented 5 years ago

Suggesting @ myself: Could this behavior be caused by the fact that neither the corrupted and the correct file contain audio track, only video? Files with audio get processed...

asos-krystian commented 5 years ago

I have the same problem on my mac. The original version (by @ponchio) works fine but I need support for larger files. @EQWorry I can also confirm that my files are without audio track.

anthwlock commented 5 years ago

Hey, I think it should work now, after this commit!

EQWorry commented 5 years ago

Great job, thanks a lot, it works now even on files with no audio! :-)