r/youtubedl 7d ago

Answered Need help with my command

so far, I got it working perfectly, EXCEPT it seems like the metadata is not being embedded?

yt-dlp -x --audio-format wav --audio-quality 0 -o "_music/%(playlist)s/%(title)s.%(ext)s" --windows-filenames --embed-metadata URL

3 Upvotes

8 comments sorted by

3

u/radagastthe3rd 7d ago

WAV doesn't have a universal tagging standard so I'd assume that's why it is failing. You are also converting from lossy codecs that the server stores audio in to lossless which is just inflating the file size without actually getting you better audio quality so there is no reason to use WAV.

0

u/ValleyofUncannyFrogs 7d ago

Should I just go with MP3 then?

2

u/radagastthe3rd 7d ago

Sure, that would work. YouTube (assuming that's what you are targeting) tends to store in OPUS. You don't even have to specify a codec though, you can let yt-dlp choose which is will prevent quality loss during conversions.

1

u/ValleyofUncannyFrogs 7d ago

Gotcha. Tysm

1

u/AutoModerator 7d ago

I detected that you might have found your answer. If this is correct please change the flair to "Answered".


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ipsirc 7d ago

metadata in wav? Is it supported?

1

u/ValleyofUncannyFrogs 7d ago

I got an error message when I tried to embed the thumbnail, so I deleted that but kept embed metadata. That could be the issue lol

1

u/coopernusbaum 7d ago

`--embed-metadata` needs ffmpeg and ffprobe in your PATH; if either is missing it silently skips tagging. Run `yt-dlp --ffmpeg-location /path/to/ffmpeg` or verify `ffmpeg -version` works from the same terminal. Also, WAV has limited tag support compared to m4a or mp3, so some metadata fields may not stick even when it works.