Bash lol
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
Linux user ?
Windows user?
Yes, I don't understand the language of you god's. Should've picked linux years ago when I got my first PC.
Bash is a shell, like command prompt/powershell on WIn
You can download a VM program, like Virtualbox, and then create a VM and install Linux on it (I recommend Debian), that way you can learn little by little.
They are not that different. The concepts are portable.
Both. Powershell when I’m using Windows.
I just use command line honestly.
I wasn't aware it had subtitle support though. What's the command for downloading those?
Download Subtitles: yt-dlp --write-sub --sub-lang (language code) (video URL) Doesn't work for videos with auto generated subs.
Automatic subtitles are also possible to grab by using --write-auto-sub
, example:
yt-dlp --write-auto-sub [video url]
This next example will attempt to download English subtitles and if that fails, downloads the automatic subtitles instead:
yt-dlp --sub-lang en --write-sub --write-auto-sub [video url]
Note - you can not download automatic subtitles at the same time as language subtitles, which means if you wanted English and automatic I'd recommend the --skip-download
flag for the second command, which will prevent downloading the entire video again:
yt-dlp --sub-lang en --write-sub [video url]
yt-dlp --write-auto-sub --skip-download [video url]
Same here. I never needed a gui for it cause I simply drag and dropped over mpv and it handled the streaming. In fact it download subs on its own
I just have a config file with the settings that I want it to use all the time.
I just have mine set up as an alias in zsh (I assume this would work in bash too):
alias yt='yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'
Then just yt [url of video]
from the command line should automatically grab the best quality video as an .mp4. And of course that can be tweaked to whatever you like (adding subs etc.)
None GUI. Just use a terminal!
The CLI is simple enough that I don't really bug with any GUI abstractions. I used tubesync for a while on unRAID with pretty decent success, but I eventually ran into some limitations and ended switching to a cron job.
Everyone in the comments: I use assembly for everything
“GUI? For yt-dlp? No. No, hell no man. No, I imagine someone would get their ass kicked for saying something like that”
I don't think there's anything wrong with using GUI tools, they can display a lot more handleable info at once
Command line. I even use termux for Android but I wanna try out seal some time
CMD or bash. But TIL that yt-dlp had GUI.
I use a couple .bat files that I pre-wrote. Good enough for 95% of my needs.
I like cobalt as web app.
cobalt
Can you provide a link ?
I just have an alias stored in the bashrc file. One for audio and one for 1080p video.
zsh
with a few aliases
NewTerm 3 and zsh on my iPad. What's a GUI?
Graphical User Interface
Graphical user Interface for people who don't want to use a command line.
Stacher
CMD line info is 1st class but I'm trying Vividl and like it enough to use it.
These heathens are in here typing out verbose commands and not setting up aliases.
Just the terminal on PC, Seal on Android.
Idk I just wrote two or three Powershell scripts that I added to path so I can choose to download video (merged), audio, or both (unmerged) with a selection dialog to choose formats.
I similarly made two functions depending on the use case (see comments in code) and saved them in Powershell's default profile (Microsoft.PowerShell_profile.ps1) so I can invoke them with just one word directly in commandline, works great 👌
function Vid {
param (
[Parameter(Mandatory=$true)]
[string]$link
)
yt-dlp -P "$env:USERPROFILE\Downloads" $link -S "res:1080,br" --embed-subs --sub-langs all,-live_chat --remux mp4
} #Downloads videos using yt-dlp limited to 1080p; usage Vid YT_URL
function VidFull {
param (
[Parameter(Mandatory=$true)]
[string]$link
)
yt-dlp -P "$env:USERPROFILE\Downloads" $link --embed-subs --sub-langs all,-live_chat --remux mp4
} #Downloads videos using yt-dlp in maximum quality; usage VidFull YT_URL
iTerm
Terminator
Try tzahi12345/youtubedl-material
.
The NewPipe app on android does also downloads youtube videos
the terminal
I use Stacher