youtube music
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
youtube music
I've been trying to download some music using the youtube-dl GUI downloader and keep getting this message. [Video/x-av1 decoder missing]. I've looked online and cannot find a solution, any ideas? Naturally, I updated youtube-dl before I started.
Linux Mint 19.2 Cinnamon
VLC & Media Player
Linux Mint 19.2 Cinnamon
VLC & Media Player
Linux Mint 19.2 Cinnamon
-
- Level 1
- Posts: 6
- Joined: Mon Aug 19, 2019 10:38 am
- Location: Novi Sad
Re: youtube music
Did you try going to terminal and check if you have necessary ffmpeg installed on your sistem?
Try with command
If you don't have one, then just use command to install it.
Try with command
Code: Select all
ffmpeg -version
Code: Select all
sudo apt-get install ffmpeg
LM 19.2 Cinnamon, Dell Inspiron N5010
Re: youtube music
Thanks for replying. I have the latest version of ffmpeg.
Any other suggestions will be appreciated.
gael.
Any other suggestions will be appreciated.
gael.
Linux Mint 19.2 Cinnamon
-
- Level 5
- Posts: 521
- Joined: Wed Aug 02, 2017 8:19 am
Re: youtube music
Hi,
I think Youtube-GUI is not the best utility for the purpose. Even if mp3 is selected it still downloads a webm file and it is playable if renamed to mp3 but for some reason it is always low bitrate file even if high quality is set in Options.
I'm thinking, 4k Downloader https://www.4kdownload.com/download is better and simpler to use, at the same time. There is a portable version for Linux should you consider giving it a try.
Cheers.
I think Youtube-GUI is not the best utility for the purpose. Even if mp3 is selected it still downloads a webm file and it is playable if renamed to mp3 but for some reason it is always low bitrate file even if high quality is set in Options.
I'm thinking, 4k Downloader https://www.4kdownload.com/download is better and simpler to use, at the same time. There is a portable version for Linux should you consider giving it a try.
Cheers.
Re: youtube music
I normally download the music video and then just strip the audio out of it in mp3 format.
ffmpeg -i <VideoName> <VideoName>.mp3
I havent checked recently but last I did the Firefox plugins were all broke. So, I use youtube-dl and then strip out the music
ffmpeg -i <VideoName> <VideoName>.mp3
I havent checked recently but last I did the Firefox plugins were all broke. So, I use youtube-dl and then strip out the music
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************
Re: youtube music
It's also possible to do it in one go using the following formula:
Code: Select all
youtube-dl --extract-audio --audio-format mp3 URL
Re: youtube music
Isnt linux beautiful?philotux wrote: ⤴Mon Aug 19, 2019 6:19 pmIt's also possible to do it in one go using the following formula:replacing URL with the actual url of the video.Code: Select all
youtube-dl --extract-audio --audio-format mp3 URL

Absolutely kills windows.
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************
IceWarp 12.0.3 * Mint 18.3 * RAID 1/5 * OpenVPN * Linux since kernel 2.0.36
************* Get Your Linux on! ***************
Re: youtube music
I like to ensure I'm getting the best quality, so I list the youtube output formats and download the one with the best audio quality, which IS NOT the one you get by default.
E.g.
(grep -v "video only" = don't show the video-only files)
#251 will have better high-frequency resolution than the other formats (you can see it in an audio FFT); the one labelled (best) is not the best.
So then I'd do
and get the .webm file, load that into audacity and convert it .wav, then convert that to .mp3 with 'lame'.
(You could also directly convert it from .webm to .mp3 or whatever, but I like to trim and normalize the .wav file in an audio editor - audacity could do it, audition is better; in either case, .wav in .wav out lossless)
Also: don't use the youtube-dl from the repos, they don't get updated often enough to keep up with youtube changes, get the one from the website and update it with:
E.g.
Code: Select all
$ youtube-dl -F https://www.youtube.com/watch?v=8Y6ruIXYmXY | grep -v "video only"
[info] Available formats for 8Y6ruIXYmXY:
format code extension resolution note
249 webm audio only DASH audio 54k , opus @ 50k, 2.50MiB
250 webm audio only DASH audio 71k , opus @ 70k, 3.30MiB
140 m4a audio only DASH audio 130k , m4a_dash container, mp4a.40.2@128k, 6.62MiB
251 webm audio only DASH audio 139k , opus @160k, 6.57MiB
18 mp4 480x360 medium 252k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 12.92MiB (best)
#251 will have better high-frequency resolution than the other formats (you can see it in an audio FFT); the one labelled (best) is not the best.
So then I'd do
Code: Select all
youtube-dl -f 251 https://www.youtube.com/watch?v=8Y6ruIXYmXY
(You could also directly convert it from .webm to .mp3 or whatever, but I like to trim and normalize the .wav file in an audio editor - audacity could do it, audition is better; in either case, .wav in .wav out lossless)
Also: don't use the youtube-dl from the repos, they don't get updated often enough to keep up with youtube changes, get the one from the website and update it with:
Code: Select all
sudo youtube-dl -U
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: youtube music
I really appreciate all your replies, however, my intention is to download the music video and add it to my NAS music video folder. To do that I need to be able to play the video file which at present I can't. I get a message telling me the codec Video/x-av1 decoder is missing. I admit I'm not very technically minded and I often struggle with finding solutions, perhaps it's my age (73) as I'm not fast enough anymore to keep up with modern technology. Anyway, if anyone does find a way to solve this, perhaps it's a plugin that I just haven't come across or there is a patch somewhere out there that I haven't found (yet). Whatever! I'm pretty sure that I'm possibly not the only person who would be grateful to solve this issue.
gael
gael
Linux Mint 19.2 Cinnamon
-
- Level 5
- Posts: 521
- Joined: Wed Aug 02, 2017 8:19 am
Re: youtube music
Sorry gael,
I have been misled by "I've been trying to download some music" part in your original question into thinking that you want to extract just the music/sound files, and completely missed the codec error message you're getting.
AV1 is still in the early days and not supported in Mint19.x/Bionic OOTB. The solution is simple, install either vlc or mpv players from their respective PPAs, because the versions from the repos (including Media Player) can't handle that codec.
HTH, Cheers
I have been misled by "I've been trying to download some music" part in your original question into thinking that you want to extract just the music/sound files, and completely missed the codec error message you're getting.

AV1 is still in the early days and not supported in Mint19.x/Bionic OOTB. The solution is simple, install either vlc or mpv players from their respective PPAs, because the versions from the repos (including Media Player) can't handle that codec.
HTH, Cheers
