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

Error Unable to assign attachments because the container object has not been initialized #74

Closed
hunandy14 opened this issue Sep 24, 2021 · 6 comments

Comments

@hunandy14
Copy link

hunandy14 commented Sep 24, 2021

I want to use the command to change the thumbnail, what should I do?
(graphical interface can be successfully changed.)

thank you

image

@Martchus
Copy link
Owner

The error message is certainly confusing but I'm afraid you cannot set attachments in MP4 files in general. Attachments are in fact only implemented for Matroska files and I don't think the MP4 format itself supports attachments anyways. If you would like to set a cover, just set it as tag value. The cover should then also be recognized by other applications.

@Martchus
Copy link
Owner

By the way, there's already #55 which is about streamlining adding covers to Matroska files so one could also add a cover to Matroska file by setting the tag value and would not have to use different commands depending on the file format. However, I have not implemented it yet.

@hunandy14
Copy link
Author

If you would like to set a cover, just set it as tag value.

What i want to do is this.
image

can give me an Command line example?

@Martchus
Copy link
Owner

Something like tageditor set cover=/the/cover.jpg -f /the/file.mp4 should work. Also checkout --help and the README.

@hunandy14
Copy link
Author

succeeded!!!
thank you very much. ♪(´▽`)♪(´▽`)♪(´▽`)

@Martchus
Copy link
Owner

Glad to help and I guess I should improve the error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants