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.

  • nosurprises@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.