Project Idea: Video Player (like VLC) that supports gemini links.
2 years ago 路 馃憤 acidus
@krixano At the moment that is not supported. A MIME hook can be set up to process a response, but hook programs are expected to produce something that can be displayed inside the browser.
I have been thinking of improvements to this system, and one useful feature could be that the response is just streamed over to a handler program without waiting for anything to display to the user. 路 2 years ago
@acidus Btw, I think since twitch uses m3u8, you don't even need HTTP's range header, because m3u8 provides the ranges for each segment along with the URL to get those segments. I use this library, so here is the code for downloading a VOD: https://github.com/jybp/twitch-downloader/blob/8e7119e98161b8f2e0cd4eecb1c5a2542bcfeed1/twitchdl_vod.go#L16 路 2 years ago
@acidus Hmmmm... I see the reason for range, but I almost always watch a video all the way through, so Gemini works just fine for that. 路 2 years ago
I love trying things in Gemini but this is one where I think the link to a video file over HTTPS is better. for the range request alone. 路 2 years ago
oooh that'd be interesting to see 路 2 years ago
@superfxchip That works, but I want to be able to play a video as it is downloading, which requires either a video player that can use the Gemini protocol (in a similar way that VLC can use http links), or a gemini browser that will send off the bytes of a video to an outside video player as the video is downloading (which I don't believe Lagrange does yet and I'm also not sure if this is possible to do, @skyjake?) 路 2 years ago
when i get mp4's thru here, i route em thru VLC via file type associations :o 路 2 years ago