I'm trying to scan a large number of image (jpg, orf, dng) & video (mp4, mov) files. I am having problems with mp4's from a DJI Spark device. I have tried -ee but I can't find anything useful. In the jpgs the 'Camera Model Name' is 'FC1102' but this string doesn't appear anywhere in the mp4 metadata. I assume this name represents the camera hanging from the drone.
I think I read somewhere that there is no standard consistent spec for video files, but I assume the manufacturer's app (DJI Go 4) can work out if it's a Spark file (or Mavic etc). Does anyone know of a solution?
I can find the necessary values for GoPro mp4 & Olympus mov files, although they don't all use the same tag.The DJI Osmo Pocket includes a model name.
Can you share a short sample?
Spark MP4
exiftool -ee "I:\DJI_0494.MP4"
ExifTool Version Number : 12.29
File Name : DJI_0494.MP4
Directory : I:/
File Size : 51 MiB
File Modification Date/Time : 2018:09:09 11:54:02+02:00
File Access Date/Time : 2021:10:14 17:05:20+02:00
File Creation Date/Time : 2021:10:14 17:05:21+02:00
File Permissions : -rw-rw-rw-
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 : 53030084
Media Data Offset : 48
Movie Header Version : 0
Create Date : 2018:09:09 11:53:44
Modify Date : 2018:09:09 11:53:44
Time Scale : 1000
Duration : 17.52 s
Preferred Rate : 1
Preferred Volume : 100.00%
Matrix Structure : 1 0 0 0 1 0 0 0 1
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 2
Track Header Version : 0
Track Create Date : 2018:09:09 11:53:44
Track Modify Date : 2018:09:09 11:53:44
Track ID : 1
Track Duration : 17.52 s
Track Layer : 0
Track Volume : 0.00%
Matrix Structure : 1 0 0 0 1 0 0 0 1
Image Width : 1920
Image Height : 1080
Media Header Version : 0
Media Create Date : 2018:09:09 11:53:44
Media Modify Date : 2018:09:09 11:53:44
Media Time Scale : 12800
Media Duration : 17.52 s
Media Language Code : und
Handler Type : Video Track
Handler Description : VideoHandler
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : avc1
Source Image Width : 1920
Source Image Height : 1080
X Resolution : 72
Y Resolution : 72
Bit Depth : 24
Video Frame Rate : 29.97
GPS Coordinates : 18 deg 39' 32.87" S, 121 deg 55' 55.39" E, 23.6 m Above Sea Level
Handler Type : Metadata
Handler Vendor ID : Apple
Encoder : Dji AVC Encoder
Image Size : 1920x1080
Megapixels : 2.1
Avg Bitrate : 24.2 Mbps
GPS Altitude : 23.6 m
GPS Altitude Ref : Above Sea Level
GPS Latitude : 18 deg 39' 32.87" S
GPS Longitude : 121 deg 55' 55.39" E
Rotation : 0
GPS Position : 18 deg 39' 32.87" S, 121 deg 55' 55.39" E
Spark JPG for comparison
exiftool "I:\DJI_0001.JPG"
ExifTool Version Number : 12.29
File Name : DJI_0001.JPG
Directory : I:/
File Size : 5.0 MiB
File Modification Date/Time : 2018:09:30 09:49:12+02:00
File Access Date/Time : 2021:12:05 17:11:36+01:00
File Creation Date/Time : 2021:12:05 17:11:36+01:00
File Permissions : -rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Exif Byte Order : Little-endian (Intel, II)
Image Description : DCIM/PANORAMA/101_0440/DJI
Camera Model Name : FC1102
Orientation
(rest of metadata removed)
Sorry, you probably meant a sample file....
https://1drv.ms/u/s!ArhO_kPpJym9gpNEcHI_bCLL9UV18A?e=5AVWgX (https://1drv.ms/u/s!ArhO_kPpJym9gpNEcHI_bCLL9UV18A?e=5AVWgX)
The string "FC1102" does not appear anywhere in this MP4 file.
- Phil
I looked over the file a bit in a hex editor. No sign of any EXIF data at all.
Thanks for the feedback everyone.
I'll have to look for a cheap-and-cheerful solution. Maybe check
if the file is DJI*.MP4 and there is no Camera Model
then it's a Spark
else it's the model in the metadata
and not buy any more DJI's.
I have a similar problem for GoPro Hero 5 MP4's - but there I can use the -ee option to find the model, it just slows things down.
Back to the drawing board.