this post was submitted on 17 Sep 2023
53 points (92.1% liked)

Linux

45479 readers
1392 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 9 months ago (2 children)

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

[–] [email protected] 2 points 9 months ago (1 children)

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)
[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

-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?

[–] [email protected] 6 points 9 months ago (1 children)

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.

[–] [email protected] 2 points 9 months ago
[–] [email protected] 1 points 9 months ago (1 children)

There are some. I’ve used this one and some other I couldn’t find right now

https://github.com/StefanLobbenmeier/youtube-dl-gui

[–] [email protected] 1 points 9 months ago

thank you mate!