简体   繁体   English

Azure 可以使用 Speech-To-Text SDK 将 base64 编码的音频文件转换为文本吗?

[英]Can Azure turn base64 encoded audio file to text using the Speech-To-Text SDK?

I'm experimenting AZURE Speech-to-Text to convert audio to text.我正在试验 AZURE Speech-to-Text 将音频转换为文本。 For experimentation sake, I'm hardcoding the audio file name.为了实验,我对音频文件名进行了硬编码。 While I'm able to convert a single utterance (using recognize at once function), I'm unable to do the same for longer audios.虽然我能够转换单个话语(使用一次识别功能),但我无法为更长的音频做同样的事情。 Also has someone tried providing base64 encoded format to Azure Speech-To-Text?还有人尝试将 base64 编码格式提供给 Azure Speech-To-Text 吗? Are there any examples I can look at.有没有我可以看的例子。 AZURE documentation does not mention anything about base64 formats. AZURE 文档没有提及有关 base64 格式的任何内容。 Using the Flask web framework.使用 Flask web 框架。

As per this MS Document try using GStreamer for encoding Audio file to text using text to speech根据此MS 文档,尝试使用 GStreamer 使用文本到语音将音频文件编码为文本

在此处输入图像描述

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

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