write time/date and other metadata to video files
Submitted by Adam Dingle
Link to original bug (#717010)
Description
---- Reported by adam@yorba.org 2010-11-19 06:02:00 -0800 ----
Original Redmine bug id: 2851
Original URL: http://redmine.yorba.org/issues/2851
Searchable id: yorba-bug-2851
Original author: Adam Dingle
Original description:
Just as we're planning to read the time/date from video files (#2837 (closed)), we'd also like to be able to update the time/date in these files when the user adjusts it in Shotwell, just as we do for photo files.
Related issues:
- related to shotwell - Feature #1879 (closed): Metadata in sidecar file (Open)
- duplicated by shotwell - Feature #5708: Changing the time video (Duplicate)
- duplicated by shotwell - Feature #3688: Write metadata in video file (Duplicate)
---- Additional Comments From shotwell-maint@gnome.bugs 2013-10-14 05:06:00 -0700 ----
History
Comment 1
Updated by Adam Dingle almost 3 years ago
- Priority set to High
Comment 2
Updated by Adam Dingle over 2 years ago
- Target version set to 0.10
Comment 3
Updated by Adam Dingle over 2 years ago
-
Target version deleted (
<strike>
_0.10_</strike>
)
Comment 4
Updated by Adam Dingle about 2 years ago
- Description updated (diff)
- Priority changed from High to Low
I'm less enthusiastic about this than I once was. We'd really like to migrate to using GStreamer for reading metadata from video files since we'd rather not be in that business. And it seems unlikely that GStreamer wil be able to write a date/time back to video files any time soon.
Comment 5
Updated by Gosset Inofensiu over 1 year ago
- Description updated (diff)
- Priority changed from Low to Normal
I would love to be able to add metadata to my videos since I organize all my photos and videos with Shotwell. If this feature is not implemented, whenever I import all photos/videos from another computer, I have to put the date and tags to the videos again :(
Comment 6
Updated by percherie percherie about 1 year ago
Change dates video seems complex to achieve. If Shotwell does, what solution on linux can do to change them by hand?
Comment 7
Updated by rv - about 1 year ago
Changing video dates is not complex : the code to read it exists in VideoMetadata.vala, and a write function is obvious. But integrating it to the mechanism of metadata update within shotwell seems cryptic to me...
I need such a function because my videos are always at the wrong time (maybe a bug in the camera). My wife and I share the same repository, so I have to change the time first in my account and second in her account... and if in the future I may need to reimport, it will be a mess to correct all video dates (not always the same timeshift). Maybe an external tool would be easier to do as a temporary workaround.
Comment 8
Updated by Jim Nelson 11 months ago
- Subject changed from write time/date to video files to write time/date and other metadata to video files
- Category set to video
Writing date/time reliably to all video formats is not easy at all. Additionally, some container formats require writing the metadata to a specific location in the file, which may require creating a copy of the file with the metadata and then deleting the old file. Exiv2 does this for photo files, which isn't a big deal when a file is only a couple of megabytes. If we're talking about a 4GB video, it becomes a bigger challenge.
I'd like to expand this ticket to incorporate writing all metadata to the video, including date/time, and to open up the possibility of doing so using an XMP sidebar file rather than writing the metadata directly to the video.
Comment 9
Updated by rv - 10 months ago
Using XMP sidecar files is interesting but (some) manufacturers of cameras made a different choice that's also interesting.
Instead of a XMP sidecar file, they use a small JPEG sidecar file. The JPEG is used for handling the metadata and the thumbnail for the video. For the moment, shotwell imports both files as if they weren't the same thing (with different date/times if you're hit by the bug on gstreamer and the bad quality jpeg file looks ugly during a slideshow...)
That choice could be interesting because shotwell already uses that system for RAW photos handling (I don't have RAWs so it's just as I understand the feature of paired RAW+JPEG). Maybe this already implemented system could "just" be extended to paired videos+JPEG with few modifications.
If the camera doesn't produce a jpeg sidecar file, shotwell could generate it but it has to be discussed.
PS : It would be strange for me to have 3 files for each video :
- one video file,
- one jpeg file with thumbnail and original metadata,
- and one XMP file with modified metadata.
Comment 10
Updated by Jim Nelson 10 months ago
That's an interesting point, rv. We'll keep it in mind when we start designing this feature.
Comment 11
Updated by rv - about 1 month ago
I would really like this feature to happen one day. I have ~20000 photos and ~1000 videos. All videos have a wrong date/time.
Each time I import videos, I need to change the time in shotwell on my personnal account, then on my wife's account, ideally on my backup USB disk (but I don't), and probably one day on my children's accounts... Now I'm used to do that, but it's not really funny. Could that enhancement be a candidate for 0.17?
Thanks for all
--- Bug imported by chaz@yorba.org 2013-11-25 21:48 UTC ---
This bug was previously known as bug 2851 at http://redmine.yorba.org/show_bug.cgi?id=2851
Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution
Resolution: RESOLVED OBSOLETE