Skip to content

Download Youtube audio video

Oliver Tseng edited this page Jan 31, 2021 · 10 revisions

Download YouTube Audio / Video Files

UniqueBible.app supports use of "youtube-dl" to allow users:

  • to download YouTube video files into mp4 format
  • to download YouTube video files and convert them into a mp3 audio files

This feature is created for downloading sermons, worship songs, traning classes, etc.

Setup

  • Users need to install youtube-dl and ffmpeg before they can run this feature.

  • Below are the methods we tested to download youtube-dl and ffmpeg:

    [on Linux]

    • Run in terminal:

    sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
    sudo chmod a+rx /usr/local/bin/youtube-dl
    sudo apt install ffmpeg

    [on Windows]

    choco install youtube-dl
    choco install ffmpeg

    [on macOS]

    brew install youtube-dl
    brew install ffmpeg

Upgrade youtube-dl

You may need to update the "youtube-dl" package regularly to keep it working. There are several ways to upgrade "youtube-dl". It depends on how you first installed "youtube-dl"

If you used "curl" to install "youtube-dl", run the following line to do the update:

youtube-dl -U

If you used "pip3" to install "youtube-dl", run the following line to do the update:

pip3 install --upgrade youtube_dl

If you used "choco" to install "youtube-dl", run the following line to do the update:

choco upgrade youtube-dl

If you used "brew" to install "youtube-dl", run the following line to do the update:

brew upgrade youtube-dl

Read http://ytdl-org.github.io/youtube-dl/download.html for details on downloading and updating youtube-dl

Built-in YouTube Browser

We build a YouTube browser to allow users:

  • to browser YouTube content
  • to search for a video
  • to use right-click context menu to navigate backward or forward
  • to use right-click context menu to download audio / video directly

To DOWNLOAD an audio / video file for offline use:

  • Select from menu "Multimedia > Download YouTube Audio / Video"
  • From the opened built-in YouTube browser, search for a video you want
  • Right-click on arean OUTSIDE the video
  • Select "Download Audio in mp3 Format" or "Download Video in mp4 Format"

Command Line

GUI Dialog Box

Storage

All mp4 video files converted are stored in "video" folder inside "UniqueBible.app" application folder.

All mp3 audio files converted are stored in "music" folder inside "UniqueBible.app" application folder.

Clone this wiki locally