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@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!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to