Exiftool: Add command params to fix time zone for videos #1388 #1401

This also enables large file support to read metadata from
movie length video files.
This commit is contained in:
Michael Mayer 2021-07-08 18:33:41 +02:00
parent 4a2e4fc99f
commit aa119c72ea

View file

@ -144,7 +144,7 @@ func (c *Convert) ToJson(f *MediaFile) (jsonName string, err error) {
log.Debugf("exiftool: extracting metadata from %s", relName)
cmd := exec.Command(c.conf.ExifToolBin(), "-j", f.FileName())
cmd := exec.Command(c.conf.ExifToolBin(), "-api", "QuickTimeUTC=1 LargeFileSupport=1", "-j", f.FileName())
// Fetch command output.
var out bytes.Buffer