简体   繁体   English

使用章节或时间轴标记在Azure Media Services中编码视频

[英]Encoding video in Azure Media Services with chapter or timeline markers

Is it possible to encode video in Azure Media Services with chapter or timeline markers, and if so, how? 是否可以使用章节或时间轴标记在Azure Media Services中对视频进行编码,如果可以,如何编码?

I understand that custom encoding presets are supported. 我了解支持自定义编码预设。 Outside of Azure Media Services, I was able to do what I am speaking of using the Microsoft Expression Encoder SDK, but I have yet to find this capability in Azure's offerings. 在Azure媒体服务之外,我可以使用Microsoft Expression Encoder SDK进行我所说的事情,但是我还没有在Azure的产品中找到此功能。

What do you intend to do with the chapter/timeline markers? 您打算如何使用章节/时间线标记? If you intend to generate a progressive download MP4 (or WMV) file, then the above response holds. 如果您打算生成渐进式下载MP4(或WMV)文件,则上述响应成立。 You can modify any of the published presets ( http://msdn.microsoft.com/en-us/library/dn619392.aspx ) for Azure Media Encoder with the Markers element: 您可以使用Markers元素修改Azure媒体编码器的任何已发布的预设( http://msdn.microsoft.com/en-us/library/dn619392.aspx ):

<MediaFile ...>
<Markers
  MergeCollection="False">
  <Marker
    Time="00:00:00"
    Value="ABC"
    GenerateKeyFrame="True"
    GenerateThumbnail="True" />
  <Marker
    Time="00:00:03.0000000"
    Value="DEF"
    GenerateKeyFrame="True"
    GenerateThumbnail="True" />
</Markers>
<OutputFormat>

... ...

You would have to ensure that the Marker entries were within the timeline of the input video, of course. 当然,您必须确保“标记”条目在输入视频的时间轴之内。

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

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