is it possible to create a flavorparam that will encode mp4 files to hls/dash fragments?
Do you mean this? https://github.com/kaltura/nginx-vod-module
If so, then yes:) if not, please re-iterate.
kaltura-nginx does this on-the-fly which is great.
is it possible to split the mp4 files into segments and playlist files saved on the disk for future stream?
We have an old utility that does this for HLS here:
But I don’t think anyone is actively using it and we can’t offer official support for it.
For DASH, we do not have a parallel. You could use gpac and develop something that can do it for DASH but doing it on the fly is better since it means no storage duplication and the operation is rather fast.