What is mediastreamer2
mediastreamer2 is a powerful engine to make audio and video streams. mediastreamer2 is GPL (COPYING). Please understand the licencing details before using it!For any use of this library beyond the rights granted to you by the GPL license, please contact antisip at <jack@atosc.org>.
Some definitions.
Filter: A filter is a mediastreamer2 component that process data. A filter have 0 or several INPUT pins and 0 or several OUTPUT pins. Here is a list of possible use of filters:capture audio or video data. play audio or display video data. send or receive RTP data. encode or decode audio or video data. transform (resize video, resample audio...) data. duplicate any kind of data. mix audio/video data.Graph: A graph is a manager of filters connected together. It will transfer data from OUTPUT pins to INPUT pins and will be responsible for running filters.
How do I use mediastremer2?
Mediastreamer2 can be used for a lot of different purpose. The primary use is to manage RTP audio and video session. You will need to use the API to build filters, link them together in a graph. Then the ticker API will help you to start and stop the graph.Basic graph sample:
AUDIO CAPTURE -->

mediastreamer2是一个用于音频和视频处理的库,适用于Linux平台。它允许从驱动直接捕获音频数据并进行编码,支持多种格式如g711u、g711a、speex和gsm。通过其模块化设计,可以方便地替换编码过滤器以支持更多格式。基本使用示例中展示了如何构建音频处理图,包括音频捕捉、编码和RTP打包。

4141

被折叠的 条评论
为什么被折叠?



