edit: Guys, I now yt-dlp is the way to go, but is there a gui front end for yt-dlp with all the options that I get on cli? Or else, just advice me on how to use the yt-dlp cli

I need the best audio-quality and I want it to be webm and want it to be downloaded with transcripts too, so what should I do?


I tried this snap video-downloader and it was able to download a webm file and it’s amazing. I love it. But, I am not sure if it’s the best quality I can get. I was wondering what Linux native software you used to download Youtube audio in it’s best quality.

btw, when I downloaded the .webm file, I got it along with the transcribed text and it plays in the place where video subs play and it’s quite nice.


Something else

https://www.makeuseof.com/download-youtube-videos-yt-dlp-linux-terminal/

Removes all sponsors and downloads the best audio into Videos/yt-dlp

cd Videos/yt-dlp &* youtube-dlp yt-dlp -x --audio-quality=0 --sponsorblock-mark all --sponsorblock-remove all [YOUTUBE-URL] && cd ~

sudo snap video-downloader

Video-downloader snap downloads the package Video-Downloader and this can be opened through terminal (you can create a .desktop file through menulibre for this) And all videos with varying degree of quality can be downloaded here. But, this doesn’t include sponsorblocks so idk, use yt-dlp here too, but I don’t download videos so I don’t really care for this.

  • rem26_art@kbin.social
    link
    fedilink
    arrow-up
    28
    ·
    1 year ago

    Another vote for yt-dlp

    It works with ffmpeg and you can choose the quality you want to download from Youtube. Also its nice if you want to record a livestream as its being broadcast. Its also not limited to just Youtube either, it seems to work on lots of sites.

    • Ganesh Venugopal@lemmy.mlOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      hey, I am sorry, is there a gui for yt-dlp with all the options it has in the cli? I found it very confusing to read and understand the whole read.md

      • no surprises@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        I don’t know if there is a graphical interface, but do you need to read the whole readme? To me it looks like there are just three relevant flags.

          Post-Processing Options:
            -x, --extract-audio                                 Convert video files to audio-only files (requires ffmpeg and ffprobe)
            --audio-format FORMAT                               Format to convert the audio to when -x is used. (currently supported:
                                                                best (default), aac, alac, flac, m4a, mp3, opus, vorbis, wav). You can
                                                                specify multiple rules using similar syntax as --remux-video
            --audio-quality QUALITY                             Specify ffmpeg audio quality to use when converting the audio with -x.
                                                                Insert a value between 0 (best) and 10 (worst) for VBR or a specific
                                                                bitrate like 128K (default 5)
        
        • Ganesh Venugopal@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          -x --audio-quality=0 --sponsorblock-mark CATS=all --sponsorblock-remove CATS=all

          but, I want webm with best quality, so what should my command be?

          • cmnybo@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 year ago

            yt-dlp -f bestaudio video_url will download the highest quality audio format available. You don’t want to reencode the audio, that will reduce the quality. On most videos, the best audio will be opus in a webm container.

  • Nemo Wuming@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    Compare with yt-dlp from GitHub. It works from the command line and you can control the quality level you want.

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    1 year ago

    I suggest Parabolic, it’s very feature rich, but I don’t think you’ll ever find a frontend with all options, as the devs need to catch up, design and also consider which are important and leave others out, so they don’t bloat the interface making it impossible to parse. At most you’ll get an option to create shortcuts for custom commands (YTDLnis does this on Android).

    Anyway, regardless of the application, I think you’d get the same quality, both should try to get the best available by default

    I also made a small list some time ago https://codeberg.org/quazar-omega/awesome-yt-dlp if you want to help add more apps.

  • db2@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I use YouTube links which gives you direct links to the media. It’s a userscript so you’ll need the ability to run those. Also it doesn’t seem to play nicely with premium, but that’s easily worked around by letting it run in incognito tabs. Even with the quirks it’s way better than any middleman download site.

    I also have yt-dlp which is also awesome, but works differently. I do use both depending on what I’m trying to accomplish… for a single audio or video file YouTube Links is more convenient, for anything more than that yt-dlp is the way to go.

    • Ganesh Venugopal@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      thank you but imma stick with yt-dlp for a while now, I am looking for a gui with it in the backend now

  • hotdaniel@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    1 year ago

    I just used chat gpt to teach me the basics of yt-dlp. Worked great! Can do it with other programs too

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    140 is always the best quality, except when it has a number tacked on for randomly ordered alternate languages.