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
Build a media analysis pipeline that processes video and audio files to extract insights including transcription, scene detection, and face detection.
Your organization needs to analyze media content uploaded by users. The system should:
Create a Python application that implements the following functionality:
Create a function create_audio_analysis_transform(client, resource_group, account_name, transform_name, language_code) that:
Create a function create_video_analysis_transform(client, resource_group, account_name, transform_name, insights_mode) that:
insights_mode parameter: "VideoInsightsOnly", "AudioInsightsOnly", or "AllInsights"Create a function submit_analysis_job(client, resource_group, account_name, transform_name, job_name, input_asset_name, output_asset_name) that:
Your implementation should use the following structure:
media_analysis/
├── __init__.py
├── pipeline.py # Main implementation
└── pipeline.test.py # Test fileWrite tests in pipeline.test.py that verify:
Test that create_audio_analysis_transform correctly creates an audio analysis transform. Verify that:
Test that create_video_analysis_transform correctly creates a video analysis transform. Verify that:
Test that submit_analysis_job successfully submits a job. Verify that:
Provides Azure Media Services management capabilities for media processing and analysis.
Provides Azure authentication support.
azure-mgmt-media and uses Python 3.9+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