ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: fotoschubser on August 14, 2016, 12:23:04 PM

Title: CreateDate: 0000:00:00 00:00:00 caused by ffmpeg or exiftool
Post by: fotoschubser on August 14, 2016, 12:23:04 PM
Hi,

I convert my home videos from *.mts to *.mp4 using ffmpeg:

ffmpeg -i input.mts -map_metadata 0 -c:v copy -c:a libfdk_aac -vbr 5 output.mp4


Unfotunately -map_metadata does not help a lot. The *.mts files have a DateTimeOriginal tag but no CreateDate tag.
The resulting *.mp4 files have CreateDate: 0000:00:00 00:00:00 but no DateTimeOriginal.

So my question is: Does ffmpeg write this "CreateDate: 0000:00:00 00:00:00" or does exiftool show me this tag because it is expected but not present in a mp4 container ?

Situation stays the same if I don't use the -map_metadata option.

Kind regards
fotoschubser
Title: Re: CreateDate: 0000:00:00 00:00:00 caused by ffmpeg or exiftool
Post by: Hayo Baan on August 14, 2016, 01:44:06 PM
If exiftool shows you a tag, that means the tag is present. It will, however usually format the tag content. Use the -n command line option or add a # after the tag name to get the unformatted value.
Title: Re: CreateDate: 0000:00:00 00:00:00 caused by ffmpeg or exiftool
Post by: Phil Harvey on August 15, 2016, 07:54:43 AM
I have seen this before -- video equipment or software that writes zero date/time values to MP4 files.

- Phil