I have another question about "media created".
Would you be able to grab from these date tags in MP4 and MKV videos? I understand each stream and wrapper might have its own date, so I leave it to you to choose which one to grab from. They're usually always identical.
as reported by ffprobe (from ffmpeg)
Code: Select all
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'xyzzy.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2018-06-20T10:13:55.000000Z
title : xyzzy
encoder : Lavf57.83.100
comment : xyzzy
Duration: 00:27:27.71, start: 0.000000, bitrate: 2728 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1424x1080 [SAR 1:1 DAR 178:135], 2500 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
Metadata:
creation_time : 2018-06-20T10:13:55.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 224 kb/s (default)
Metadata:
creation_time : 2018-06-20T10:13:55.000000Z
handler_name : SoundHandler
vendor_id : [0][0][0][0]
and
Code: Select all
Input #0, matroska,webm, from 'plugh.mkv':
Metadata:
encoder : libebml v1.3.1 + libmatroska v1.4.2
creation_time : 2017-02-23T13:49:35.000000Z
Duration: 00:15:36.27, start: 0.000000, bitrate: 7977 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 960x720 [SAR 1:1 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Metadata:
BPS : 6466134
BPS-eng : 6466134
DURATION : 00:15:36.269000000
DURATION-eng : 00:15:36.269000000
NUMBER_OF_FRAMES: 22448
NUMBER_OF_FRAMES-eng: 22448
NUMBER_OF_BYTES : 756755210
NUMBER_OF_BYTES-eng: 756755210
_STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
_STATISTICS_WRITING_DATE_UTC: 2017-02-23 13:49:35
_STATISTICS_WRITING_DATE_UTC-eng: 2017-02-23 13:49:35
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Metadata:
BPS : 1508999
BPS-eng : 1508999
DURATION : 00:15:36.235000000
DURATION-eng : 00:15:36.235000000
NUMBER_OF_FRAMES: 87772
NUMBER_OF_FRAMES-eng: 87772
NUMBER_OF_BYTES : 176597264
NUMBER_OF_BYTES-eng: 176597264
_STATISTICS_WRITING_APP: mkvmerge v8.3.0 ('Over the Horizon') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.3.0 ('Over the Horizon') 64bit
_STATISTICS_WRITING_DATE_UTC: 2017-02-23 13:49:35
_STATISTICS_WRITING_DATE_UTC-eng: 2017-02-23 13:49:35
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Everything currently does not handle either of these meta dates, per the Preview column under Select Property.
Correction, Everything DOES populate "Date Acquired" with the mkv "creation_time" or "_statistics_writing_date_utc" tags. Not so with the mp4 "creation_time" tags. I'm not sure why "Date Acquired" instead of "Media Created" though.