Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后续是否支持音频转码? #8

Open
wusopp opened this issue Feb 20, 2021 · 3 comments
Open

后续是否支持音频转码? #8

wusopp opened this issue Feb 20, 2021 · 3 comments

Comments

@wusopp
Copy link

wusopp commented Feb 20, 2021

你好,请问现在是否支持推流 采用H264+MP3/g711a/g726/opus 等等,而拉流时在服务端转码为H264+AAC呢?

go 语言调用ffmpeg 转码性能怎么样呢?
如果不调用ffmpeg ,go语言是否有类似ffmpeg 的解码库?

谢谢

@alaiyeshi
Copy link

go没有类似ffmpeg的解码库,需要的话,可以用cgo的办法去调用
性能消耗主要在cgo的数据传递上,开销在容忍范围内

@wusopp
Copy link
Author

wusopp commented Feb 20, 2021

go没有类似ffmpeg的解码库,需要的话,可以用cgo的办法去调用
性能消耗主要在cgo的数据传递上,开销在容忍范围内

最近在调研下媒体服务,相比C++ ,go做集群太方便了。不足之处就是类似这种转码有些麻烦,有时间我试试cgo 这种开销性能怎么样,如果可以的话,后续服务要向go进行转换了。

谢谢提供的开源项目

@langhuihui
Copy link
Member

已经开始开发集成ffmpeg进行音频转码的插件了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants