Friday, September 25, 2009

Rip video or audio from Youtube video

# Install youtube-dl to download video into flv file
sudo apt-get install youtube-dl
youtube-dl http://

# Install ffmpeg to do the conversions
sudo apt-get install ffmpeg

# Convert to mp3 audio
sudo apt-get install libavcodec-unstripped-52
ffmpeg -i input.flv -ac 2 -ab 128000 -ar 44100 output.mp3

# Convert to mpeg video
ffmpeg -i input.flv output.mpg


No comments:

Blog Archive