You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata reading and saving is only working for images. If the media is a video, an InvalidImageDataError error occurs when trying to write the metadata. I have a few suggestions regarding metadata handling:
Don't write metadata to the original file: Because uploaded files can be a PNG or GIF which don't handle metadata as JPG, or they can be MP4 videos, I propose we do not write the metadata to the original uploaded file. Just read the metadata during upload and never modify it again.
Handle video metadata reading and writing: I know that FFmpeg can pass -metadata arguments when processing. This can be a way to write the metadata to the file (although it'll be time-consuming). I took a brief look and found an IPTC standard for video metadata. Not sure if there's any library to read/write.
The text was updated successfully, but these errors were encountered:
Metadata reading and saving is only working for images. If the media is a video, an
InvalidImageDataError
error occurs when trying to write the metadata. I have a few suggestions regarding metadata handling:The text was updated successfully, but these errors were encountered: