Microsoft Azure Media Services Client Library for Python - A management library for Azure Media Services that provides programmatic access to media processing and streaming capabilities in the cloud.
83
Quality
Pending
Does it follow best practices?
Impact
83%
1.09xAverage score across 10 eval scenarios
A Python service that transcodes video files using Azure Media Services encoding capabilities.
Creates an encoding transform with adaptive streaming preset for multi-bitrate output.
Submits encoding jobs to process video assets.
Monitors the progress and completion status of encoding jobs.
@generates
from azure.mgmt.media import AzureMediaServices
from azure.mgmt.media.models import Transform, Job
class TranscodingService:
"""Service for managing video transcoding operations using Azure Media Services."""
def __init__(self, client: AzureMediaServices, resource_group: str, account_name: str):
"""
Initialize the transcoding service.
Args:
client: Azure Media Services client instance
resource_group: Azure resource group name
account_name: Media Services account name
"""
pass
def create_adaptive_streaming_transform(self, transform_name: str) -> Transform:
"""
Create a transform with adaptive streaming preset.
Args:
transform_name: Name for the transform
Returns:
The created Transform object
"""
pass
def submit_encoding_job(self, transform_name: str, job_name: str,
input_asset_name: str, output_asset_name: str) -> Job:
"""
Submit an encoding job to process a video asset.
Args:
transform_name: Name of the transform to use
job_name: Name for the job
input_asset_name: Name of the input asset
output_asset_name: Name of the output asset
Returns:
The created Job object
"""
pass
def get_job_status(self, transform_name: str, job_name: str) -> str:
"""
Get the current status of an encoding job.
Args:
transform_name: Name of the transform
job_name: Name of the job
Returns:
The job state as a string (e.g., "Queued", "Processing", "Finished", "Error")
"""
passProvides Azure Media Services management capabilities for video encoding and transformation.
@satisfied-by
Provides authentication support for Azure services.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-azure-mgmt-mediadocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10