如何将元数据添加到Azure媒体服务中的资产? [英] How to Add Metadata to assets in Azure Media Services?

查看:57
本文介绍了如何将元数据添加到Azure媒体服务中的资产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Azure媒体服务并上传,编码和流式传输视频.问题是,是否可以在Azure Media Services API中的某处附加视频标题,描述和标签?

I am using Azure Media Services and uploading, encoding and streaming videos. Question is, is there a way to attach video titles, descriptions and tags somewhere in Azure Media Services API?

其他详细信息:当我处理资产时,将在Azure Blob存储中创建一个新容器,并且当我单击Blob本身时,该容器具有用户定义的字段"(也称为元数据),我可以使用它们,但是我不确定它们是否公开到Azure Media API以及如何访问它们.

Additional details: When I process an asset, a new container in Azure Blob Storage is created, and when I click on the blob itself, it has "User Defined Fields" - aka metadata, I could use those, but I am not sure if they are exposed to Azure Media API at all and how to access them.

我搜索了所有的MS文档,但没有找到:/

I searched all over MS documentation and found nothing :/

推荐答案

感谢您的回答@George,我花了一个星期的时间进行尝试和搜索,然后尝试了您的建议,但最后得出的结论是Azure媒体API并非存储,索引器或任何会引起媒体处理服务的东西,因此应如此使用.[Du ...]

Thank you for your answer @George, I have spent a week trying and searching and tried what you suggested, but in the end, I came to a conclusion that Azure Media API is not a storage, indexer or anything bud a media processing service, and should be used as such. [Duh...]

因此,我的工作是将SQL数据库引入到我的抽象层中,该数据库将我的所有数据保留给我的资产,索引等.这还帮助我加快了系统速度,因为我不再调用AMS列出我的数据库资产-我在数据库中通过标题,描述,标签,子级父级等跟踪它们.

So what I deed is introduce SQL database to my abstraction layer that kept all my data for my assets, indexing, etc. That has also helped me to speed up my system, because I no longer make calls to AMS to list my assets - I keep track of them in my database with titles, descriptions, tags, child-parent hierarchy, etc.

这篇关于如何将元数据添加到Azure媒体服务中的资产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