mifi / lossless-cut

The swiss army knife of lossless video/audio editing
https://losslesscut.app/
GNU General Public License v2.0
28.23k stars 1.37k forks source link

When importing LosslessCut videos into Lightroom, the time is not adjusted for the UTC offset. #1297

Open DZUCKER opened 2 years ago

DZUCKER commented 2 years ago

I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first

Operating System

Windows 11

Steps to reproduce

For example if I shot a video at 13:00 pm on Sept 04. The Encoded date: will have a value of UTC: 2022-09-04 17:00:00. Which is fine because if I import that video straight from the camera (Canon R5) without first using LosslessCut. The video will have the correct timestamp of 2022-09-04 13:00:00 in Lightroom. But if I use LosslessCut before importing, the timestamp will be equal to the UTC value without the offset, so in my case 4 hours ahead as I live in EST.

The solution I found was to simply use an old program called "EXIF Date Changer" and Adjust the time by 0.

image

Not sure what this does to the file? Does it add a EXIF:DateTimeOriginal value maybe? But I do notice that if I check the MediaInfo data of the file afterwards, it adds a Recorded date: Value under the General tab. Note that the original Canon file does not have this Recorded date and this file works fine too.

image image image

Expected behavior

LosslessCut files should import into Lightroom with the correct date and time.

Actual behavior

LosslessCut files appear 4 hours ahead after importing them in Lightroom.

Share log

No response

Freso commented 9 months ago

Not sure what this does to the file? Does it add a EXIF:DateTimeOriginal value maybe? But I do notice that if I check the MediaInfo data of the file afterwards, it adds a Recorded date: Value under the General tab. Note that the original Canon file does not have this Recorded date and this file works fine too.

Does the Windows MediaInfo program have any way to save the info as a text file? It might be interesting to run a diff against the three file versions. Maybe the introduction of location or creation_time or timecode throw Lightroom off? The EXIF Date Changer clearly breaks the metadata (Tagged date is given as 16:18 UTC when it is local time) which isn’t great, but I don’t see any wrong data in the screenshot of the LlC output file, so not sure why Lightroom is not having it. Being able to do a proper textual diff might shine light on something that isn’t immediately obvious with our human eyes.

mifi commented 9 months ago

related #1027