What is the ideal segmen length in bitmovin fragmented encoding? please see below code example. As per code example its 4 seconds. Does it fit for all video files where video sizes are more than 4-5 GB.
private Task CreateFmp4Muxing(Models.Encoding encoding, Output output, string outputPath,
Stream stream)
{
var muxingStream = new MuxingStream()
{
StreamId = stream.Id
};
var muxing = new Fmp4Muxing()
{
SegmentLength = 4,
Outputs = new List<EncodingOutput>() { BuildEncodingOutput(output, outputPath) },
Streams = new List<MuxingStream>() { muxingStream }
};
return _bitmovinApi.Encoding.Encodings.Muxings.Fmp4.CreateAsync(encoding.Id, muxing);
}