video fiel

Started by umbro61, February 05, 2020, 11:32:19 AM

Previous topic - Next topic

umbro61

Hi,
I want to add information about the camera model, the type of lens, and GPS to a video file. I want to add this information to EXIF for mov / mp4 files, as Panasonic does for its video files. Apple also does something similar for videos with iPhone. I always get the following message: '1 image files unchanged'. I modified the file iptc2exif.args (renamed in videoEXIF). I run exiftool -@ videoEXIF.args DSTFILE.
What am I wrong?
I thank you in advance for your help.
:-[

Phil Harvey

MOV/MP4 videos do not support EXIF metadata.  Remove the "EXIF:" from your tag names to write in the preferred group for these files.

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

StarGeek

#2
EXIF metadata in a video file is non-standard, the specification doesn't allow for it.  Of course, that doesn't stop some camera companies from doing their own thing.  Exiftool can read the data, but can't create it or alter it so as not to corrupt the video file.

Model and Lens can be added to the Quicktime:Model and Quicktime:Lens tags. GPS data can be added to the Quicktime:GPSCoordinates tag as <Latitude> <Longitude> <Altitude>.
exiftool -GPSCoordinates="40.6892, -74.0445 10" FILE.mp4

Additionally, all of these items have XMP versions that can be added to MP4/Mov files.

Edit: Removed non-existent tag name
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Well, OK.  MOV/MP4 may contain EXIF, but it is non-standard as StarGeek mentions.  For example, it is located inside the proprietary Panasonic PANA data in a sample Panasonic MP4 that I have handy:

> exiftool -make -model -G5 ../pics/PanasonicDC-FT7.mp4
[MOV-Movie-UserData-PanasonicPANA-EXIF-IFD0] Make: Panasonic
[MOV-Movie-UserData-PanasonicPANA-EXIF-IFD0] Camera Model Name: DC-FT7


And as StarGeek mentions, the PANA data is not currently writable by ExifTool.  It wouldn't make sense to change the Make here anyway, because the existence of PANA data clearly indicates that it is from a Panasonic camera.

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

umbro61

I thank you for your suggestions. I want to add the information about the camera model, the lens, and the GPS coordinates to video files not made with a Panasonic.
My purpose is that adobe LightRoom can handle the above tags.
I attached the file called 'outmp4panasonic' just for example of what I would like to get for the other video files as well

StarGeek

If the goal is for the data to be available in Lightroom, then try using the XMP tags.  I'm pretty sure that Lightroom will be able to read data from those tags in video files.  At least, Adobe Bridge seems to be able to and it would be weird for LR to not have similar capability.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

axmuradi

#6
Quote from: StarGeek on February 05, 2020, 11:40:41 AM

Model and Lens can be added to the Quicktime:Model and Quicktime:Lens tags. GPS data can be added to the Quicktime:GPSCoordinates

I tried adding "6.72mm f/1.7" to Quicktime:Lens tag and got an error "Sorry, Quicktime:Lens doesn't exist or isn't writable" - sad face! I succeeded in adding it to [XMP-exifEX] but it doesn't show up in the Lightroom "Lens" metadata field.

I am making slow progress adding various metadata to DJI drone movies but this and a few others have stumped me.

StarGeek

You're right.  Not sure where I came up with the quicktime lens tag.

There probably isn't anything you can do other than add it to XMP, maybe in a sidecar.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype