Youtube to mp3 coverter script using youtube dl and ffmpeg

Tutorials and Scripts bash mp3 music python3 script

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/mrbrownstone07/youtube-video-download-and-convert-bash-script

0
5 .8
Description:

###YOUTUBE VIDEO TO MP3 CONVERTER###
**REQUIRES ffmpeg, youtube-dl and vim

##Installing requirements:

***Arch based***
sudo pacman -S ffmpeg
sudo pacman -S youtube-dl
sudo pacman -S vim

***ubuntu/debian based***
sudo apt install ffmpeg
sudo apt install youtube-dl
sudo apt install vim

***centos***
sudo yum install ffmpeg
sudo yum install youtube-dl
sudo yum install vim

***generic format***
sudo (____) ffmpeg
sudo (____) youtube-dl
sudo (____) vim


##setting up everything:

1.Extract the mp3.tar.xz and put it in your ~/home or ~/.local/scripts directory

2. Open your terminal run this commands
#RUN:
cd ~/mp3
mv ~/mp3/getMusic.sh ~/.local/bin
chmod +x ~/.local/bin/getMusic.sh


##How to use:

1. To download any music open the terminal and run this command
#RUN:
getMusic.sh

2. Now, this will prompt you a vim file, copy the links of the youtube videos which you want to download as mp3. 4. it will check if the video from the link has been already downloaded or not, if not downloaded then it will download the video convert it to mp3 format delete the video and put the *.mp3 into your ~/Music directory.

##Warning:
Do not remove any .txt file from the ~/mp3 directory.
9

chavarriaf

1 year ago

9 Thank you, simple and good! But some people don't have pacman... maybe put sudo (___) or three varieties - etc. So new users know they can get needed dependencies. Good job though!!

Report

C

madcap

1 year ago

Just combined two useful tools. Thank you for the suggestion, updated the description.

Report

12345678910
1
product-maker chavarriaf Oct 29 2019 9 excellent
Thank you, simple and good! But some people don't have pacman... maybe put sudo (___) or three varieties - etc. So new users know they can get needed dependencies. Good job though!!
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
Creative Commons Attribution ShareAlike
version
1.0
updated Dec 18 2019
added Oct 06 2019
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1