"moov atom not found" while trying to play a invidious live stream through yt-dlp.

Title. Non-live streams play as intended however. wat do? Thanks in advance.

8 points · 4 comments · view on lemmy.world

4 Comments

BonerMan@ani.social · 3 pts · 1y (1 reply)

Steams have no defined length and aren't finished files.

GustavoM@lemmy.world · 0 pts · 1y

Forgot to mention that live streams play just fine as well, but only if played directly on youtube.

rxxrc@lemmy.ml · 2 pts · 1y (1 reply)

I'm not sure the invidious: protocol supports live streams, it seems like it's only fetching a single fragment from the HLS stream. What you're trying works for me using a direct invidious instance URL, e.g. https://inv.nadeko.net/watch?v=cmkAbDUEoyA.

GustavoM@lemmy.world · 0 pts · 1y

You are absolutely right.

Anyways, the idea is to mimic the ytsearch1: feature but for invidious -- search for a video id based on its title, drop id on an invidious stance, and play it. I've got half of it.