Video Indexer Developer Portal

Change aspect ration or crop video to 1:1 square

Hey, is their any possibility in Video Indexer to crop or change the aspect ration of a video to 1:1 square? or in azure media service v3?

Comments

Hey,
you can use Azure Media Services StandardEncoderPreset.
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.media.models.standardencoderpreset?view=azure-dotnet,
where you can customize the output video setting for cropping and preserving the video aspect ratio.
Crop property in Filters of RPv3 preset is used as the source selection for generating output video.
For the crop property, which is a rectangle, the start position, width and height are the needed values.
StretchMode setting is used for the output video aspect ratio setting, and should be set as AutoFit if the video aspect ratio needs to be preserved.

Posted by HiddenTue, 19 May 2020 10:08:49 GMT

You're not signed in. Please sign-in to report an issue or post a comment.