Youtube-dl automatic update not working.

The updates for youtube-dl do not work anymore on Ubuntu, but it can be updated manually. Download the script here: https://youtube-dl.org/downloads/latest/youtube-dl. Then copy the script over the top of the existing one in /usr/bin and then make sure it has the executable flags 755. This is very easy. Download it…

Read More

Feed a Youtube video into FFmpeg directly with youtube-dl.

Downloading a Youtube video with youtube-dl is pretty common, but it is also possible to feed it directly into FFmpeg using parameter expansion in bash. ┌─[jason@jason-desktop]─[~/Videos] └──╼ $ffmpeg -i $(youtube-dl -f 22 -g https://www.youtube.com/watch?v=laJpHzVtF9k) output.ts┌─[jason@jason-desktop]─[~/Videos] └──╼ $ffmpeg -i $(youtube-dl -f 22 -g https://www.youtube.com/watch?v=laJpHzVtF9k) output.ts This command will get a Youtube…

Read More