I have a script which updates some metadata on images and videos, then creates GPX files and a metadata listing for them. It takes four parameters:
$1 specifies a directory to work on
$2 determines output file names
$3 & $4 are written into the GPX files
Sometimes, it gets errors and warnings on video files. Not all of them.
exiftool without switches does not find Make/Model of the camera, but I think it was an Android phone.
I've attached a zipfile containing three such files, a copy of the script, and a log of the messages output when running the script on that directory.
Are the videos malformed? Is it a bug in exiftool? or something else?
If the videos are malformed, is there a way to fix them? A laptop running MacOS is able to play them without complaint.
Here is a similar thread explaining the problem/solution (https://exiftool.org/forum/index.php?topic=15869).
I've got a patch for this that I plan to release in the next version (12.81).
- Phil