Quick Command for Finding Date/Time Metadata in Many Video Files

The following command has served me well in finding date/time metadata on various AVI/MP4 videos:

ffmpeg -i /path/to/video.mp4 -dump

Note: as mentioned in other answers, there is no guarantee that such information is available in all video files or available in a specific format.

Abbreviated Sample Output for Some AVI File

    Metadata:
      Make            : FUJIFILM
      Model           : FinePix AX655
      DateTime        : 2014:08:25 05:19:45
      JPEGInterchangeFormat:     658
      JPEGInterchangeFormatLength:    1521
      Copyright       :     
      DateTimeOriginal: 2014:08:25 05:19:45
      DateTimeDigitized: 2014:08:25 05:19:45

Abbreviated Sample Output for Some MP4 File

  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2018-03-13T15:43:24.000000Z
Answer from Chriki on Stack Overflow
Top answer
1 of 10
25

Quick Command for Finding Date/Time Metadata in Many Video Files

The following command has served me well in finding date/time metadata on various AVI/MP4 videos:

ffmpeg -i /path/to/video.mp4 -dump

Note: as mentioned in other answers, there is no guarantee that such information is available in all video files or available in a specific format.

Abbreviated Sample Output for Some AVI File

    Metadata:
      Make            : FUJIFILM
      Model           : FinePix AX655
      DateTime        : 2014:08:25 05:19:45
      JPEGInterchangeFormat:     658
      JPEGInterchangeFormatLength:    1521
      Copyright       :     
      DateTimeOriginal: 2014:08:25 05:19:45
      DateTimeDigitized: 2014:08:25 05:19:45

Abbreviated Sample Output for Some MP4 File

  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2018-03-13T15:43:24.000000Z
2 of 10
7

There doesn't seem to be a well defined standard for video metadata (compared to photos and audio files, which have EXIF and ID3/etc. respectively)

