We used this link from youtube to do our testing with the application youtube-dl.

Here is the list of all the websites this application supports NOT JUST YOUTUBE!

We analyze the code in the terminal with youtube-dl –help.

Audio + Video

Just Audio

You will get a video and an mp3 to play with any player of your choice.

The audio format can be in mp3 but also best, aac, flac, m4a, opus, vorbis, wav.
If we use best for this link, we will get opus. Others came in with ogg. So the source matters when you use best.

Many formats are possible

USE a gui to do the same job

We analyze our choices and decide to install

Creation of aliases

Youtube-dl is a command line way to download and safeguard video and audio.
Install with pacman if not present.

  • alias yta-aac=”youtube-dl –extract-audio –audio-format aac “
  • alias yta-best=”youtube-dl –extract-audio –audio-format best “
  • alias yta-flac=”youtube-dl –extract-audio –audio-format flac “
  • alias yta-m4a=”youtube-dl –extract-audio –audio-format m4a “
  • alias yta-mp3=”youtube-dl –extract-audio –audio-format mp3 “
  • alias yta-opus=”youtube-dl –extract-audio –audio-format opus “
  • alias yta-vorbis=”youtube-dl –extract-audio –audio-format vorbis “
  • alias yta-wav=”youtube-dl –extract-audio –audio-format wav “
  • alias ytv-best=”youtube-dl -f bestvideo+bestaudio “