this post was submitted on 22 Jul 2025
13 points (100.0% liked)

Linux

56705 readers
592 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

debian 12.11, yt-dlp stable@2025.07.21

aim: to download the best video available with the largest height but no better than 1080p, excluding av1 as well.

What works:

yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --all-subs

but this command downloads, if possible, av1, which target hardware doesn't support for longer than 5 minutes.

Argument I don't know to add correctly:

[vcodec!*=av01]

I tried:

yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4][vcodec!*=av01] -S height:1080 --all-subs

and other variations, but it didn't work.

second question, aborting an active download not shutting the terminal down: neither ctrl+c nor ctrl+q work and opening htop to kill the process seems overkill. What I now do is to simply shut the active tab, but there must be a faster way.

top 4 comments
sorted by: hot top controversial new old
[–] kungen@feddit.nu 8 points 4 days ago (2 children)

second question, aborting an active download not shutting the terminal down: neither ctrl+z nor ctrl+q work and opening htop to kill the process seems overkill. What I now do is to simply shut the active tab, but there must be a faster way.

Ctrl+C.

[–] FrostyPolicy@suppo.fi 5 points 4 days ago* (last edited 4 days ago) (1 children)

neither ctrl+z nor ctrl+q work

Ctrl + z will send the task to the background. You can use jobs to see all active background work. Fg will bring background work to the foreground. Ctrl + q is not a valid shortcut as far as I know. Looks a bit like a mac thing (command + q).

[–] SheeEttin@lemmy.zip 1 points 4 days ago

It's been a while, but ^S suspends output to the terminal and ^Q resumes, I think. I don't know if it's really supported in the modern era.

[–] merompetehla@lemmy.ml 1 points 4 days ago

thank you for pointing that out, corrected.

what happens on my computer: on a terminal, I press ctrl+c but the process keeps working, yt-dlp keeps downloading. As said, the only way to stop it is to shut the tab down (or htop and kill)