XMP start timecode to file

Started by delor, August 26, 2024, 07:26:18 PM

Previous topic - Next topic

delor

I'm trying to write xmpDM:startTimecode into an .mp4 file in an effort to see if I can get Adobe Premiere to show that timecode.  I tried the command

exiftool -xmp-xmpdm:StartTimecode="15:20:37:47" -xmp-xmpdm:TimeFormat="5994NonDropTimecode" /Users/delor/Desktop/fleks.mp4
But it appears to be improperly formatted.  I'm trying to get a readout like
    'xmpDM:startTimecode': {
        'xmpDM:timeFormat': '5994DropTimecode',
        'xmpDM:timeValue': '15:20:33;30'
    }

Phil Harvey

exiftool -starttimecode="{timeformat#=5994DropTimecode,timevalue=15:20:33;30}" FILE

The "#" is necessary because you want to write the unconverted value for timeFormat.

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