Unable to load image

could one of you codecels tell me a way to play yt-dlp youtube downloads WHILE THE DOWNLOAD IS STILL IN PROGRESS?

i figure i need to find a way to download the audio FIRST to make this happen.

there's no reason i shouldn't be able to do this, but i can't figure out how.

6
Jump in the discussion.

No email address required.

I don't know that you can since it downloads the video and audio separately before combining them.

Jump in the discussion.

No email address required.

yeah, that why i think the audio needs to be downloaded first.

then theres probably some code magic to combine these while the rest is still being downloaded

since youtube sent a cease and desist to invidious devs, they're probably gonna crack down on piped next, and i'd like to have this figured out before they find a way to block both completely. yewtu.be (largest instance) just got suspended by cloudflare. nitter has been murdered. big tech is about to start squeezing our nuts in a vice.

Jump in the discussion.

No email address required.

oh wait i didn't read the post right nvm

Jump in the discussion.

No email address required.

what did you say

Jump in the discussion.

No email address required.

i thought you were just looking to stream a video instead of also downloading it

i don't know how to do that it's either one or the other to my knowledge

Jump in the discussion.

No email address required.

well, in effect, i want a way to stream with mplayer + yt-dlp, and not have to use the official youtube website once piped + invidious get gibbed.

Jump in the discussion.

No email address required.

i don't know mplayer but vlc and mpv allow you to just copypaste a link into them and they'll play the video right there, and i think mpv actually does use yt-dlp but if you want a nice little function i'll post it again

stream() {

   yt-dlp -o - "$1" | mpv -

}

Jump in the discussion.

No email address required.

literally just post youtube links into VLC


Give me your money and I'll annoy people with it :space: https://i.rdrama.net/images/16965516366194396.webp

Jump in the discussion.

No email address required.

doesnt fricking work

Jump in the discussion.

No email address required.

maybe because you're an idiot? Works on my machine, so the only possible reason it couldn't work on yours is because you did it wrong :marseyindignant:

https://i.rdrama.net/images/1688261273206635.webp


Give me your money and I'll annoy people with it :space: https://i.rdrama.net/images/16965516366194396.webp

Jump in the discussion.

No email address required.

:#marseyskater:

Jump in the discussion.

No email address required.

I swear MPV does this already.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.