简体   繁体   English

如何从视频中提取图像作为 Azure 媒体服务 v3 中编码的一部分?

[英]How to extract images from video as part of encoding in Azure Media Services v3?

Here is what I am trying to do.这是我想要做的。

I am analyzing videos and based on my analysis I know at certain time intervals I need to capture a screenshot.我正在分析视频,根据我的分析,我知道在某些时间间隔我需要捕获屏幕截图。 I want this to be taken care of as part of encoding but I don't see any documentation that lets me achieve it in v3.我希望将此作为编码的一部分进行处理,但我没有看到任何可以让我在 v3 中实现它的文档。 Is this even possible in v3?这在 v3 中甚至可能吗?

This feature (key frames) is available on Video Indexer.此功能(关键帧)在视频索引器上可用。 More info in here:更多信息在这里:

https://docs.microsoft.com/en-us/azure/media-services/video-indexer/scenes-shots-keyframes https://docs.microsoft.com/en-us/azure/media-services/video-indexer/scenes-shots-keyframes

You can use the v3 APIs to generate thumbnails at fixed intervals.您可以使用 v3 API 以固定间隔生成缩略图。 In the sample here , you can see how the PngImage and PngFormat elements are used.此处的示例中,您可以看到如何使用 PngImage 和 PngFormat 元素。 You can also output JPEG images - the schema details are here .您还可以 output JPEG 图像 - 架构详细信息在这里

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

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