Posted by: admin (Sep 27)
On Ubuntu, but also applies to Debian there is a comfortable Pyton script youtube-dl. After making sure that you install the package simply type it followed by links to the movie itself. The video is saved in. Flv already viewable, but for those who just wanted to call ffmpeg with the necessary parameters for converting the video into a format xvid or divx.
In summary:
# Sudo apt-get install youtube-dl
# Youtube-dl http://www.youtube.com/watch?v=TsNBs-iF590
# Ffmpeg-i video.flv-vcodec xvid-acodec mp3 video.i
Optional but useful for the conversion of the video:
-b video bitrate (default = 200)
-ab audio bitrate (default = 64)
-ar sample rate (default = 44100)
-s frame size (default = 160 × 120)
0 Comments




































