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

Easy way to tap off frames pre-encoding #707

Open
rossGardiner opened this issue Sep 29, 2021 · 0 comments
Open

Easy way to tap off frames pre-encoding #707

rossGardiner opened this issue Sep 29, 2021 · 0 comments

Comments

@rossGardiner
Copy link

Hello,

My application requires an encoded h264 stream and a raw RGB/RGBA stream for further processing. Currently this is implemented by starting two streams from different split ports. This solution often throttles the encoder and causes frame skips, similar to #668 (comment) (especially since I execute on a RPi Zero w).

Is there an easy-ish way to tap off raw frames from the h264 encoder before encoding? (may involve writing a custom encoder). It is not clear from the library whether I could expect this solution to perform better than the double stream I have implemented.

Advice appreciated.
Thanks,
Ross

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