ExifTool Forum

ExifTool => Newbies => Topic started by: Gabriele on November 27, 2022, 09:03:21 AM

Title: extract some info from my clips shot with a Sony Alpha 7s III
Post by: Gabriele on November 27, 2022, 09:03:21 AM
Hello! I'm new to ExifTool, and I'm trying to use it to extract some info from my clips shot with a Sony Alpha 7s III. Using Sony Catalyst Browse, I can see these details.

(https://i.ibb.co/PhfY0Hm/Sony-a7-S-III-metadata.png) (https://ibb.co/FwjWCTx)

With EfixTool, I'd like to extract the Aperture, ISO, and Shutter Speed.

I used this command

exiftool -ee -ShutterSpeed -Aperture -ISO myFile.mp4
and I got this result

Shutter Speed                  : 1/51
Aperture                        : 4.5
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640
ISO                            : 640

The complete output, using just this command

exiftool -ee myFile.mp4
is this one

ExifTool Complete Output (https://mega.nz/file/WNk1wIBS#b5f-lHYnxk63hvh615VNSfEi5uZ-olp4vMqLZi3E6XE)

The file I used for my tests is downloadable here:

CAM2_20221013_3108.MP4 (https://mega.nz/file/GAcwHAjQ#CDDV2aT8YTfTY9RCui4ryy4Ap5_JHjsuye5dYt2DbMo)

(I hope that hosting service works, it's the first time I use it)

Is there any way to get a single ISO value in the output?

P.S. The good news is that, if I use the -csv option, the output is usable (the ISO value appears only one time).
Title: Re: Re: Aquisition metadata on video files from Sony cameras - ISO, aperture, shutter...
Post by: Gabriele on November 27, 2022, 09:41:20 AM
I also tried to extract the focal length ("Lens zoom actual focal length").

Sony rtmd 0x800a                : 52458 – FOCUS RING POSITION
Sony rtmd 0x8004                : 48546 – LENS ZOOM 35MM STILL-CAMERA EQUIVALENT
Sony rtmd 0x8005                : 48356 – LENS ZOOM ACTUAL FOCAL LENGHT
Sony rtmd 0x800b                : 19734 – ZOOM RING POSITION

Apparently, these three values are in the file metadata but I have no idea how to convert them into millimeters.

Here is the file obtained using the "-ee -u" options: output (https://mega.nz/file/rc9nlbCK#vN5YrZQJnKy-mNdkHxcGCaRnJ7Ku_4qRHtk4RBxtAns).
Title: Re: Re: Aquisition metadata on video files from Sony cameras - ISO, aperture, shutter...
Post by: StarGeek on November 27, 2022, 11:59:51 AM
Please respect the warning given on old threads.
(https://i.imgur.com/KfGzFdn.png)

Quote from: Gabriele on November 27, 2022, 09:03:21 AMIs there any way to get a single ISO value in the output?

How very annoying that file is. A bunch of data in the Track3 stream that probably should have been set once at the header of the file.  And it can't be read without including the -ee (-extractEmbedded) option (https://exiftool.org/exiftool_pod.html#ee--extractEmbedded).

Quote from: Gabriele on November 27, 2022, 09:41:20 AMI also tried to extract the focal length ("Lens zoom actual focal length").

Sony rtmd 0x800a                : 52458 – FOCUS RING POSITION
Sony rtmd 0x8004                : 48546 – LENS ZOOM 35MM STILL-CAMERA EQUIVALENT
Sony rtmd 0x8005                : 48356 – LENS ZOOM ACTUAL FOCAL LENGHT
Sony rtmd 0x800b                : 19734 – ZOOM RING POSITION

Apparently, these three values are in the file metadata but I have no idea how to convert them into millimeters.

Phil may be able to do something if he has time.  It is very helpful that you included a link to a sample MP4.  He may ask other questions or more samples.
Title: Re: extract some info from my clips shot with a Sony Alpha 7s III
Post by: Phil Harvey on November 27, 2022, 04:44:02 PM
The -ee option implies -a to allow duplicates to be extracted, but you can use -ee --a to extract embedded tags without duplicates.

Regarding the rtmd tags: How did you determine the meanings of these?  I would need a set of values/focal lengths to be able to determine the decoding.

- Phil