Flag of Ukraine

What is Turbo mode?

Turbo mode is available for 🤖/video/encode and 🤖/video/concat, which allows you to significantly increase encoding times (up to 20x!) by splitting a video into several small chunks that can be encoded in parallel and then stitched back together into the finished product.

Due to the complexity of Turbo mode, this results in increased usage of Priority Job Slots as the number of chunks increases. So users with fewer Priority Job Slots can use this feature, we allow tuning of how many chunks are created. By default, if you upload a video file over a minute long, the video will be split into 10-second chunks, and if it's under one minute, it will be split into 5-second chunks.

To configure how many chunks are generated, we've created the chunk_duration parameter. The higher value you set, the fewer chunks will have to be created. This requires fewer Priority Job Slots to transcode as part of the priority queue.

Below, we have linked statistics showcasing the encoding times of Assemblies run with and without turbo-mode, on files of varying durations.

Bar chart showing the execution speed time gain from turbo mode, being more noticeable on videos with a longer duration.
Line-graph showing the range of execution speed values, within one standard deviation either side of the mean. When turbo mode is enabled, the execution speed is noticeably faster.

See also:

How do I limit an sFTP user to one directory? How long do you keep temporary files around? Which payment plan do you recommend?