简体   繁体   English

我是否需要将 Azure 媒体服务和播放器用于纯音频应用程序

[英]Do I need to use Azure Media Services and Player for audio only application

I'm looking to build an ASP.NET application that will allow users to upload audio files (only) and playback the media through the site.我希望构建一个 ASP.NET 应用程序,该应用程序将允许用户上传音频文件(仅)并通过站点播放媒体。 I was planning to use Azure Blob Storage to hold the media but do I need to use Azure Media Services and Player for upload and playback?我计划使用 Azure Blob 存储来保存媒体,但我是否需要使用 Azure 媒体服务和播放器进行上传和播放?

Is using Azure Media Services and Player over the top for audio as all the examples I can find concentrate on Video.正在使用 Azure 媒体服务和播放器作为音频的所有示例,我可以找到专注于视频的所有示例。

Any help or advice gratefully received.感谢您收到任何帮助或建议。

You do not need to use Azure Media Services or the AMP (Azure Media Player) for upload and playback.无需使用 Azure 媒体服务或 AMP(Azure 媒体播放器)进行上传和播放。

The key benefit (for me, at least) of using AMP使用 AMP 的主要好处(至少对我而言)

AMP can recognize which platform (iOS, Android, browser, etc) your user is on, and then scaffolding code to distribute the appropriate video file (ex: HLS on iOS, Smooth Streaming on MSFT platforms, DASH where it is supported). AMP 可以识别您的用户在哪个平台(iOS、Android、浏览器等)上,然后构建代码以分发适当的视频文件(例如:iOS 上的 HLS、MSFT 平台上的平滑流、支持它的 DASH)。 Now, the media player will handle all of that for you.现在,媒体播放器将为您处理所有这些。

Uploading video上传视频

You can do this programmatically , either through a web app or compiled app that you write, or through Visual Studio's built-in upload tool.您可以通过您编写的 Web 应用程序或编译的应用程序,或者通过 Visual Studio 的内置上传工具,以编程方式执行此操作 You'll need the Azure SDK installed to do this.你需要安装Azure SDK来执行此操作。

Uploading directly to blob storage直接上传到 Blob 存储

You do not need to upload your video to Azure Media Services directly.无需将视频直接上传到 Azure 媒体服务。 Instead, you can upload to a blob storage account (this is what I do), and then have your Azure Media Services account point to your blob storage.相反,您可以上传到 Blob 存储帐户(我就是这样做的),然后让您的 Azure 媒体服务帐户指向您的 Blob 存储。

The reason I do this is because I can more easily organize and manage my files in there, either by naming my blob of the folders within it.我这样做的原因是因为我可以更轻松地组织和管理我的文件,或者通过命名其中的文件夹 blob。

Supported input formats for Azure Media Services Azure 媒体服务支持的输入格式

Various video, audio, and image file types can be uploaded to a Media Services account, with there being no restriction on the types or formats of files that you can upload using the Media Services SDK.可以将各种视频、音频和图像文件类型上传到媒体服务帐户,您可以使用媒体服务 SDK 上传的文件类型或格式没有限制。 However, the Azure Management portal restricts uploads to the formats that are supported by the Azure Media Encoder.但是,Azure 管理门户将上传限制为 Azure 媒体编码器支持的格式。 Content encoded with the following video codecs may be imported into Media Services for processing by Azure Media Encoder:使用以下视频编解码器编码的内容可以导入媒体服务以供 Azure 媒体编码器处理:

  • H.264 (Baseline, Main, and High Profiles) H.264(基线、主要和高级配置文件)
  • MPEG-1 MPEG-2 (Simple and Main Profile) MPEG-1 MPEG-2(简单和主要配置文件)
  • MPEG-4 v2 (Simple Visual Profile and Advanced Simple Profile) MPEG-4 v2(简单视觉配置文件和高级简单配置文件)
  • VC-1 (Simple, Main, and Advanced Profiles) VC-1(简单、主要和高级配置文件)
  • Windows Media Video (Simple, Main, and Advanced Profiles) Windows Media 视频(简单、主要和高级配置文件)
  • DV (DVC, DVHD, DVSD, DVSL) DV(DVC、DVHD、DVSD、DVSL)

More information更多信息

I have more detailed information on all of this in a series of blog post tutorials on the subject. 我在有关该主题的一系列博客文章教程中提供了有关所有这些的更详细信息。 Let me know if there is anything more that I can do to clarify.如果还有什么我可以做的澄清,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将相同的输出资产用于Azure Media Services中的2个作业任务 - Use same output asset for 2 job tasks in Azure Media Services Microsoft Azure Media Player在定义的时间开始 - Microsoft Azure Media Player Start At Defined Time Azure Media Player Silverlight后备无法正常工作 - Azure Media Player Silverlight fallback not working 在Azure Web角色中托管的ASP.NET MVC3应用程序中是否需要SessionStateModule? - Do I need SessionStateModule in my ASP.NET MVC3 application hosted in Azure web role? 我需要下载Microsoft Internet信息服务吗? - Do I need to download Microsoft Internet Information Services? 我需要一个MP3播放器 - I need an MP3 player 我需要在Mef实例化类中使用静态TopicClient属性来强制在Web应用程序中使用单个TopicClient吗? - Do I need a static TopicClient property in an Mef instantiated class to enforce the use of a single TopicClient in my web application? 我是否需要在ASP .NET 4.6应用程序中强制使用TLS 1.2? - Do I need to force the use of TLS 1.2 in my ASP .NET 4.6 application? 如果我目前仅需要1个属性,是否需要上课? - Do I Need a Class if I only need 1 Property (at the moment)? 海报图像在视频中不起作用,并且azure媒体播放器的版本1.5.0更新 - Poster image is not working in videos, with version 1.5.0 update of azure media player
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM