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.

  • merompetehla@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 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)