Author Topic: Exiftool does not process some MP4 files  (Read 277 times)

dzeek

  • Full Member
  • ***
  • Posts: 45
Exiftool does not process some MP4 files
« on: June 17, 2020, 09:01:35 AM »
I'm getting the following error when using exiftool with some MP4 video files. As a result, exiftool exits without executing the command.

Error:
Code: [Select]
Warning: [Minor] Skipping 'moov' atom > 32 MB - D:/GSV2JPG/Sample videos/VID_20200611_110320_1fpers.mp4

Example command that does not work:
Code: [Select]
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


« Last Edit: June 17, 2020, 09:25:17 AM by dzeek »

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3795
Re: Exiftool does not process some MP4 files
« Reply #1 on: June 17, 2020, 03:11:25 PM »
Have you tried adding the -m (ignoreMinorErrors) option?  See this post.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

dzeek

  • Full Member
  • ***
  • Posts: 45
Re: Exiftool does not process some MP4 files
« Reply #2 on: June 17, 2020, 04:56:26 PM »
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.
« Last Edit: June 17, 2020, 05:22:19 PM by dzeek »

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: Exiftool does not process some MP4 files
« Reply #3 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

dzeek

  • Full Member
  • ***
  • Posts: 45
Re: Exiftool does not process some MP4 files
« Reply #4 on: June 17, 2020, 06:37:16 PM »
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?

dzeek

  • Full Member
  • ***
  • Posts: 45
Re: Exiftool does not process some MP4 files
« Reply #5 on: June 18, 2020, 09:29:03 AM »
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?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16706
    • ExifTool Home Page
Re: Exiftool does not process some MP4 files
« Reply #6 on: June 18, 2020, 09:08:47 PM »
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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

obetz

  • Sr. Member
  • ****
  • Posts: 251
Re: Exiftool does not process some MP4 files
« Reply #7 on: June 19, 2020, 03:34:36 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

dzeek

  • Full Member
  • ***
  • Posts: 45
Re: Exiftool does not process some MP4 files
« Reply #8 on: June 20, 2020, 06:33:56 PM »
It would be interesting to understand the 200 MB limit mentioned. What is imposing the limit?