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

Feature/ogg opus wrapper #108

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

OracleE3
Copy link

@OracleE3 OracleE3 commented Jul 8, 2024

I made a class that just wraps pre-encoded opus data in an ogg stream instead of encoding PCM data and wrapping it. I needed it for an opus stream from a camera. It seems to work with FFMPEG. It seems like this could be useful to others, so I thought I would submit a PR.

Please let me know if I've done something foolish. I did not handle the pre-skip stuff at all, which may be an issue, but I don't know many of the low-level opus settings the camera is using (frame size, pre-skip, etc.) and I've had a hard time finding out how to infer them from the opus packets (if that's even possible)

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

Successfully merging this pull request may close these issues.

1 participant