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

add-metadata doesn't work when container is .webm #11116

Closed
Spenhouet opened this issue Nov 4, 2016 · 1 comment
Closed

add-metadata doesn't work when container is .webm #11116

Spenhouet opened this issue Nov 4, 2016 · 1 comment
Labels

Comments

@Spenhouet
Copy link

@Spenhouet Spenhouet commented Nov 4, 2016

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.11.02

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

If i download music with the following command, no metadata is saved:
youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "/Music/%(uploader)s/%(title)s.%(ext)s" --metadata-from-title "%(artist)s - %(title)s" --add-metadata https://www.youtube.com/watch?v=0sjR0-EG3BM

The problem is, that for --audio-quality 0 the initial container is allways .webm which can't contain metadata. Therefor the converted .mp3 also doesn't contain metadata.

A workaround is to add the following command: --format "bestaudio[ext=m4a]"

Then the metadata is saved correct in the .m4a file and therefor in the converted .mp3 file.

Searching for this problem i found multiple issues with the same or a similar problem:

Therefor i want to raise awareness to this bug and the workaround.

There is a issue with the same problem: #9730
There seems to be a fix but since 09.06.2016 there wasn't any activity. Was this bug forgotten?


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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.