Skip to main content

Prerequisites

  1.  Download yt-dlp with the package manager of your choice. Examples: 
    sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
    sudo chmod a+rx /usr/local/bin/yt-dlp
    
    python3 -m pip install -U yt-dlp
    
    yay yt-dlp
    
    sudo apt install yt-dlp
    
    sudo nala install yt-dlp
  2. Download ffmpg with the package manager of your choice. Examples:
    yay ffmpeg
    
    sudo apt install ffmpeg
    
    sudo nala install ffmpeg
  3. Download optional dependencies if necessary from here
  4. Make a directory where your config files will sit
  5. Create your first config. Example:
    # best video and audio
    -f bestvideo+bestaudio 
    
    # Just go on even if everything burns
    -ciw 
    
    # verbose
    -v
    
    # Thumbnail
    --write-thumbnail
    --embed-thumbnail
    
    # Add chapters
    --embed-chapters
    
    # Embed info json
    --write-info-json
    --embed-info-json 
    
    # Metadata
    --embed-metadata
    
    # Description
    --write-description
    
    # Comments
    #--write-comments
    
    # Mark Video as watched. May count towards view count.
    --mark-watched
    
    # Merge downloaded video and audio into a mkv file
    --merge-output-format mkv
  6. More file examples can be found here