Improve Video Encoding Time in Media Services

Fabian Gleissner 1 Reputation point
2022-11-03T06:12:22.197+00:00

Hi Team

Why does the encoding of videos in Azure Media Services take so much time? For example, encoding a short video with the H264MultipleBitrate1080p preset takes over a minute. Now that there is no manual adjustment of performance and concurrency in Media Services API v3, is there any other way to reduce the encoding time?

Thanks

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wenfeng Gao 81 Reputation points Microsoft Employee
    2022-11-03T17:55:33.54+00:00

    If you create a customized preset, you can set Complexity as "Speed" mode to speed up the encoding. For the built-in preset like H264MultipleBitrate1080p, you can use PresetConfigurations.Complexity Property and set it as "Speed" to speed up the encoding. Please refer to the doc here:
    https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.media.models.presetconfigurations.complexity?view=azure-dotnet#microsoft-azure-management-media-models-presetconfigurations-complexity

    If you have further questions regarding the encoding performance, please share us more details about your source video: resolution, duration, and bitrate etc. A sample video will be better for us to test the performance for you. Thanks.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.