-
Notifications
You must be signed in to change notification settings - Fork 101
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
Changing bitrate while streaming #60
Comments
When I implemented dynamic property changes a while back, I tried the various properties to see which ones the encoder supports changing. Unfortunately, it rejects dynamic bitrate changes. gst-rpicamsrc can't do it without the Rpi firmware supporting it first. See https://github.com/thaytan/gst-rpicamsrc/blob/master/src/RaspiCapture.c#L1911 |
Correct that you can't change the port format whilst the port is enabled, but
should do it for you. |
I added the given line and I can confirm that it's working. This is quite a life saving help. Thank you very much. @thaytan could you please implement this? |
Oh cool! |
Please let me know if you have any trouble with it |
Use mmal_port_set_parameter_uint32 to update the encoder bitrate. Fixes thaytan/gst-rpicamsrc#60
Use mmal_port_set_parameter_uint32 to update the encoder bitrate. Fixes thaytan/gst-rpicamsrc#60
Hi,
Is there any chance to implement dynamic bitrate as x264enc supports. After setting pipeline to PLAYING state, even I change the bitrate property of rpicamsrc element, it doesn't change it's output bitrate. I'm coding it in C.
Thank you.
The text was updated successfully, but these errors were encountered: