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

Is there a plan to support pcm->opus encoding? #34

Open
since1986 opened this issue Feb 1, 2023 · 2 comments
Open

Is there a plan to support pcm->opus encoding? #34

since1986 opened this issue Feb 1, 2023 · 2 comments

Comments

@since1986
Copy link

Summary

If I understand correctly, pion opus only support decoding operations, is there any plan to support encoding operations in the future?

Motivation

I've written a streaming-WebRTC gateway app that can convert av streams from streaming devices to WebRTC via pion, but now there's a tricky problem, the audio encoding provided by these media devices is usually aac (or can be set to pcm, which is configurable on the device), I can't find a library that implements pcm -> opus in pure go, only some library based on c-go (like this one). The c-go based library has some limitations (e.g. it can't be self-contained), so it would be nice if pion opus supported pcm->opus.

Describe alternatives you've considered

.

Additional context

.

@since1986
Copy link
Author

Also, is there a pure-go ffmpeg alternative? not wrappers

@Modestying
Copy link

Summary

If I understand correctly, pion opus only support decoding operations, is there any plan to support encoding operations in the future?

Motivation

I've written a streaming-WebRTC gateway app that can convert av streams from streaming devices to WebRTC via pion, but now there's a tricky problem, the audio encoding provided by these media devices is usually aac (or can be set to pcm, which is configurable on the device), I can't find a library that implements pcm -> opus in pure go, only some library based on c-go (like this one). The c-go based library has some limitations (e.g. it can't be self-contained), so it would be nice if pion opus supported pcm->opus.

Describe alternatives you've considered

.

Additional context

.

Hi, sir. How did you resolve this ? with hraban?
I noticed it not support cross compile,so i‘m worried about deployment with different platform.
Would you mind spend some minutes for me when you are free.....

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

2 participants