Skip to content

This script will download the best video and audio from youtube and combine them together using ffmpeg!

Notifications You must be signed in to change notification settings

diyaa59/youtube-dl-mp4-mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

youtube-dl-mp4-mp3

for a simpler youtube-dl

Animation of the CLi output of youtube-dl-mp4-mp3 on Ubuntu

This script will download the best quality audio, video and thumbnail, using youtube-dl, from a YouTube video URL that you provide.

Combine them together using ffmpeg into an mp4 video with mp3 audio with the thumbnail as the YouTube Video provided

or

An mp3 audio file with the video's thumbnail as album art.

Tested on

This script as been tested on the following linux distros as a sudo user.

  • Ubuntu server 20.04
  • Ubuntu server 18.04
  • Ubuntu Desktop 20.04
  • Ubuntu Desktop 18.04
  • Debian 10.9

TLDR

  • Tested on debian
  • Easy to use

Getting started

1. Install the script

Quick Install

bash <(curl -s https://raw.githubusercontent.com/diyaa59/youtube-dl-mp4-mp3/main/install.sh)

Manual Install

# Install ffmpeg, git, atomicparsley, python
sudo apt install -y ffmpeg git atomicparsley python

# make a directory and move into it
mkdir ~/script
cd ~/script

# Download the repo and enter it's directory
git clone https://github.com/diyaa59/youtube-dl-mp4-mp3.git
cd youtube-dl-mp4-mp3

# Give the script execute permissions.
chmod +x bin/youtube-dl-mp4-mp3

# Add ~/script/youtube-dl-mp4-mp3/bin/ to your user PATH variable.
echo 'export PATH=~/script/youtube-dl-mp4-mp3/bin/:$PATH'  | tee -a ~/.bashrc > /dev/null

2. Run the Script

youtube-dl-mp4-mp3

3. Follow instructions in terminal

Image of youtube-dl-mp4-mp3's options screen

Update Script

cd ~/script/youtube-dl-mp4-mp3
git pull

About

This script will download the best video and audio from youtube and combine them together using ffmpeg!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages