Skip to content

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