简体   繁体   English

Azure 媒体播放器未在 MS Azure 媒体服务上播放上传的视频

[英]Azure media player not playing uploaded video on MS Azure Media Services

I'm trying to use Azure Media Services.我正在尝试使用 Azure 媒体服务。 For demo purpose I've uploaded a video directly on the portal then clicked to encode this uploaded video in 'H264 Smooth Streaming 720p' preset.出于演示目的,我直接在门户上上传了一个视频,然后单击以将此上传的视频编码为“H264 Smooth Streaming 720p”预设。
This scheduled a encoding job which generated another (off-course larger) file which I published to get the manifest file URL.这安排了一个编码作业,该作业生成了另一个(当然更大的)文件,我发布了该文件以获取清单文件 URL。

I can play this video on the portal itself but when I use the given URL I get the following error:我可以在门户本身上播放此视频,但是当我使用给定的 URL 时,出现以下错误:

A network error caused the video download to fail part-way.网络错误导致视频下载中途失败。 Please check your network connection or try again later.请检查您的网络连接或稍后重试。 (0x20200000) (0x20200000)

I'm taking help from this Channel9 video .我正在从这个 Channel9 视频中获得帮助。

Please help me on this.请帮我解决这个问题。

Please add &format=smooth to your URL and it should work!请将&format=smooth添加到您的 URL,它应该可以工作!

http://amsplayer.azurewebsites.net/azuremediaplayer.html?url=http%3A%2F%2Fmspocforknorish.streaming.mediaservices.windows.net%2F72496130-cb2d-455e-9ccd-420fcb506f1d%2FBigBuckBunny.ism%2FManifest&format=smooth http://amsplayer.azurewebsites.net/azuremediaplayer.html?url=http%3A%2F%2Fmspocforknorish.streaming.mediaservices.windows.net%2F72496130-cb2d-455e-9ccd-420fcb506f1d%2FIGMOTHISBUCKFORMAT=

Otherwise, on the page check "Advanced Options" checkbox and select Smooth from the Format dropdown and click on "Update" button.否则,在页面上选中“高级选项”复选框并从“ Format下拉列表中选择“ Smooth ”,然后单击“更新”按钮。

在此处输入图片说明

When you paste your URL into the URL input, delete the existing sample URL that is already there.当您将 URL 粘贴到 URL 输入中时,删除已经存在的现有示例 URL。 The existing URL looks like placeholder text but it is not.现有的 URL 看起来像占位符文本,但它不是。 I fell into that trap too.我也掉进了那个陷阱。

Here is a screenshot of your video playing and here is the URL of it playing .这是您的视频播放的屏幕截图,这是播放的 URL

在我的机器上播放的视频。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM