r/youtubedl

Can anyone help me understand what I'm doing wrong?

So for getting songs from youtube i use the following command:

yt-dlp -x --audio-format mp3 --audio-quality 128k --embed-metadata --embed-thumbnail --postprocessor-args -o "%(artist|uploader)s - %(title)s.%(ext)s" "YOUTUBE LINK"

However, I wanted to change the sampling rate to 44100hz andcrop the thumbnails into a square shape, so I added this part:

--postprocessor-args "ffmpeg: -ar 44100 -vf crop=min(iw\,ih):min(iw\,ih)"

So my command becomes:

yt-dlp -x --audio-format mp3 --audio-quality 128k --embed-metadata --embed-thumbnail --postprocessor-args "ffmpeg: -ar 44100 -vf crop=min(iw\,ih):min(iw\,ih)" -o "%(artist|uploader)s - %(title)s.%(ext)s" "YOUTUBE LINK"

When I try to use it tho, I get the following error:

ERROR: Postprocessing: Error opening output files: Filter not found

Am I using a wrong character or something? Please help!

reddit.com
u/Frotnorer — 1 day ago

YouTube Blocking YT-DLP?

Getting a weird message this morning

C:\Users\GroovyHome\Music\YT-DLT>yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=QvfYmfYKi6A

[youtube] Extracting URL: https://www.youtube.com/watch?v=QvfYmfYKi6A

[youtube] QvfYmfYKi6A: Downloading webpage

[youtube] QvfYmfYKi6A: Downloading tv client config

[youtube] QvfYmfYKi6A: Downloading tv player API JSON

[youtube] QvfYmfYKi6A: Downloading ios player API JSON

ERROR: [youtube] QvfYmfYKi6A: The following content is not available on this app.. Watch on the latest version of YouTube.

u/groovydeadone — 1 day ago

Are the Youtube DRC Audio Variants Worth It?

I ask because I do not have a sophisticated audio setup, and every video I want does not have a DRC variant. If I am not actually going to hear any difference with the DRC, then it would speed up my download routine significantly if I do not have to check to see which videos have DRC or not.

reddit.com
u/IWasAGoodDadISwear — 1 day ago
▲ 7 r/youtubedl+1 crossposts

Exporting cookies without an extension?

Doing the whole --cookies-from-browser thing doesn't seem to be worth it, anymore; after 10 or so downloads, it's a wrap. Hit the FAQ, found what I believe to be the most relevant bit. Which says:

> Do NOT use the --cookies COOKIEFILE --cookies-from-browser BROWSER method (as described in the above FAQ link) to export your cookies to a cookiefile. This will export all of your regular browser cookies, but not the cookies from this private/incognito YouTube session. Instead, use one of the browser extensions recommended in the FAQ.

I'd really rather not install any more extensions than I have to, especially with one of those extensions turning out to be malware (which I know management was one of the first to warn about, I'm just explaining why I'm not a fan of extensions generally!). That FAQ does say "one way to do this" - any others?

u/justquestionsbud — 2 days ago
▲ 5 r/youtubedl+1 crossposts

MeTube/yt-dlp podcasts download, publish date meta!

Hello everyone.
I have case with ABS and Podcasts from YT.
My setup include Metube/yt-dlp with subscription for some podcasts hosted at YT. Files are downloaded in OPUS format and auto-import in ABS.
So far so good everything work as expected beside publish date.

Is there a way to add auto import publish date from file meta for podcast type in ABS?
I have date id3 meta with format YYYYMMDD but it is not used for publish date.
I don't have proper RSS for this podcasts.

reddit.com
u/crazy7o — 2 days ago

Cannot download from Pornhub

When I try to download any videos from Pornhub, I am met with an error. Here's the log:

Stacher Version: 7.1.9
System Information: darwin arm64
Stacher Premium Active: Yes
yt-dlp: /Users/alex/.stacher/yt-dlp
Download ID: f6fde537-09ba-4880-87dc-8fcff5641d4e
Using Configuration: default-configuration
Starting download for https://www.pornhub.com/view_video.php?viewkey=6410477db7ec4
With Arguments (based on your configuration): 
--output /Users/alex/Downloads/%(title)s.%(ext)s
--format bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best
--embed-thumbnail
--cookies-from-browser Safari
--ignore-errors
Pre-script: None
Post-script: None
Download Hash: 8c547d2744b695df081be2310d39009e9d255f98613be1b87dbd0e9968a582eb
ERROR: [PornHub] 6410477db7ec4: Unable to download webpage: HTTP Error 410: Gone (caused by <HTTPError 410: Gone>)
Process exited with code 1
reddit.com
u/Inevitable-Power5927 — 3 days ago

How to download auto subtitle?

I used this command

yt-dlp [URL] --write-auto-subs  --sub-langs "en.*" 

But I can't seem to see the subtitle in the video nor any subtitle file.
It also says this:

't' is not recognized as an internal or external command,
reddit.com
u/NathanialKyouhei — 3 days ago

Cant download YouTube

It keeps saying Video unavailable. This content isn't available, try again later. Your account has been rate-limited by YouTube for up to an hour eve tohugh i have not been downloading that many videos?

reddit.com
u/OwnDog8481 — 3 days ago

Supported metadata per format?

Someone was asking about metadata not appearing and it occured to me that I don't know what metadata is supported and expected to be recognized by media players, per format.

For example mp3 is associated with id3 metadata, flac is associated with vorbis metadata. What is each metadata scheme called, and what are it's fields of those likely to be recognized by a media player?

reddit.com
u/cheyrn — 4 days ago

What am I doing wrong?

I'm pretty new to all this, so any helpo would be appreciated :>

I've been trying to download and convert vids to mp3, but my videos aren't downloading due to not being able to find JS runtime. In the folder that I have yt-dlp.exe in, I also have deno in it, so I'm really confused on why it still says it can't find it. Note: I am on a WIndows 10

I mainly followed along with this video. Earlier, I also tried using the info of this thread, but the same problem occured.

Here's my script:

C:\Users\A>yt-dlp "https://www.youtube.com/watch?v=aReRh87HlOc"

[youtube] Extracting URL: https://www.youtube.com/watch?v=aReRh87HlOc

[youtube] aReRh87HlOc: Downloading webpage

WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one

[youtube] aReRh87HlOc: Downloading android vr player API JSON

[info] aReRh87HlOc: Downloading 1 format(s): 401+251

[download] Destination: femtanyl - MAGFEST [aReRh87HlOc].f401.mp4

[download] 100% of 296.58MiB in 00:01:03 at 4.66MiB/s

[download] Destination: femtanyl - MAGFEST [aReRh87HlOc].f251.webm

[download] 100% of 2.92MiB in 00:00:00 at 4.62MiB/s

[Merger] Merging formats into "femtanyl - MAGFEST [aReRh87HlOc].webm"

Deleting original file femtanyl - MAGFEST [aReRh87HlOc].f401.mp4 (pass -k to keep)

Deleting original file femtanyl - MAGFEST [aReRh87HlOc].f251.webm (pass -k to keep)

Note: I have also added my folder (with yt-dlp and everything else) as a PATH in environmental variables.

u/duck_ina_bus — 3 days ago

Simplest way to use yt-dl I just found for beginners

so simply go to file in file explorer where you want to download your video and there on path type yt-dlp (your copied url ) and then enter, All done. video will be downloaded in that file, no need to go to other folder for getting downloaded file

reddit.com
u/Key-Cauliflower-8666 — 5 days ago

--parse-metadata and release_year.

This seems like it should be easy to figure out, but it's breaking my brain.

I was using --parse-metadata ' 2002: %(release_year)s' to add the release year to music downloads, and yt-dlp was printing [MetadataParser] Parsed release_year from ' 2002': '2002' which looked fine, until I viewed the files in Windows, where it said the year was 55724.
I can go into the Properties in Windows and change that to 2002 and it then shows up correctly, but obviously this makes the option under yt-dlp redundant and it's much slower and labour-intensive.

Since release_year is numeric, I tried both --parse-metadata ' 2002: %(release_year)04d' and --parse-metadata ' 2002: (?P<meta_release_year>)04d' but that results in [MetadataParser] Could not interpret ' 2002' as ' %(release_year)04d' and [MetadataParser] Could not interpret ' 2002' as ' (?P<meta_release_year>)04d' so that's out as well.

What's the solution for this?

edit: someone asked for an example url but their comment isn't showing up, so here's one I was using this morning: yt-dlp --config-location '/home/morokweng/.config/youtube-dl/config.music' --no-warnings --parse-metadata ' 2002: %(release_year)04d' --parse-metadata ' Pop Punk; Punk Rock: %(genre)s' --parse-metadata 'playlist_title:%(album)s' --parse-metadata ' Bodyjar: %(album_artist)s' --parse-metadata ':(?P<meta_artist>)' -o '/media/youtubedownloads/Music/Audio/unchecked/Bodyjar/%(playlist_title)s/%(title)s.%(ext)s' --parse-metadata 'title:%(title)s' --parse-metadata 'playlist_index:%(track_number)s' https://www.youtube.com/playlist?list=OLAK5uy_nj5OcIBiQBzAiId17i9zqC2ZKdzktXHRk

u/SheridanVsLennier — 4 days ago
▲ 5 r/youtubedl+1 crossposts

Question for specific types of Youtube DLs

Looking for a reliable, preferrably free, way to download longformm Youtube content (VoDs from Streamers), for Offline use to put on a flash drive and watch on my TV upstairs and offline (incase of internet issues).

reddit.com
u/TheFallen96 — 5 days ago

new day new error

hi guys I just thought of myself to get an mp3 player and needed to download songs for it and I got here; my ytdnis is saying this error 🔽 whenever I try to download a playlist; my search engine is yt music because I used a yt music client called metrolist. I haven't done anything rather than to do --update to update. I really don't understand the error.

this is a new post with a new error thanks in advance I turned off sponsorblock

Downloading:
Title: Do Ya Like X Resonance
URL:     https://www.youtube.com/watch?v=tpMGRbeofxY
Type: video

Command: --cache-dir "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/ytdlnis_cache/yt-dlp" --match-filter "id~='tpMGRbeofxY'" --newline --parse-metadata " 17: %(rownumber)s" -N "3" --trim-filenames "175" --no-mtime --embed-chapters -f "bv+ba/b" --embed-subs --sub-langs "en.,.-orig" -P "/storage/emulated/0/Android/data/com.deniscerri.ytdl/files/ytdlnis_cache/dl/555" -o "%(uploader).30B - %(title).170B.%(ext)s" --parse-metadata "%(playlist_index)s:playlist_index" --replace-in-metadata "title" "^.$" "Do Ya Like X Resonance" --parse-metadata "%(title)s:%(meta_title)s" --parse-metadata "%(artists,artist,creators,uploader,channel,creator|)l:^(?P<uploader>.?)(?:(?= - Topic)|$)" --replace-in-metadata "uploader" "^.*$" "MiracVR" --parse-metadata "%(uploader)s:%(artist)s" "https://www.youtube.com/playlist?list=PLu0DGp207Qaq0Mh4bMgaq_GurXfRSuynX"

[youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=PLu0DGp207Qaq0Mh4bMgaq_GurXfRSuynX [youtube:tab] PLu0DGp207Qaq0Mh4bMgaq_GurXfRSuynX: Downloading webpage WARNING: [youtube:tab] YouTube said: INFO - 73 unavailable videos are hidden [youtube:tab] PLu0DGp207Qaq0Mh4bMgaq_GurXfRSuynX: Redownloading playlist API JSON with unavailable videos [download] Downloading playlist: absolute peak 💯 [youtube:tab] PLu0DGp207Qaq0Mh4bMgaq_GurXfRSuynX page 1: Downloading API JSON [youtube:tab] Playlist absolute peak 💯: Downloading 90 items of 90 [download] Strategy does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Scheiße does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Love Me Not (feat. Rex Orange County) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Fame is a Gun does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Fever does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Bang Bang does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Love For You does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Solo (feat. Demi Lovato) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] At Least I’m Hydrated does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Magnetic does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Bad Puppy! does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Fell For You does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Von dutch a. g. cook remix featuring addison rae does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Espresso does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] WHERE IS MY HUSBAND! does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] No Mercy (feat. BlackGryph0n & LittleJayneyCakes) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Downloading item 17 of 90 [youtube] Extracting URL: https://www.youtube.com/watch?v=tpMGRbeofxY [youtube] tpMGRbeofxY: Downloading webpage [youtube] tpMGRbeofxY: Downloading android vr player API JSON ERROR: [youtube] tpMGRbeofxY: Video unavailable. This video is not available [download] Telephone does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Blank Space does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Love Story does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] What is Love? does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] My Way does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] The Fate of Ophelia does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] The Feels does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] yes baby does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] B2b does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] DJ Got Us Fallin' In Love does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Don't Start Now does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] FANCY does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Blame It on Your Love (feat. Lizzo) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Lush Life does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Blow Your Mind (Mwah) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] GUY.exe does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Levitating does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Everything is romantic does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Down does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Tears/Lipgloss (Remix) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] When Did You Get Hot? does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Live While We're Young does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] If U Seek Amy does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] The Way I Are does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Gaming Monster Mash does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Not Afraid Of The Monsters does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Time To Save Playtime does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Fireflies does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Internet Girl does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Boys does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Sympathy is a knife featuring ariana grande does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Girl, so confusing does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] 365 does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Club classics does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Ordinary does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Speed Drive does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Wham! - Last Christmas (Cupcakke Remix) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] party 4 u does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Va Va Voom does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] I Love It (feat. Charli XCX) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] 360 does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Beauty And A Beat does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] I Took A Pill In Ibiza (Seeb Remix) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] LEAN ON X LUSH LIFE (Zara Larsson, Major Lazer) [Jr Stit Mashup] does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] As Long As You Huat does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] DOE (feat. Shwe Hmone Yati) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] diamonds are forever does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Heat Waves does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] World's Smallest Violin does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] safe and sound x adventure of a lifetime • sped up + reverb does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Stateside + Zara Larsson does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Talk talk does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Doubt does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Doubt (demo) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Timber does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Wall of Sound does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Sin Sar Par does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] I Thought I Saw Your Face Today does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Manchild does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Take A Slice does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] ... Baby One More Time does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Red Flags but both versions are paired together does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Just The Way You Are does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Shooting Stars does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] It's Been So Long does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] 날 바라바라봐 LOOK AT ME does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Mean Girls does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] RUDE! does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Dracula (JENNIE Remix) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Something About You does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Nicki Minaj - The Night Is Still Young (Official Audio) does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Lovebomber Baby does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] paramour does not pass filter (id~='tpMGRbeofxY'), skipping .. [download] Finished downloading playlist: absolute peak 💯

this is ytdlnis btw

u/Flat-Expression-3775 — 6 days ago

‘This live event has ended’ issue

Anyone else having an issue downloading recently ended live streams? First it said to get cookies from browser, did that & then it just says ‘live event has ended’ & doesn’t download anything. Has been working fine off the same channel up until this week

reddit.com
u/bdolfc — 6 days ago

to anyone using ytdlnis, whats the best settings to use to have less errors?

so im in android using ytdlnis since the ui looks nice. newpipe and seal really didnt work much for me. please give me the best settings to have less errors in downloading videos.

reddit.com
u/Ready_Willingness702 — 5 days ago

[Newbie] How to fix JS runtime warning ?

WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one

Tried install Deno via Powershell, warning doesnt go away

Tried install Deno via putting deno.exe in yt-dlp folder, warning doesnt go away

Tried adding --js-runtimes RUNTIME"C:\ytdl\deno" to yt-dlp.conf, warning doesnt go away

Can anyone show me how to fix this ? While my downloading still works, idk if i can just let this warning there or it would affect my downloads somehow. Thanks !

u/comasxx — 5 days ago

Trying to download custom subtitles from a premier video error

Youtube has recently been removing custom subtitles for a bunch of people so I wanted to download them for an archive before they actually get removed fully. I had an error while trying to download [Touhou MV] Help me, ERINNNNNN!! [beatMARIO] (https://www.youtube.com/watch?v=X8z23t428kU) custom English subtitles. The command I used was yt-dlp -cookies-from-browser firefox -write-subs -sub-langs "en" -compat-options no-live-chat -skip-download "https://www.youtube.com/watch?v=X8z23t428kU" because before I had used this command I kept getting 429 errors and it kept downloading only the livechat.json file when I didn’t care about the live chat.

After I did the command I just got the error: requested format is not available. Another command I tried was yt-dlp -write-subs -skip-download “https://www.youtube.com/watch?v=X8z23t428kU” this only downloaded the live chat file like I said earlier.

When I tried yt-dlp -write-subs -sub-lang "en" -skip-download "https://www.youtube.com/watch?v=X8z23t428kU" it just said no subtitles for the requested language.

Oddly, when I use the command yt-dlp -list-subs “https://www.youtube.com/watch?v=X8z23t428kU” en (English) is a subtitle option in the list but does not show up when attempting to download anyway. You can also check the video itself and yes, it does have English subtitles. 

Is there a way to download that custom subtitle file from this video? I think the error happened because it’s a premier video. Thanks in advance for help.

u/Fit_Musician_5484 — 6 days ago