• fosforus@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    54
    arrow-down
    5
    ·
    1 year ago

    Fully, you say?

    $ yt-dlp -f 22 https://www.youtube.com/watch?v=WFEEZBmUYTM
    [youtube] Extracting URL: https://www.youtube.com/watch?v=WFEEZBmUYTM
    [youtube] WFEEZBmUYTM: Downloading webpage
    [youtube] WFEEZBmUYTM: Downloading ios player API JSON
    [youtube] WFEEZBmUYTM: Downloading android player API JSON
    [youtube] WFEEZBmUYTM: Downloading m3u8 information
    [info] WFEEZBmUYTM: Downloading 1 format(s): 22
    [download] Destination: Noiselund - Are You There? [WFEEZBmUYTM].mp4
    [download] 100% of   12.82MiB in 00:00:04 at 2.99MiB/s
    

    Oh, guess not.

    • Sunrosa@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      Yeah yt-dlp has been my strat this whole time anyway. Also Piped and Invidious get the job done when i’m too lazy to type in one short command for every video I watch.

      Also, specifying format with yt-dlp is unnecessary (“-f 22”) if you have ffmpeg installed iirc because it automatically selects the highest quality, thus shortening the command even further.

      • fosforus@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        1 year ago

        I use -f 22 to set a lower quality actually, because most videos on youtube are needlessly larger than my 5K monitor.

        • Sunrosa@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          Higher resolution videos actually have better bitrates on youtube. Like if you select 4k even if your monitor is just 1080p, the video will look much better.

            • Sunrosa@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              All the more reason just to use yt-dlp. I know it takes a tiny bit of time to set up, but it’s well worth it. I’m able to download 20-minute videos that would have otherwise buffered in less than a minute. I can simultaneously queue up a bunch of videos, and watch them with zero stuttering.

      • jack@monero.town
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        1 year ago

        You can also put “alias y=yt-dlp” in your ~/.bashrc to minimize it to “y”. Or set up a keyboard shortcut to a script that executes the command with your clipboard content.

        Or do the same with “mpv” instead of “yt-dlp” to watch the video stream directly without downloading.