anthwlock / untrunc

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

Could you add support for AV1 codec? #178

Open Onelookere opened 1 month ago

Onelookere commented 1 month ago

I have some corrupted game recording videos that are encoded with AV1. It seems that Untrunc does not support this codec. Warning: Bad track: 'av01' Adding more sophisticated logic for this track could significantly improve the recovered file's quality! Info: using dynamic stats, use '-is' to see them Info: 'J:\Videos\dungeonwarfare2.exe\dungeonwarfare2.exe 2024.08.06 - 16.24.12.01.mp4' has invalid atom lenghts, see '-f' Info: reading mdat from truncated file ... Info: using 64-bit offsets for the broken file [aac @ 0000000004e61e60] Number of bands (26) exceeds limit (20).

It ultimately generated an incorrect MP4 file ( I also tried to use FFmpeg to convert the source file's encoding format, but it failed )

Thank you

anthwlock commented 1 month ago

Hey - please send me the files (healthy+broken) and I might take a look at some point (could take a while though). You can upload them on wetransfer (2GB limit) or dropmefiles.net (100GB limit). If you think they are too big, you can use untrunc -sh file.mp4. In case you want to keep the link private, you can send me an email - see my Profile page. Thank you!

Onelookere commented 1 month ago

healthy: https://dropmefiles.net/en/6WvSXPa8HV broken: https://dropmefiles.net/en/cmDBve2hX Thank you for reply