-
-
Notifications
You must be signed in to change notification settings - Fork 37
Download Youtube audio video
UniqueBible.app has a built-in browser, which integrates "youtube-dl" and "ffmpeg" to allow users:
- to download YouTube video files
- to convert downloaded YouTube video into mp3 or mp4 formats.
This feature is created for downloading sermons, worship songs, training classes, etc.
To use this UBA feature, you need two utilities 'youtube-dl' and 'ffmpeg'.
From version 22.94, UBA automatically set up 'youtube-dl' for users, but users still need to install 'ffmpeg' themselves.
If you do not have 'ffmpeg' installed, you can still download YouTube videos but you cannot convert them to mp3 audio files.
You may read instructions about installing 'ffmpeg' at: https://github.com/eliranwong/UniqueBible/wiki/Install-ffmpeg
UBA mini browser allows users:
- to browser YouTube website
- to search for a video in YouTube
- to navigate backward or forward
- to download audio / video directly
You can open UBA built-in YouTube Downloader from:
- Toolbar > YouTube button
- Right-click context menu > plugins > YouTube Downloader
- Master Control > Miscellaneous tab > Utilities > YouTube Downloader
To DOWNLOAD an audio / video file for offline use:
- Search with built-in YouTube browser for a video you want
- OPEN a single item from search results (You CANNOT download an item from search result page)
- Use buttons "mp3 / mp4 / video / +" or right-click context menu items to perform a download
- If you use right-click context menu for download, make sure right-click is triggered on area OUTSIDE the video
- Select "Download Options" or "Convert to mp3" or "Convert to mp4"
If you click the "+" button, you can see available download options from a popup window. Select one and click the "Download" button to start a download.
-
To use command keyword in UniqueBible.app "mp3:::[a_youtube_link]", enter in command line field, e.g.
-
To use command keyword in UniqueBible.app "mp4:::[a_youtube_link]", enter in command line field, e.g.
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.
-
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]
- Install "chocolatey" first. read https://chocolatey.org/install
- open Windows PowerShell (Admin), and run:
choco install youtube-dl
choco install ffmpeg[on macOS]
- Install "homebrew" first. read https://brew.sh/
- Run in terminal:
brew install youtube-dl
brew install ffmpeg - Run in terminal:
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