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

libshout and opus files. #6

Open
fredvs opened this issue Feb 10, 2017 · 0 comments
Open

libshout and opus files. #6

fredvs opened this issue Feb 10, 2017 · 0 comments

Comments

@fredvs
Copy link

fredvs commented Feb 10, 2017

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

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

1 participant