The intention of Ahead Server is not to understand the file structure or be connected to any specific format. FFMpeg, GStreamer, MP4Box and others have more than sufficient capabilities in terms of creating segments and it's not our intention to compete. It's also not our intention to get strongly linked with any specific segmenter as well.
The simplest way to solve that is to use the filesystem - create a mount in the place where the segmenters write their chunks. There are two possibilities:
Expose WebDAV from ahead
Use fuse to implement a FS
Next mount the outcome in the writing point, then hijack the streams and push them straight to the outputs (via rereadable for caching).
FUSE may be a bit more efficient as it's using native bindings, but WebDAV seems simpler.
The intention of Ahead Server is not to understand the file structure or be connected to any specific format. FFMpeg, GStreamer, MP4Box and others have more than sufficient capabilities in terms of creating segments and it's not our intention to compete. It's also not our intention to get strongly linked with any specific segmenter as well.
The simplest way to solve that is to use the filesystem - create a mount in the place where the segmenters write their chunks. There are two possibilities:
fuse
to implement a FSNext mount the outcome in the writing point, then hijack the streams and push them straight to the outputs (via
rereadable
for caching).FUSE may be a bit more efficient as it's using native bindings, but WebDAV seems simpler.