可以编码和流式传输MPEG-4音频吗? [英] Possible to encode and stream MPEG-4 audio?

查看:130
本文介绍了可以编码和流式传输MPEG-4音频吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是媒体开发的新手.我正在评估Media Foundation,将其作为通过MPEG-4/AAC(ISO/IEC 14496-3)在Intranet上流式传输生成的音频(已生成文本到语音)的一种可能的解决方案.我看到了AAC编码器和MPEG-4 在Windows 7/2008 R2中添加了 文件 接收器.但是我需要通过网络而不是文件输出MPEG-4音频流.

I am new to media development.  I am evaluating Media Foundation as a possible solution for streaming generated audio (text to speech already generated) over an intranet in MPEG-4 / AAC (ISO/IEC 14496-3).  I see the AAC encoder and the MPEG-4 File Sink added with Windows 7 / 2008 R2.  But I need to output the MPEG-4 audio stream over a network, not to a file.  Is that possible with Media Foundation?

推荐答案

凯文,

 

我不是Media Foundation的专家,但我目前正在研究它,我认为您可以通过网络发送MPEG-4音频流,而不仅是将其发送到文件中.看看 Media Foundation编码概述.在名为"Media Foundation Encoding Architecture"的段落中,显然可以做到... 对于多路复用过程,媒体接收器用于多路复用流并将多路复用的流写入文件或网络."

I am not an expert in Media Foundation, but I am currently working on it, and I think you can send MPEG-4 audio stream over a network, and not only into a file. Have a sight on the Media Foundation encoding overview. In the paragraph named "Media Foundation Encoding Architecture", it clearly appears that you can do it... "For the multiplexing process, Media Sinks are used to multiplex the streams and write the multiplexed stream to a file or network."

对于您的应用程序,只需对音频流进行编码(因为您没有视频流),例如,使用AAC编码器.

For your application, just use encoding of audio streams (because you do not have video streams) with, for exemple, AAC Encoder.

而且,我猜想,通过遵守您要使用的格式(例如UDP,TCP,HTTP标头...)来通过网络传输数据.

And, I guess, transmit data through a netword by respecting the format you want to use (e.g. UDP, TCP, HTTP headers...).

 

希望有帮助.

致谢.

 

Julien.


这篇关于可以编码和流式传输MPEG-4音频吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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