Open subyraman opened 3 years ago
+1.... it would be nice if it can at least be copied over into an XMP sidecar file recognized by digiKam or something like that, even if the MP4 file itself isn't amended with metadata (which would be the best solution).
Interesting reading. I'll have to do a bit more research
ffmpeg looks like it can do a bit
https://write.corbpie.com/adding-metadata-to-a-video-or-audio-file-with-ffmpeg/
ffprobe is telling me my phone makes videos with the following meta data, so looks do-able.
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2022-09-12T03:09:45.000000Z
location : +-lat+-lon/
location-eng : +-lat+-lon/
com.android.version: 12
Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt470bg/bt470bg/smpte170m, progressive), 1920x1080, 20011 kb/s, 29.74 fps, 30 tbr, 90k tbn (default)
Metadata:
creation_time : 2022-09-12T03:09:45.000000Z
handler_name : VideoHandle
vendor_id : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2022-09-12T03:09:45.000000Z
handler_name : SoundHandle
vendor_id : [0][0][0][0]
It seems like metadata such as the geolocation, aperture, etc are not included in the extracted video. Can all metadata be copied over?