Some tags exists like e.g. Title, Composer etc. You can see those if you select a movie file in Windows 7 (perhaps earlier versions also) explorer or right click and view properties. I have not found a tag for recording date unfortunately - the closest thing available is Year (integer) :-(

Programatically, you can read and write most of these tags in .NET using Taglib Sharp from the mono project. Source and binaries are available on the banshee FTP server. It has a pretty impressive list of formats it supports (but still, make sure you catch exceptions when trying to read or write tags - it will throw whenever it finds a file it cannot understand, something which happened to me several times for my modest collection of home recordings.)

To read tags:

using (var f = TagLib.File.Create(@"c:\Path\To\MyVideo.mp4"))
{
    if (f.Tag != null)
    {
        string title = f.Tag.Title;
        Size resolution = new Size(f.Properties.VideoWidth, f.Properties.VideoHeight);
        int year = f.Tag.Year;
        // etc.
    }
}

And similarly, to write metadata back to the file:

using (var f = TagLib.File.Create(@"c:\Path\To\MyVideo.mp4"))
{
    f.Tag.Title = "My Awesome Movie";
    f.Tag.Year = (uint)2011;
    f.Save();
}
🌐
Chrome Web Store
chromewebstore.google.com › detail › show-youtube-video-upload › amdebbajoolgbbgdhdnkhmgkkdlbkdgi
Show YouTube Video Upload Date - Chrome Web Store
Free and paid version replaces dates on all pages: - Video page description - Video page sidebar - Search page - Topic sidebar in search - Homepage videos - Subscription page - Channel page home - featured video - Channel page home - For You videos - Channel page home - playlist videos - Channel page videos - Channel page video search - Playlist videos - Explore pages - Music, Gaming, News, Sport Free and paid features: - Replace all relative dates with full dates in local format - Option to show relative date if video was published less than a specified number of days ago Paid features: - Sho
🌐
Reddit
reddit.com › r/youtubers › recording date & location - location & date when recorded, or relevant to the subject matter?
r/youtubers on Reddit: Recording Date & Location - Location & Date when recorded, or relevant to the subject matter?
November 15, 2023 -

I post missing person and true crime videos based on recent articles of recent crimes / missing persons.

On the Recording Date & Location section, i've been selecting todays date - but the crime would not necessarily have occured on todays date, could have happened recently or perhaps years ago.

I've also not been selecting my address but the address (city) of where the crime occurred or where the missing person is missing from etc.

This means that when I post multiple videos (shorts / longs) on the same day, as is frequently the case, they'll have widely varied locations mentioned.

Is this the right approach? Is there the potential that this causes issues, that youtube feels i'm not using that section correctly and might punish me for it?

Where possible I try to have a hashtag of the location in the video title, and in keyword tags

🌐
FlexClip
flexclip.com › learn › add-timestamp-to-video.html
How to Add Timestamp to Videos/Photos Already Taken - FlexClip
One of these many unique features ... its branding feature to work on multiple pictures, thus add datestamps in batch, and check how to: ... Access the FlexClip video editor, and upload your photos from the local file from your computer or your mobile phone....
🌐
LinkedIn
linkedin.com › learning › java-8-for-professionals › localdate-localtime-and-localdatetime
LocalDate, LocalTime, and LocalDateTime - Java Video Tutorial | LinkedIn Learning, formerly Lynda.com
All right, and let's go ahead and create yet another LocalDate. But this time, instead of going to create with the number of the month, I'm going to use the Ename. So I'm going to say local date of and then again let's just go ahead and pick 2022, go for December and let's pick December 25, there we go.
Published   September 9, 2022
Views   8K
🌐
FutureLearn
futurelearn.com › home › blog
Local date and time
October 25, 2022 - In this video Mayur Deshmukh from De ZINNIA Learning demonstrates how to do local date and time operations with LocalDate, LocalTime and LocalDateTime
🌐
W3Schools
w3schools.com › java › java_date.asp
Java Date and Time
To display the current date and time, import the java.time.LocalDateTime class, and use its now() method: import java.time.LocalDateTime; // import the LocalDateTime class public class Main { public static void main(String[] args) { LocalDateTime ...
Find elsewhere
🌐
ExifTool
exiftool.org › forum › index.php
video creation date in local datetime
Due to high forum load from overly aggressive AI bots, only registered members are currently allowed access. Please login below or sign up for an account with ExifTool Forum Log in Username: Password: Time to stay logged in: Forever 1 Hour 1 Day 1 Week 1 Month · Forgot your password
🌐
YouTube
m.youtube.com › watch
#1. Learn About LocalDate of Java in 5 Minutes
Share your videos with friends, family, and the world
Published   March 11, 2022
🌐
Blackmagic Design
forum.blackmagicdesign.com › viewtopic.php
Blackmagic Forum • View topic - displaying the date and time throughout a video
To show the date, go to WORKSPACE>DATA BURN IN Select CUSTOM TEXT 1 In the box type �te and choose DATE MODIFIED Or you could could use the text generator for the date as it would not change very often. As for time, if your camera records time code, use free run and set the code to the same ...
Top answer
1 of 2
3

Jesper has already given you short answers to your questions.

The no-arg method LocalDate.html#now obtains the current date from the system clock in the default (system) time-zone. Therefore, when you print LocalDate.now() in Madrid, India and New York, at the same time, you may get different results (depending on what time you do it).

Demo:

import java.time.LocalDate;
import java.time.ZoneId;

public class Main {
    public static void main(String[] args) {
        System.out.println(LocalDate.now(ZoneId.of("Europe/Madrid")));
        System.out.println(LocalDate.now(ZoneId.of("Asia/Kolkata")));
        System.out.println(LocalDate.now(ZoneId.of("America/New_York")));
    }
}

Output:

2022-09-28
2022-09-29
2022-09-28

Note: to understand this difference, check the output of the following program:

import java.time.LocalDateTime;
import java.time.ZoneId;

public class Main {
    public static void main(String[] args) {
        System.out.println(LocalDateTime.now(ZoneId.of("Europe/Madrid")));
        System.out.println(LocalDateTime.now(ZoneId.of("Asia/Kolkata")));
        System.out.println(LocalDateTime.now(ZoneId.of("America/New_York")));
    }
}

Result:

2022-09-28T21:03:56.438167
2022-09-29T00:33:56.443577
2022-09-28T15:03:56.444049

However, a LocalDate object does not store the time-zone information. Therefore, when you print an object of LocalDate (i.e. LocalDate#toString), the printed value will remain the same irrespective of the system time-zone.

A java.util.Date object too does not store the time-zone information. It stores the number of milliseconds from January 1, 1970, 00:00:00 GMT. However, when you print an object of java.util.Date (i.e. Date#toString), it uses the default (system) time-zone to print the value i.e. if you print an object of java.util.Date on systems with different time-zones set to them, you will get different results.

2 of 2
0

I don't think Question # 4 was answered well. I think it is obvious to Jasper and others but not so obvious to me and I think OP.

LocalDateTime.now() will use either system clock or provided timezone to determine what "now" is, but then removes the time zone reference. It is impossible to determine what original time zone was used to create the LocalDateTime object.

That had me wondering how does LocalDateTime.atZone(ZoneId.of("Europe/Madrid")) properly convert the LocalDateTime to Europe/Madrid timezone if there is no time zone reference point to convert from? For example, if LocalDateTime is 2022-09-28T21:03:56, how can it then convert that to Europe/Madrid when it does not understand what time zone the date/time it holds originated from?

The solution is obvious now. It doesn't convert and it does not try to figure out what timezone it originated from. It just appends the timezone specified to the date/time it has.

So if a LocalDateTime object has a value of 2022-09-28T21:03:56, then LocalDateTime.atZone(ZoneId.of("Europe/Madrid")) instantiates a ZonedDateTime object with a value of 2022-09-28T21:03:56+01:00. Notice there is no change other than adding the +01:00 offset in use by the people of that time zone at that moment.

If that particular time-of-day does not exist in that time zone at that moment, such as during a Daylight Saving Time (DST) cutover, the time-of-day in the new ZonedDateTime is adjusted logically.

After I understood those two points it was all really clear how it worked.

Hope this helps someone else that this was not that obvious for.

🌐
OBS Forums
obsproject.com › home › forums › resources › scripts
local date and time | OBS Forums
2 weeks ago - GeeKPhane submitted a new resource: local date and time - displays the local date and time on your computer according to your chosen format. Installation: Download the file and then paste it into the folder C:\Program Files\obs-studio\data\obs-plugins\frontend-tools\scripts Open OBS, go to...
🌐
Online Converter
onlineconverter.com › add-timestamp-to-video
Add Timestamp to Video: Watermark Video With Date/Time Stamp Or Timecode (Free)
Minute:Second, if you select the "Custom" value in the "Time" option and set the time to "00:00:00", the tool will show 00:00, 00:01, 00:02 ...... , and so on, just like a digital clock. ... Before Time, display the text first, then the date and time.
🌐
Localdate
localdate.in
Make Friends
Make Friends Easy · Your browser does not support the audio element · PLAY Audio msg from your partner · Want to have some Real Fun, Millions of Members Already Joined.Sign Up Today an make friendship peoples Near You.Let's catch up over some wine and burger · ENTER · Contact Us Terms ...
🌐
Stack Exchange
video.stackexchange.com › questions › 37529 › proper-timestamps-for-videos
android - Proper timestamps for videos - Video Production Stack Exchange
For videos, not so much. I used exiftool -G1 -a -s to extract the metadata. I came to the conclusion, that QuickTime:CreateDate and QuickTime:ModifyDate are the tags I need to investigate. There are also Track1..x:CreateDate and Track1..x:ModifyDate but which all seem to inherit their date from the QuickTime values.
🌐
Trevor Fox
trevorfox.com › tools › tiktok-video-date-extractor
TikTok Video Date Extractor: How to See the Exact Date of a TikTok ...
Our API processes the TikTok video URL and extracts the video ID, then retrieves the precise timestamp when the video was uploaded to TikTok's servers. This information is not readily visible in the standard TikTok interface, making it valuable for research, verification, and analysis purposes. Once we have the timestamp, it is converted into two date formats: UTC and the browser's local time, providing both a universal and localized perspective on when the video was originally uploaded.
🌐
Apple Community
discussions.apple.com › thread › 255761949
video "media created" time incorrect when… - Apple Community
Image dates are local time but QuickTime based movie (.mp4, .m4v, .mov) dates should be UTC and the applications should convert them to the computer's local time. Time zones are the flies in the ointment. Windows might report dates and metadata to its own liking. https://exiftool.org/forum...
🌐
The Hindu
thehindu.com › entertainment › movies › local-times-prime-video-sets-premiere-date-for-the-tamil-comedy-drama-series › article70711550.ece
‘Local Times’: Prime Video sets premiere date for the Tamil comedy-drama series - The Hindu
1 week ago - India World Movies Sport Data Health Opinion Science Entertainment Premium ... On March 6, 2026, streaming service Prime Video announced the premiere date of the upcoming Tamil comedy-drama series, Local Times.