Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Adding metadata to audio files doesnt work #11047
Comments
|
Could you paste the whole output of this command:
Please paste as texts. Don't paste screenshots. |
|
@Tomhoogstra Could you try this:
|
|
The percentage sign in |
|
@yan12125 Yes, using this command It adds the meta deta correctly, and even converts it to wav like I wanted it to. |
|
Yeah. Windows is tricky. Closing as problem solved. |
|
This doesn't work for me.
The artist and other metadata is not set. |
|
@Spenhouet That's a known bug. See #5594 |
|
@yan12125 I did find out what's the problem: If the first downloaded file format is I added this command: Could be related to this: #9730 I created a new issue to raise awareness: #11116 |

Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.26. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Attempting to load extracted wav files into a java AudioInputStream but receiving an error due to the Bit rate and length properties not being present in the file.
A file converted on convert2mp3.net added the following properties to the file and it worked flawlessly


However, using youtube-dl, it retrieves a file with the following properties
Is there an argument to add this kind of information to a downloaded video? I tried a view such as meta data.
If there isn't would it be possible to add?
Thanks, keep up the good work.
Edit: Done some more digging, --add-metadata tag mentions that is adds the metadata for videos, but I tried it for audio anyway with no success. Decided to check the output when running it, and apparently using the following settings
"youtube-dl.py https://www.youtube.com/watch?v=6Cp6mKbRTQY --add-metadata --extract-audio --audio-format wav --output /Songs/6Cp6mKbRTQY.wav", the following error pops up at the very end.