Icecast-libshout icon indicating copy to clipboard operation
Icecast-libshout copied to clipboard

libshout and opus files.

Open fredvs opened this issue 8 years ago • 0 comments

Hello.

Wow for that great project.

Opus codec is used to play local opus-files and url-opus-files in a GitHub project.

https://github.com/fredvs/uos

All the C headers where translated in Pascal fpc code. It works great.

Now I want to do audio-web-streaming. It seems to me that Icecast+libshout would be the perfect choice.

I have translated the c header shout.h into Pascal fpc header, it works. https://github.com/fredvs/uos/blob/master/src/uos_shout.pas (By the way you are welcome to add it in your headers-addon).

Now the question:

What are the steps to use libshout ? In a loop, a buffer of pcm is filled. Could that buffer be used by libshout or must it be encoded into Opus-format ? With what method must that buffer be assigned ?

All example code is highly welcome (in each language).

Many thanks.

Fre;D

fredvs avatar Feb 10 '17 19:02 fredvs