Feature request: read & write metadata from/to video files
Exiftool is fully capable to read&write GPS, dates, tags from/to lot of video file formats. With smartphones in our pockets, I don't believe everyone is just shooting still photos and they don't care how their video footage is taken care later at home with Geequi.
Ideally, with videofiles Geequie should do pretty much the same, what it does with still photos:
- to consider EXIF dates from them to sort them properly
- to get GPS information and show that on map
- to write GPS back to file, if you dragged videofile on map
- to make video file "keywords" (like "Subject" EXIF tag) to be displayed in a right-hand-side pane / written back to file if changed - the same how it's done for photos
Geeqie uses exiv2 for exif metadata. If Exiv2 handles it, so should Geeqie. Do you have a sample clip with GPS and date data?
Geeqie can use sidecars to store metadata for any file, if you set that up on edit/preferences/file filters
Sure, I'll check that with exiv2. Before, I was checking everything with exiftool, and it was capturing everything / writing back just perfectly fine.
Why don't you use exiftool?
I don't like sidecar files. To me, they're useless garbage, whose sole purpose if creation was to bloat your system and be forgotten :) if the very same meta information can be read from / written to media files, why would one use them?
Yeah just checked that. Exiv2 is unable to read the tags with GPS from my mp4 videos, while exiftool does that just perfectly fine. You know, you gave me an idea - I might need to check the most recent version of that exiv2 lib
Nah it's the same thing with the most recent exiv2.
The bad thing is, a lot of apps are still using exiv2, and exiv2 is kind of dying one. It lacks support of so many photo and video formats. You should really consider to switch from it to exiftool, even though it brings perl as a dependency, it's a fair price to pay to get all these additional support. And nowdays, bringing perl as a dependency is not a big deal - it's like bringing bash as a dependency - everyone should have it.
exiv2 seems to be significantly dependent on one person, but the same is true of exiftool and geeqie. However, exiftool does have a c++ interface - https://exiftool.org/cpp_exiftool/
There is some work going on to support video in exiv2: https://github.com/Exiv2/exiv2/issues/1748. Apparently in the past there was some support for video files but it was removed. Now apparently they try to restore some of it.
Exiv2 is no longer dependent on one person from my observation - the guy retired from the project and other people are now handling the library.
Exiv2 also has other problems, for example it doesn't handle writing to BMFF tags: https://github.com/Exiv2/exiv2/issues/2349. It affects e.g. AVIF and HEIF formats.
Sure. The past is dark, the future is bright, just need to wait for it. I get that. But even Digikam is migrating to exiftool.
Anyways thanks for your efforts. I'd really love to see proper metadata support for videos in this app, so ppl like me who do care not only about their photos but videos as well, would have more options to choose from.
even Digikam is migrating to exiftool.
Thanks, @kha84, there are a couple of Digikam release notes covering this - I did not see this before.