Skip to content
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: Metadata Updating #103

Open
rsdr opened this issue Apr 30, 2024 · 1 comment
Open

feature: Metadata Updating #103

rsdr opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
feature-request issue is suggesting a new feature or a change to an existing feature help wanted issue could use an extra pair of hands low-priority issue is not important and likely won't get resolved soon

Comments

@rsdr
Copy link

rsdr commented Apr 30, 2024

Might be over-thinking this or missing a better method.
ffmpeg does not let you overwrite metadata within a file without a creating a temporary file first and then using mv (Linux) or move (Windows). Currently the solution to adding metadata/overwriting/updating would be to strip all metadata via temporary codec copy, mv or move the original file to the temporary, then use stored tags within the metadata function to assign the proper filename and tags. Either way, it seems like there's a requirement to replace the file with a new instance, not just rewriting the file from ffmpeg.
Wessie asked for a function for this, I gave it some thought and have a general outline. Unlikely to be done yet but it's a start.

@Wessie
Copy link
Contributor

Wessie commented Apr 30, 2024

a copy and then a move is more preferable anyway for if something goes wrong in the writing. All of that can be handled on the Go side so if we can just get the metadata into a file it should be good

@Wessie Wessie added feature-request issue is suggesting a new feature or a change to an existing feature help wanted issue could use an extra pair of hands low-priority issue is not important and likely won't get resolved soon labels May 9, 2024
@Wessie Wessie assigned kipukun and rsdr and unassigned kipukun May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request issue is suggesting a new feature or a change to an existing feature help wanted issue could use an extra pair of hands low-priority issue is not important and likely won't get resolved soon
Projects
None yet
Development

No branches or pull requests

3 participants