Changes

Jump to navigation Jump to search
464 bytes added ,  21:07, 9 December 2015
no edit summary
See https://github.com/rg3/youtube-dl/
<source lang="bash">sudo pip install -U youtube-dl</source> will give you a YouTube downloader that can do a lot of things, including extract the audio portion (relying on ffmpeg)
 
recipe:
<source lang="bash">
musicdir=/share/CACHEDEV1_DATA/Multimedia/music
videodir=/share/CACHEDEV1_DATA/Multimedia/video
video='https://www.youtube.com/watch?v=kD9CrZODlNA'
cd ~/Music
youtube-dl --extract-audio --prefer-ffmpeg $video
scp Dave\ Matthews\ Band\ -\ You\ \&\ Me-kD9CrZODlNA.m4a admin@qnap:$musicdir'/Dave\ Matthews\ Band/You\ And\ Me.m4a'
scp Dave\ Matthews\ Band\ -\ You\ \&\ Me-kD9CrZODlNA.mp4 admin@qnap:$videodir'/You\ And\ Me.mp4'
</source>
[[Category:Multimedia]]
[[Category:Music]]
4,558

edits

Navigation menu