How to feed the audio stream output of the AWS Kinesis video stream to AWS Transcribe service?

冷暖自知 提交于 2019-12-13 20:50:50

问题


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.


回答1:


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`

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

HTH - Robert...



来源:https://stackoverflow.com/questions/55204098/how-to-feed-the-audio-stream-output-of-the-aws-kinesis-video-stream-to-aws-trans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!