How to install *latest* yt-dlp on Ubuntu Server 24.04.1 LTS?
Bo Berglund
bo.berglund at gmail.com
Tue Feb 11 09:22:51 UTC 2025
On Tue, 11 Feb 2025 08:48:18 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>Notice that on my Windows 10 (which I don't want to use for these tasks) after a
>lengthy installation process outlined in the link in my starting post I could in
>fact download the instruction video to Windows.
>
>And I can copy it over to the video store on my Linux server.
>But this is not useful because I have scripts using yt-dlp for getting videos in
>general on my Ubuntu server so I need it to work there....
>
>Does it matter that my Windows 10 is a desktop machine whereas my Ubuntu Server
>is just that, a server with no GUI in use ever, just command line via ssh?
Just to be complete, here is the functioning download sequence on my Windows 10
PC:
D:\HP\ZBookG5>yt-dlp --version
2025.01.26
D:\HP\ZBookG5>yt-dlp https://youtu.be/gYRDjLb41R8
[youtube] Extracting URL: https://youtu.be/gYRDjLb41R8
[youtube] gYRDjLb41R8: Downloading webpage
[youtube] gYRDjLb41R8: Downloading tv client config
[youtube] gYRDjLb41R8: Downloading player 9c6dfc4a
[youtube] gYRDjLb41R8: Downloading tv player API JSON
[youtube] gYRDjLb41R8: Downloading ios player API JSON
[youtube] gYRDjLb41R8: Downloading m3u8 information
[info] gYRDjLb41R8: Downloading 1 format(s): 137+251
[download] Destination: Replace the Keyboard | HP ZBook 15 G5, G6 Mobile
Workstation | HP [gYRDjLb41R8].f137.mp4
[download] 100% of 25.17MiB in 00:00:01 at 14.55MiB/s
[download] Destination: Replace the Keyboard | HP ZBook 15 G5, G6 Mobile
Workstation | HP [gYRDjLb41R8].f251.webm
[download] 100% of 1.27MiB in 00:00:00 at 3.36MiB/s
[Merger] Merging formats into "Replace the Keyboard | HP ZBook 15 G5, G6 Mobile
Workstation | HP [gYRDjLb41R8].mkv"
Deleting original file Replace the Keyboard | HP ZBook 15 G5, G6 Mobile
Workstation | HP [gYRDjLb41R8].f251.webm (pass -k to keep)
Deleting original file Replace the Keyboard | HP ZBook 15 G5, G6 Mobile
Workstation | HP [gYRDjLb41R8].f137.mp4 (pass -k to keep)
It resulted in a *.mkv file, which I then used ffmpeg to convert to mp4:
D:\HP\ZBookG5>ffmpeg -i Replace_the_Keyboard_HP_ZBook_15_G5.mkv
Replace_the_Keyboard_HP_ZBook_15_G5.mp4
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list