Video date

Server Version#: 1.18.1.1973
Player Version#: browser

What metadata does Plex use for dating a video? I have added several home videos and the dates are off. For example, I set the file and created dates to something like 12/25/1995 but Plex reports it as a video from 2010.

Your videos have an embedded date in them on when it was created. Plex will use this info, not the file date. So if you forgot to set the clock on your camera, all the dates can be off.

Also,if you converted the videos from another format, some conversion programs will assign the conversion date as the creation date instead of reusing the original.

Thank you. Is there a way to set this metadata after the video has been created? I am a software engineer and could write an app to set it if there’s more detail about where in the file it’s located and what format the date is in.

I’m not sure if the creation date is something that can be changed. If it can, then it would depend on the type of file too. There is a tool called MkvPropEdit that lets you edit metadata in an MKV file. If it works, this can be done as a command line so you could probably script it. For other formats there is a program called MP3Tag. It was designed for music files but can edit video files too.

I think I got this working. I used ffmpeg to remux an mp4 and set the creation time as follows:

./ffmpeg -i ‘.\foo.mp4’ -metadata creation_time=“1944-04-03 00:00:00-00” -codec copy ‘.\newfoo.mp4’

Then, I used an app, FileDate Changer to set the Windows Created Date and Modified Date to the same date above.

Then, copied into folder for Plex server to index, and voila, it shows the proper year.

I am writing a Windows PowerShell script to do this, and if anyone needs it, I can provide it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.