如何将AWS Kinesis视频流的音频流输出馈送到AWS Transcribe服务? [英] How to feed the audio stream output of the AWS Kinesis video stream to AWS Transcribe service?

查看:165
本文介绍了如何将AWS Kinesis视频流的音频流输出馈送到AWS Transcribe服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将AWS Kinesis视频流(KVS)的音频流输出馈送到AWS Transcribe服务并获得实时音频到文本的转换?我通过亚马逊连接到KVS(Kinesis视频流)摄取了音频,我担心的是,kinesis视频流(KVS)提供哪种格式(我希望其有效载荷格式),并将提供能够支持它的Transcribe服务或我可以转换为Transcribe的任何方式服务可以理解.

How to feed the audio stream output of the AWS Kinesis video stream (KVS) to AWS Transcribe service and get realtime audio to text conversion? I ingested audio via amazon connect to KVS(Kinesis video stream), My concern is, which format kinesis video stream (KVS) deliver (I hope its Payload format) and will Transcribe service able to support it or any way I can convert to Transcribe service understandable.

推荐答案

对我来说,尽管get-data-endpoint的输出是直接发送给单个命令行执行的,但我还是对AWS CLI进行了两阶段处理:

For me, I tinkered with the AWS CLI, two stage process although the output from the get-data-endpoint is sent directly for a single command line execution:

export ARN=arn:aws:kinesisvideo:XXX
aws kinesis-video-media get-media --stream-arn ${ARN} --start-selector StartSelectorType=EARLIEST outfile --endpoint-url `aws kinesisvideo get-data-endpoint --stream-arn ${ARN} --api-name GET_MEDIA --output text`

那给了我我可以处理的文件……显然,我所有的AWS凭证等都已配置.

that got me the file I could then deal with as I needed... obviously, all my AWS credentials and so on were configured.

HTH-罗伯特...

HTH - Robert...

这篇关于如何将AWS Kinesis视频流的音频流输出馈送到AWS Transcribe服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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