Architecture diagram for upload & validate the videos in azure
TechnicalHubCore is a Professional Technology Platform. Here we will provide you only interesting content, which you will like very much. We're dedicated to providing you the best of Technology, with a focus on dependability and Dot net and Azure. We're working to turn our passion for Technology into a booming online website. We hope you enjoy our Technology as much as we enjoy offering them to you.
I will keep posting more important posts on my Website for all of you. Please give your support and love.
Note: This solution suitable for 5TB of videos because max size of the storage account is 5TB only and if QA team validate the videos on browser then this solution suite for .mp4 files because only .mp4 files streaming on all browsers, other formats can't play on browsers (tested this on Chrome, Firefox, IE, Edge, Safari browser).
Few advantages of Azure Media Services over Azure Storage account
- Azure Media Services provides the tools you need to create rich, dynamic client player applications for most platforms including: iOS Devices, Android Devices, Windows, Windows Phone, Xbox, and Set-top boxes. where as storage account provides the URL of the file only.
- You can scale Azure Media Services account by adding multiple storage accounts. Each storage account is limited to 500TB.
- You an create live and ondemand videos in Azure media services.
- Offline viewing involves a user downloading media onto their device.
- With the Azure media services, it is very much possible to live stream the video in different encoding formats
In this page , I'll explains the architecture of uploading video to azure using web application and validating(Quality of video) the uploaded video by your QA team.
If you want to devlop a solution without Azure Media Services below solution is good. Cost for this solution is less compared to azure media services.
Here I am creating three types of Role
- Engineer Role- Privilege's to upload the video
- QA Role- Privilege's to validate the uploaded video
- Admin Role- Able to view the all videos
To understand above diagram below prerequisites required.
- Knowledge in Azure AD
- Knowledge in Azure Storage Account
- Knowledge in any web application development.
Diagram Explanation: - Add above 3 types of roles and users to Azure Active Directory.
Before that you need to know
- What is Azure Azure Active Directory(AD)?
It is Microsoft’s cloud-based identity and access management platform designed to provide single sign-on and multi-factor authentication to help protect organizations from cybersecurity attacks. To know more details on Azure Active Directory click here
- How to add users to azure active directory? to know more details, click here - After completing the above steps next create Azure blob Storage account and azure table in azure portal
To now more detais on how to create Azure blob storage , table storage, click here
What is Azure Blob Storage and Tables? Why do we need?
Azure storage is cloud based stoage system, it stores unstructured data like files, images, videos etc. where as azure table is also cloud based stoage system but it stores structured data like sql, oracle databases.
To now more detais on Azure blob storage , click here
To know more details on Azure table storage, click here
Login as Engineer - Create a Login in page using any web technology and user must be validate in Azure Active directory. Refer this link.
- Once users validation is completed, create a video upload page with some metadata fields on web page like Who is uploading the video, date of uploading, location of the video etc.
- After clicking on submit button on the upload video page , the video is directly uploading to azure storage account and the metadata & video url loaded to azure table.
Login as QA - Once QA user successfully loggin , create a web page where you will display the metadata of the video and engineers uploaded videos url from azure storage account in a grid view and also add approve/reject button on each row in the grid.
- After QA team is validating the metadata and quality of video, either they can approve/reject those video's and can modify the meatadata of the video.
- Based on the QA validation you need to update the status(approved/rejected) of videos in azure table.
Login as Admin
- Once Admin successfully login to the application display all approved and rejected videos in thumbnail format in web page. so admin able to view all approved and rejected videos.
Note: This solution suitable for 5TB of videos because max size of the storage account is 5TB only and if QA team validate the videos on browser then this solution suite for .mp4 files because only .mp4 files streaming on all browsers, other formats can't play on browsers (tested this on Chrome, Firefox, IE, Edge, Safari browser).
Few advantages of Azure Media Services over Azure Storage account
- Azure Media Services provides the tools you need to create rich, dynamic client player applications for most platforms including: iOS Devices, Android Devices, Windows, Windows Phone, Xbox, and Set-top boxes. where as storage account provides the URL of the file only.
- You can scale Azure Media Services account by adding multiple storage accounts. Each storage account is limited to 500TB.
- You an create live and ondemand videos in Azure media services.
- Offline viewing involves a user downloading media onto their device.
- With the Azure media services, it is very much possible to live stream the video in different encoding formats
Comments
Post a Comment