test ffmpeg
ajout commentaire bashrc
This commit is contained in:
parent
69a5c3780e
commit
2292230b6b
@ -64,6 +64,11 @@ EOF
|
||||
f_TouchePourContinuer
|
||||
clear
|
||||
|
||||
if ! which ffmpeg ; then
|
||||
echo "ffmpeg n'est pas installé, mais est requis.";exit
|
||||
exit
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------
|
||||
# Installation youtube-dl
|
||||
#---------------------------------------------------------
|
||||
@ -76,6 +81,7 @@ f_youtubedlinstall
|
||||
echo "Ajout dans bashrc...";sleep 2
|
||||
|
||||
cat << "EOF" >> $HOME/.bashrc
|
||||
### YOUTUBE-DL ###
|
||||
alias dl_video="~/bin/yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=480]' --restrict-filenames --output \"%(title)s\""
|
||||
alias dl_video_original="~/bin/yt-dlp --restrict-filenames --output \"%(title)s\""
|
||||
alias dl_musique="~/bin/yt-dlp --extract-audio --audio-format mp3 --restrict-filenames --output \"%(title)s.%(ext)s\""
|
||||
|
Loading…
Reference in New Issue
Block a user