News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Unable to read metadata from long videos

Started by alexmerkel, May 08, 2020, 05:54:55 AM

Previous topic - Next topic

alexmerkel

I'm trying to read metadata from a long video file (>11h) using the LargeFileSupport option. Unfortunately, I always get the message Warning = [Minor] Skipping 'moov' atom > 32 MB and none of the stored metadata like Title or Artist is displayed.

My command:
exiftool -api LargeFileSupport=1 -v3 -all LongVideo.mp4

The output:

  ExifToolVersion = 11.85
  FileName = LongVideo.mp4
  Directory = /Users/user/Desktop/
  FileSize = 6428674104
  FileModifyDate = 1588930341
  FileAccessDate = 1588930342
  FileInodeChangeDate = 1588930356
  FilePermissions = 33188
  FileType = MP4
  FileTypeExtension = MP4
  MIMEType = video/mp4
  FileType (SubDirectory) -->
  - Tag 'ftyp' (24 bytes):
      0008: 69 73 6f 6d 00 00 02 00 69 73 6f 6d 69 73 6f 32 [isom....isomiso2]
      0018: 61 76 63 31 6d 70 34 31                         [avc1mp41]
  + [BinaryData directory, 24 bytes]
  | MajorBrand = isom
  | - Tag 0x0000 (4 bytes, undef[4]):
  |     0008: 69 73 6f 6d                                     [isom]
  | MinorVersion = .
  | - Tag 0x0001 (4 bytes, undef[4]):
  |     000c: 00 00 02 00                                     [....]
  | CompatibleBrands = isomiso2avc1mp41
  | - Tag 0x0002 (16 bytes, undef[16]):
  |     0010: 69 73 6f 6d 69 73 6f 32 61 76 63 31 6d 70 34 31 [isomiso2avc1mp41]
  MediaDataSize = 6377765830
  MediaDataOffset = 48
  MediaData
  - Tag 'mdat' at offset 0x0030 (6377765830 bytes)
  MediaDataSize = 0
  MediaDataOffset = 6377765894
  MediaData =
  - Tag 'mdat' (0 bytes):
  Warning = [Minor] Skipping 'moov' atom > 32 MB
  Movie (SubDirectory) -->
  - Tag 'moov' at offset 0x17c24fc0e (50907425 bytes)
  Free =
  - Tag 'free' (769 bytes):
  17f2dc537: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  17f2dc547: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  17f2dc557: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  17f2dc567: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
  17f2dc577: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
      [snip 689 bytes]
ExifTool Version Number         : 11.85
File Name                       : LongVideo.mp4
Directory                       : /Users/user/Desktop/
File Size                       : 6.0 GB
File Modification Date/Time     : 2020:05:08 11:32:21+02:00
File Access Date/Time           : 2020:05:08 11:32:22+02:00
File Inode Change Date/Time     : 2020:05:08 11:32:36+02:00
File Permissions                : rw-r--r--
File Type                       : MP4
File Type Extension             : mp4
MIME Type                       : video/mp4
Major Brand                     : MP4  Base Media v1 [IS0 14496-12:2003]
Minor Version                   : 0.2.0
Compatible Brands               : isom, iso2, avc1, mp41
Media Data Size                 : 0
Media Data Offset               : 6377765894
Media Data                      : (Binary data 0 bytes, use -b option to extract)
Warning                         : [Minor] Skipping 'moov' atom > 32 MB
Free                            : (Binary data 769 bytes, use -b option to extract)


Is there a way to make exiftool read the moov atom even if it is larger than 32MB?

Phil Harvey

This is a minor warning.  You can ignore it with the -m option to force ExifTool to read the large 'moov' atom.

- 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 ($).

alexmerkel

Hi Phil,

thanks a lot, works like a charm.

Cheers,
Alex