HLS Video Pages #49

Open
opened 2024-02-19 20:47:17 +01:00 by Jef Roosens · 0 comments

Another fun addition to the server would be hosting pre-processed HLS streams. This would allow the server to serve arbitrarily large video files without users having to download them.

The API for this would simply accept an MP4/MKV video file, which would then be processed, most likely using ffmpeg. The video page would then serve the standard hls.js video player.

I'm not so sure yet about the routes. HLS requires serving each segment as a separate route, so if the video link /key, perhaps the various segments would be e.g. /key_1, /key_2 etc. The original video file should also be available for download, under /key_orig or something. This link would then also be listed on the video page.

Internally, each section would probably be added to the trie as its own entry, with a corresponding new entry type.

Another fun addition to the server would be hosting pre-processed HLS streams. This would allow the server to serve arbitrarily large video files without users having to download them. The API for this would simply accept an MP4/MKV video file, which would then be processed, most likely using ffmpeg. The video page would then serve the standard [hls.js](https://github.com/video-dev/hls.js) video player. I'm not so sure yet about the routes. HLS requires serving each segment as a separate route, so if the video link `/key`, perhaps the various segments would be e.g. `/key_1`, `/key_2` etc. The original video file should also be available for download, under `/key_orig` or something. This link would then also be listed on the video page. Internally, each section would probably be added to the trie as its own entry, with a corresponding new entry type.
Jef Roosens added the
idea
label 2024-02-19 20:47:17 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/lander#49
There is no content yet.