baymin

Ubuntu 安装youtube-dl下载油管视频
youtube-dl 命令行方式下载官网: http://rg3.github.io/youtube-dl/Git...
扫描右侧二维码阅读全文
16
2017/11

Ubuntu 安装youtube-dl下载油管视频

youtube-dl 命令行方式下载
官网: http://rg3.github.io/youtube-dl/
Github项目地址是:https://github.com/rg3/youtube-dl

Linux系统安装:

apt-get install python-pip -y
pip install --upgrade pip
pip install --upgrade youtube_dl

OS X系统安装:

wget https://yt-dl.org/downloads/2016.07.13/youtube-dl.sig -O youtube-dl.sig
gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl
rm youtube-dl.sig

Windows系统安装:

下载文件:
https://yt-dl.org/downloads/2016.07.13/youtube-dl.exe
安装依赖库:
https://www.microsoft.com/en-US/download/details.aspx?id=5555

安装avconv

sudo add-apt-repository ppa:heyarje/libav-11 && sudo apt-get update
sudo apt-get install libav-tools
avconv 2>&1| grep version | awk '{print $3}'

或安装FFmpeg

ubuntu14.04 系统

sudo apt-get install python-software-properties
sudo apt-add-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg

Ubuntu16 系统

sudo add-apt-repository ppa:djcj/hybrid
sudo apt-get update
sudo apt-get install ffmpeg
Last modification:October 6th, 2018 at 11:36 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment