-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: read & write metadata from/to video files #1034
Comments
Geeqie uses exiv2 for exif metadata. If Exiv2 handles it, so should Geeqie. Geeqie can use sidecars to store metadata for any file, if you set that up on |
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. |
There is some work going on to support video in exiv2: Exiv2/exiv2#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: Exiv2/exiv2#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. |
Thanks, @kha84, there are a couple of Digikam release notes covering this - I did not see this before. |
After setting
Usually on picture files I can see the Exif tag when adding Exif.Image.Artist, but not on MP4 video files. |
I downloaded this file: Executed: Renamed Running Geeqie, the Exif Window shows the correct data in the tag It looks like |
I've added the Key |
Yes, I can. Also: |
I see, I guess I know what it is: So xmp isn't built in, I guess I'll need that. Now I've rebuilt with (exif ffmpegthumbnailer heif jpeg lcms map pdf spell tiff xmp zip -debug -djvu -jpeg2k -jpegxl -lua -raw -webp LUA_SINGLE_TARGET="-lua5-3 -lua5-4") |
Do you have |
I'm not sure. these are the installed packages:
Moreover about other available but not installed packages, beside perl, python and ruby libs, I only see:
|
It should be |
I just checked @caclark procedure on my machine and it doesn't work.
I have exiv2-0.28.3 which is the most recent as far as I can tell and all relevant options seem to be compiled in. |
This is the data I see:
|
That's quite surprising as it was 0.28 which was supposed to re-introduce video support to exiv2 according to the changelog https://exiv2.org/whatsnew.html Maybe some filetypes got broken in the process, were more or less correctly processed as |
Sorry..... to add:
|
Please disregard my previous comments, I was stupid enough to grab the file you linked with
and a lot more, but no Artist tag. So, I don't know if it is a regression in exiv2 or if exiftool puts the tag incorrectly. Exiv2 somehow reads this tag assuming it is an image, not a video. |
Thanks for investigating, so this would rather be an upstream bug for https://github.com/exiv2/exiv2 or https://exiftool.org ? |
My guess without looking at the code is that it is regression in Exiv2 and should be reported there. |
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:
The text was updated successfully, but these errors were encountered: