[FFmpeg-user] Video recording date with ffprobe

Carl Zwanzig cpz at tuunq.com
Fri Dec 11 19:17:59 EET 2020


On 12/11/2020 6:34 AM, Mar Andrés López wrote:
> ffmpeg -i video.mp4 -v quiet -select_streams v:0 -show_entries stream_tags=creation_time -of default=noprint_wrappers=1:nokey=1

> But I want the time in which the video was recorded, should it be in the video metadata?
> Is that possible to retrieve this value with ffmpeg? A lot of thanks.

Using ffprobe, it looks like creation_time is just that-

     Metadata:
       creation_time   : 2016-08-20T18:58:50.000000Z
       handler_name    : ISO Media file produced by Google Inc.
     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, 
stereo, fltp, 125 kb/s (default)
     Metadata:
       creation_time   : 2016-08-20T18:58:50.000000Z
       handler_name    : ISO Media file produced by Google Inc.

cpz at moyasta MINGW64 ~
$ ls -l /d/video/Dill\ Pickles.mp4 
    -rw-r--r-- 1 cpz None 29535733 Jul  7  2017 '/d/video/Dill Pickles.mp4'

Note the different times of file vs metadata.


MediaInfo also reports-
Complete name                            : D:/video/Dill Pickles.mp4
Encoded date                             : UTC 2016-08-20 18:58:50
Tagged date                              : UTC 2016-08-20 18:58:50
(same dates in the General, Video, and Audio sections)

z!


More information about the ffmpeg-user mailing list