Comment by π€ nikhotmsk
Re: "Big files over Gemini (was Video over Gemini)"
I am developing a video conference software called Trunk Line. It is not based on gemini, but who knows.
2024-01-18 Β· 2 years ago
2 Later Comments β
π MrSVCD [OP] Β· 2024-01-18 at 18:20:
I have had some time to think about this and what I actualy want is a way to split up big files into smaller chunks so if you get an error on your download you can try again but not from the beginning.
I got to thinking about how a index file would look like. It needs a checksum in my head so I remember the sha256sum program on my system so I took inspitation from that. The checksum uses hex encoding so I desided that if a line start with a "T" it is a tag line that contains information.
Tags so far:
MUST Tags
This tag sets the name of the file to be downloaded. The index file name MUST be the same as the <file name> + .gembig If it is not the download does not start.
This tag sets the hash to be used. This tag MUST be used.
This tag sets the expected size of the chunk to be downloaded. This tag MUST be after every hash/file line.
Optional Tags
This tag specifies the legnth in miliseconds of the chunks since the last miliseconds tag. This tag is to be used when the file is a media file so the media player can potentionaly seek in audio/video.
This is inspiration and not even close to a final idΓ©a. I think I have a RFC styleguide to read if nothing else.
Ps. After looking at what I have written I realized that I have not given up on the idea of Video transfer. I just envision it as media player and downloader in one.
Also big files in my mind for Geminispace is in the 10-100MByte range.
π flipperzero Β· 2024-01-19 at 11:51:
NGL I wouldn't mind video playback rendered right on client, maybe could even be possible utilizing such 3rd-party embedded media player defined by what's default on system, of which could be able to parse the video w.o downloading and saving locally to track between the timecode.
That out of the way, I would like to point out in case it's of any interest, but when you click an audio or video file on Lagrange it doesn't automatically permanently download it to your disk. Instead, it makes a temporary internal save of the media and either plays it out in client or prompts an application to open it in, after which is discarded after playback and closed program.
Original Post
Big files over Gemini (was Video over Gemini) β I was thinking of how you could do Video over the Gemini protocol. And to quell any fears of bloat, I don't mean to embed video but a way to deliver video (and larger audio). My proposal is to use a playlist like file that includes the location of the video segments and timestamps of said segments, so if you want to jump around you only have to download the particular segment and not the whole file. I probably just over engineered something that...