aves icon indicating copy to clipboard operation
aves copied to clipboard

Edit metadata on videos

Open Donkey-Doug opened this issue 3 years ago • 3 comments

Editing the date and removing metadata does not work on videos. The buttons are greyed out.

Screenshot_20211012-210131_Aves

Donkey-Doug avatar Oct 12 '21 19:10 Donkey-Doug

Indeed, some features are limited to a few formats.

For now and the foreseeable future:

  • editing the date is limited to JPEG, PNG, WEBP, DNG,
  • removing metadata is limited to JPEG, TIFF.

edit: details on editing support by format on the wiki

deckerst avatar Oct 13 '21 00:10 deckerst

might it be possible to read/write the metadata to existing sidecar files? it would be nicer to have the metadata directly in the file, but this might be temporary solution.

Ingegneus avatar Jun 27 '22 08:06 Ingegneus

Fair suggestion, but I won't support sidecar files. Among other reasons is a technical one: sidecar files are not media content, so it's out of scope, as Aves is not a file manager.

But here, the real issue is that I'm dragging my feet to implement MP4 metadata edition. I should tackle it, but I got carried away with more interesting stuff instead!

deckerst avatar Jun 28 '22 06:06 deckerst

I spent a quite time analyzing all existing open source media managers - https://orange-pi-4-lts.blogspot.com/2022/09/ultimate-guide-to-linux-photo-media.html?m=1 - and even Digikam with all its recent move towards exiftool doesn't fully support that. If you implement this, you'll be the first hero ever.

kha84 avatar Oct 02 '22 17:10 kha84

@kha84 nice write-up. That kind of summary is always useful.

if you had any kind of GPS tracker with you, which was writing a .gpx track file.

Is that a use case for you? I thought about supporting this when i worked on location editing, but i personally don't need it and there was no explicit demand at the time.

As for videos, I've done some research and it seems writing metadata to MP4 could be done with simple libraries, but for other video formats only the big guns like exiftool or ffmpeg can handle them, and those heavy libraries are not an option for Aves.

deckerst avatar Oct 02 '22 22:10 deckerst

Reg .gpx tracks - nopes I don't need that. I just put that to my post (it's still unfinished) to be a bit more fair to a guy who developed that software. Because it's definitely has a usecase. But just not for me.

From features perspective, my own requirements are fullfilled by Aves at 90%. What I'm missing is:

a) a way to put metadata to my mp4 videos I'm occasionally shooting with my phone. This is the most wanted thing.

b) some kind of OpenCV thing to recognize faces on photos. This is highly desirable, but can wait.

If that will be done, Aves becomes just a golden standard of how these kind of apps should be made like. A digikam in your pocket

kha84 avatar Oct 02 '22 22:10 kha84

Set GPS location to videos using exiftool

exiftool -GPSAltitude="0" -UserData:GPSCoordinates="34.6363, 50.874900000000004, 0" -Rotation="0" -XMP:GPSLatitude="34.6363" -XMP:GPSLongitude="50.874900000000004" -GPSLongitudeRef="West" -GPSLatitudeRef="North" VID_20221006_094430.mp4

https://www.google.com/maps/@34.6363,50.874900000000004,21z cc: @deckerst

xmha97 avatar Oct 09 '22 23:10 xmha97

@xmha97 see https://github.com/deckerst/aves/discussions/230

deckerst avatar Oct 10 '22 07:10 deckerst

MP4 only, see wiki for support details.

deckerst avatar Oct 18 '22 22:10 deckerst