开发者

Wrap Raw Speex in OGG Container

开发者 https://www.devze.com 2023-03-24 02:12 出处:网络
开发者_运维问答are there any libraries that allow one to pack raw speex into an ogg container?
开发者_运维问答

are there any libraries that allow one to pack raw speex into an ogg container? I know Jspeex, but - as far as I can see - this library only handles Ogg/Speex and PCM. But I already have a Speex stream and want to wrap this in an Ogg container.

Thanks for your support


For Java, there is Ogg for Java.

For C, you can use libogg or liboggz. Here is an example which uses liboggz to encapsulate an audio stream encoded by libfishsound:

  • https://github.com/kfish/libfishsound/blob/master/src/examples/fishsound-encode.c
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号