I'm getting the following error when using exiftool with some MP4 video files. As a result, exiftool exits without executing the command.
Error:
Warning: [Minor] Skipping 'moov' atom > 32 MB - D:/GSV2JPG/Sample videos/VID_20200611_110320_1fpers.mp4
Example command that does not work:
exiftool -api LargeFileSupport -VideoFrameRate -Duration -MediaCreateDate -Model -n -s3 "D:\GSV2JPG\Sample videos\VID_20200611_110320_1fpers.mp4"
I would appreciate any help in how to solve.
Thank you
Have you tried adding the -m (ignoreMinorErrors) option (https://exiftool.org/exiftool_pod.html#m--ignoreMinorErrors)? See this post (https://exiftool.org/forum/index.php?topic=11161.msg59680#msg59680).
I have and it masks the error and allows processing to continue but how will I know if it affects the results? I assume there is good reason to flag the condition as a warning but no explanation is given as to why and the possible implications in this situation.
The implication is that you could run out of memory trying to load such a large atom. ExifTool does this rather than possibly crashing on an out-of-memory condition. If you have enough memory, then ignoring the error is fine.
- Phil
Sorry, not sure I follow. 32 MB does not seem like much memory. Do you mean memory to load the atom itself or the data it indexes?
Quote from: Phil Harvey on June 17, 2020, 06:25:43 PM
The implication is that you could run out of memory trying to load such a large atom. ExifTool does this rather than possibly crashing on an out-of-memory condition. If you have enough memory, then ignoring the error is fine.
- Phil
Sorry, not sure I follow. 32 MB does not seem like much memory. Do you mean memory to load the atom itself or memory to process the data indexed by the atom?
32 MB can translate into quite a bit of memory after it is broken down into tags. And I'm trying to work within a ~200 MB limit that I've seen on many Windows systems.
- Phil
Quote from: Phil Harvey on June 18, 2020, 09:08:47 PM
And I'm trying to work within a ~200 MB limit that I've seen on many Windows systems.
It would be interesting to learn more about this possible limit.
Maybe it depends on the Perl distribution? The OP rather likely uses the 64 bit Strawberry Perl version so there should be plenty of memory.
Oliver
It would be interesting to understand the 200 MB limit mentioned. What is imposing the limit?