home.social

#yt-dlp — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #yt-dlp, aggregated by home.social.

fetched live
  1. #Zenity is a bit of a winner for knocking together simple UIs. For ages I've been using a wrapper script around #ytdlp which determines the screen resolution of the computer it's running on, updates yt-dlp, then fetches the video supplied as an argument and streams it to #mpv.

    However that's not very friendly for folks who share the media device on which the script is available, so I wrapped it in Zenity to present a friendly UI for either playing a previously-watched video, playing a new video (by URL), presenting a list of previously-watched videos, and providing a means to delete one or all previously-watched videos.

  2. It would be cool if #ytdlp could add a feature that treats #YouTube pages as already downloaded if the v= portion of the URL is found in already-downloaded files, as sort of an adversarial hack against using video titles for A/B testing.
  3. And while we are at shell tricks, I was happy to find out how to download only part of a youtube video:

    yt-dlp <video url> --download-sections '*01:14:30-01:16:30'

    ⚠️ Notice the "*" prefixing the time codes.

    Very useful to extract just a part of those very long #wmhack live videos.

    #shell #cli #ytdlp #youtubedl

  4. Il n'est plus possible de télécharger depuis le site de France 2 avec #ytdlp #yt-dlp ?
    Ça me dit `Unable to extract video ID`

  5. 🚨 yt-dlp + SponsorBlock: scarica e archivia video YouTube senza pubblicità | Guida completa con configurazione, gestione segmenti e integrazione Plex/Jellyfin
    gomoot.com/yt-dlp-e-sponsorblo
    #sponsorblock #tech #ytdlp

  6. I've seen a few recommendations now for #Omniget downloader, e.g.

    linuxlinks.com/omniget-downloa

    But all I ever get when I try to download something from #Youtube or #OKru is "Connecting to server..."

    (And yes, I let it install the necessary extras: yt-dlp, ffmpeg IIRC)

    Does anyone else have more luck with it?

    FYI, same YT link that didn't work in Omniget downloading fine in #YTSage

    #YTDLP

  7. Estuve probando Ytldnis f-droid.org/packages/com.denis (aplicativo para descarga de audio y video usando #ytdlp)

    Sorprendido por su buen desempeño, hasta me bajo videos/shorts, de Instagram y otras plataformas similares. Su ultima actualización cinco de enero del presente año. Buena opción para usarla en tu móvil #android, siempre desde @fdroidorg

    Buen finde. Enjoy.

  8. Usually #youtube changes, #ytdlp #newpipe adapt. But in case they can't, I heartily suggest archiving the channels you rely on for reference material. And donate to them outside the platform.

    When #youtube locks down and I can no longer view it anonymously, I'm just walking away.

  9. @rameshgupta @TheBreadmonkey Dagnabbit!

    Just as #FreeTube broke (fixed and waiting for the new version to be released). OK, I need to update #ytdlp as well by the look of it.

    Thanks for the tip though, looks like an interesting set of lectures.

    I might let First Born watch this later.

  10. @mina

    #YTdlp und #Dateiformate #EmbedSubs

    Ich weiß nun, warum es mit dem inkludieren von den auto-generierten #Untertiteln nicht geht: #MP3 unterstützt das grundsätzlich nicht. :(

    Kennst du eines der anderen Formate?
    Das Problem ist, unbekannte Formate können eine spezielle App erfordern. - Ggf. sehr problematisch in geschlossenen Systemen wie Autos, z.B.

    "[EmbedSubtitle:] Subtitles can only be embedded in mp4, mov, m4a, webm, mkv, mka files."

  11. @mina

    #YTdlp #AutoSubs

    ..."F:\VideoFiles\NewOutput\VIDEO\BEST\%(playlist_title)s\%(title)s.%(ext)s" --no-overwrites --sleep-interval 5 --max-sleep-interval 10 “ youtube.com/watch?v=0nUtUvK6B2 --cookies-from-browser firefox

    //

    ACHTUNG: besteht bereits ein Untertitel, dann wird die automatisch generierte .vtt-Datei ÜBER die ursprüngliche Untertiteldatei geschrieben. - Allerdings kann man nach wie vor die ursprüngliche Datei zusätzlich auswähhlen! - Ich würde es also für VIDEOS dabei belassen. //

  12. @mina

    #YTdlp #AutoSubs

    (2/3)

    ...--ffmpeg-location "C:\Program Files\ffmpeg\bin" --format 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4] ' --embed-thumbnail --add-metadata --yes-playlist --sub-langs "en.*,de.*,es.*,ru,fr.*,it.*,pt.*, zh.*,pl,cs, da,fi,el,he,ga,kn,ko,ku,lv,lb,no,fa,ro,sr,sk,sl,sv,tr,yi" --write-automatic-subs --keep-video --embed-subs --embed-chapters --embed-thumbnail -o....

  13. @mina

    #YTdlp #AutoSubs

    BINGO!

    (1/3)

    So, und nun eine Trommelwirbel! - Die nachstehende Syntax generiert für eine Datei OHNE Untertitel in den aus meiner Sicht häufigsten Sprachenbasierend auf der Ursprungssprache richtig synchronisierte ZUSÄTZLICHE Untertitel AUTOMATISCH (zumindest für die komplexe englische Beispieldatei).

    Hierfür bitte ich um eine Fanfare! - Danach suchen wir seit über einem Jahr! - Und es ist zudem einfach:😇

    yt-dlp --js-runtimes deno:/Users/admin/.deno/bin....

  14. Folks need to know about the command line tool yt-dlp.

    Do you loathe enshittified youtube and its now pervasive ads? Do you have a video or audio file that you want to save locally on your phone so you can consume it at your leisure without interruption? Like, a 4 hour video on why the series #Picard sucks?

    Try the command line tool #ytdlp on a computer, save the file to your phone, and run it with VLC. Tons of settings to get your file in a compressed or audio only format as needed. Not just for #Youtube, works for a ton of sites. github.com/yt-dlp/yt-dlp #music #e18n #tools #recommendation

  15. Make sure to update yt-dlp regularly if esp. you fetch videos from Alphabet

    log:
    yt-dlp -U

    Current version: [email protected] from yt-dlp/yt-dlp
    Latest version: [email protected] from yt-dlp/yt-dlp
    Current Build Hash: aed043cabf6b352dfd5438afff595e31532538d5af7c8f4f95ced1e6f1b35c2a
    Updating to [email protected] from yt-dlp/yt-dlp ...
    Updated yt-dlp to [email protected] from yt-dlp/yt-dlp
    ^Z

    #ytdlp #update #alphabet #video #youtube #programming #OpenSource #technology #patching #google #enshittification

  16. Make sure to update yt-dlp regularly if esp. you fetch videos from Alphabet

    log:
    yt-dlp -U

    Current version: [email protected] from yt-dlp/yt-dlp
    Latest version: [email protected] from yt-dlp/yt-dlp
    Current Build Hash: aed043cabf6b352dfd5438afff595e31532538d5af7c8f4f95ced1e6f1b35c2a
    Updating to [email protected] from yt-dlp/yt-dlp ...
    Updated yt-dlp to [email protected] from yt-dlp/yt-dlp
    ^Z

    #ytdlp #update #alphabet #video #youtube #programming #OpenSource #technology #patching #google #enshittification

  17. Is there anything better than "Free Download Manager" these days (kinda dislike their GUI since they changed it from the v3.9.7 one)
    to get downloads from the browser automatically pushed into another tool that can do resumption and all (esp. when downloading multiple >20gb files/images).

    On the CLI aria2 + yt-dlp kinda works, but I haven't seen a browser plugin that would automatically intercept and forward downloads (esp. the javascript triggered ones).

    #aria2 #jdownloader #download #ytdlp

  18. If anyone has noticed the JavaScript runtime warnings for 'yt-dlp' on a GNU/Linux system, the easiest fix, if you already have 'nodjs' installed, is to create the following file...

    "~/.yt-dlp/config.txt"

    ...with the following contents...

    --js-runtimes node --remote-components ejs:github

    And yes, it starts with "--" and nothing else beforehand. You do not need anything else afterwards either unless you know what you are doing.

    #linux #youtube #javascript #nodejs #ytdlp #terminal #commandline

  19. @_elena @Tamtam @n_dimension @taylorlorenz C44 appears to be #ytdlp compatible and therefore works for me. It's on my playlist for tonite.
  20. Unix philosophy.
    Creating a mini video management tool with #fzf, #fd, #mpv and #ytdlp .

    There are two scripts for downloading `download-video` (saving to ~/Downloads/youtube/) and `download-playlist` (saving to ~/Downloads/youtube/playlists/).

    Then there are watch-video and watch-playlist which combined with fd and fzf give me a list to choose from and then start the selected item in MPV.

    MPV is configured so that it keeps track of the position and I can either delete the video when I'm finished or move it to a watched directory relativ to the position of the video.

    I'm planning to extend this into an application with thumbnails but for the moment it is a good start :)

    Packed with #Nix of course.
    github.com/Nebucatnetzer/nixos

  21. YouTube ryhtyi sotaan mainosestäjiä vastaan jo pari vuotta sitten, mutta nyt tähtäimessä ovat uudet kohteet

    Maailman suosituin videopalvelu on onnistunut estämään kaikkien suosituimpien videolatauspalveluiden toiminnan, ainakin hetkellisesti. Videolatauspalveluita ja -sovelluksia käytetään YouTube-videoiden lataukseen omalle tietokoneelle tai kännykkään.

    dawn.fi/uutiset/2026/02/01/you

    #youtube #ytdlp #uutiset #media #teknologia #tekniikka

  22. yt-dlp recently stopped working on me due to changes in YouTube. Here's how I got it to work again.

    1: Switch from stable to nightly version. In Manjaro Linux, this is a matter of installing yt-dlp-nightly-bin from the package manager. Your package manager should hopefully have something similar. If it doesn't, follow the instructions here: github.com/yt-dlp/yt-dlp#updat

    2: Run sudo yt-dlp -vU <anything>

    3: You can once again download from YouTube.

    #YTDLP #YouTube #Linux

  23. $ #brew update && brew upgrade

    ==> Upgrading 3 outdated packages:
    yt-dlp 2025.12.8_1 -> 2026.1.29
    gettext 0.26_1 -> 1.0
    deno 2.6.6 -> 2.6.7

    ✅ 💡 #ytdlp :awesome: #fckyoutube 🖕

  24. One thing bothering us when playing videos with our little, mobile friendly video player #livi was that playing from video sites like #peeretube or #youtube showed very little information in #phosh's media player widget. This is now fixed on Livi's main branch where it fetches the necessary bits from #ytdlp to display a thumbnail and artist information making it a better companion to the pipeline app too.
    We've improved a bunch of other things like faster seeking as well.

    #LinuxMobile #gstreamer

  25. @frox @theron29 @lazarus @echo_xc @Tutanota For many users, youtube can be "replaced" by yt-dlp and jellyfin. Is that too subversive for the target audience?

    #ytdlp #jellyfin