AllDates shifting of MP4 files

Started by wespe, June 13, 2020, 01:03:01 AM

Previous topic - Next topic

wespe

I'm not sure whether this is a bug or whether my expectations are wrong...

In the MP4 the QuickTime date changed and the Exif date was not changed.


[wilhelm@desdemona:~/scratch/exiftest/test_12>  grep PRETTY /etc/os-release
PRETTY_NAME="openSUSE Leap 15.1"
wilhelm@desdemona:~/scratch/exiftest/test_12>  ls -l
insgesamt 17480
-rw-r--r-- 1 wilhelm users 10420647 13. Jun 05:57 x.MP4
-rw-r--r-- 1 wilhelm users  7475200 13. Jun 05:57 y.JPG
wilhelm@desdemona:~/scratch/exiftest/test_12>  ~/scratch/Image-ExifTool-12.00/exiftool -ver
12.00
wilhelm@desdemona:~/scratch/exiftest/test_12>  exiftool -AllDates-=00:00:04 x.MP4 y.JPG
    2 image files updated
wilhelm@desdemona:~/scratch/exiftest/test_12>  ls -l
insgesamt 34944
-rw-r--r-- 1 wilhelm users 10420647 13. Jun 06:15 x.MP4
-rw-r--r-- 1 wilhelm users 10420647 13. Jun 05:57 x.MP4_original
-rw-r--r-- 1 wilhelm users  7457586 13. Jun 06:15 y.JPG
-rw-r--r-- 1 wilhelm users  7475200 13. Jun 05:57 y.JPG_original
wilhelm@desdemona:~/scratch/exiftest/test_12>  ~/scratch/Image-ExifTool-12.00/exiftool -a -s -G0:1 -createdate *
======== x.MP4
[QuickTime]     CreateDate                      : 2020:06:12 18:03:14
[EXIF:ExifIFD]  CreateDate                      : 2020:06:12 17:56:09
======== x.MP4_original
[QuickTime]     CreateDate                      : 2020:06:12 18:03:18
[EXIF:ExifIFD]  CreateDate                      : 2020:06:12 17:56:09
======== y.JPG
[EXIF:ExifIFD]  CreateDate                      : 2020:06:12 17:54:38
======== y.JPG_original
[EXIF:ExifIFD]  CreateDate                      : 2020:06:12 17:54:42
    4 image files read


(Just in case You wonder why the Quick Time time stamp is some minutes later than the Exif time stamp: When doing time lapse recordings the Lumix FZ82 used creates a group of JPGs. You can tell the camera later to combine them to a MP4 and that time goes into the Quick Time time stamp.)

StarGeek

Exiftool cannot edit EXIF data in a video file. EXIF data in a video file is non-standard for video files, but it hasn't stopped camera makers from shoving it in there. 
"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

wespe

Thanks!

Now I have to think about where to put the "2020:06:12 17:56:05" within the file "x.mp4" or outside of it.

Phil Harvey

The ability to edit EXIF in MP4 files is on my list of features to add to ExifTool.

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

wespe

Quote from: Phil Harvey on June 13, 2020, 07:43:17 AM
The ability to edit EXIF in MP4 files is on my list of features to add to ExifTool.

Thanks!

Is there any place where test file requests are given allowing users to contribute to the work?
Some list with entries like: "RAW picture, camera xy, settings A, B and C"

Phil Harvey

Thanks for the offer, but there's no such testing structure in place.  I have enough samples myself to do the testing... but too many actually, and that is why it has taken me so long to work on this -- there are so many different ways that this is written by various cameras, and it will take some time to work through them all.

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