Main Menu

Repair corrupt MP4

Started by DeltaTango, December 22, 2023, 04:17:18 AM

Previous topic - Next topic

DeltaTango

Hello,

ist there any possibility to repair corrupted metadata from mp4 files with exiftool? I have the problem that exiftool won't write data because of any "truncated atom errors". I am also not able to delete the complete metadata with exiftool.

As workaround I have tried to demux and remux the file with avidemux in copy mode. Then the dates will be written with 00000000 00:00:00. After that I restore the dates with exiftool from the filename. At least that works.

Phil Harvey

Sorry, ExifTool isn't able to fix videos with a truncated atom.  This error likely indicates that part of the file has been lost, and "fixing" this could result in an incomplete file.  ExifTool doesn't want to take this chance.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).