Product
Encoding - VOD
Question
Thumbnail preview is lagging in bitmovn player. is there any way to improve its performance. When i am hovering the mouse on seek bar its taking few seconds to load updated images. I am using below configuration. We need prompt reply as its production issue. Thanks in advance for helping. The average runtime of my asset is 3 hours.
private Task CreateThumbnailImage(Bitmovin.Api.Sdk.Models.Encoding encoding, Stream stream, Output output, string outputPath)
{
var sprite = new Sprite()
{
AspectMode = ThumbnailAspectMode.STRETCH,
Name = "Thumbnail images",
Unit = SpriteUnit.SECONDS,
Outputs = new List<EncodingOutput>() { BuildEncodingOutput(output, "thumbnail") },
Width = 100,
Height = 100,
ImagesPerFile = 50,
CreationMode = SpriteCreationMode.INTERVAL_START,
Distance = 10,
SpriteName = "thumb.png",
Filename = "thubnail.vtt",
VttName = "thumbnail.vtt",
Description = "This method will create a vtt file"
};
return _bitmovinApi.Encoding.Encodings.Streams.Sprites.CreateAsync(encoding.Id, stream.Id, sprite);
}