I have seen several answers in this forum saying that bitrate can be dynamically changed in the gst-omx encoder.
So, I tried to change the dynamic bit rate in the way in the forum below, but the bit rate change is not observed in the actual video.
g_object_set (G_OBJECT(encoder), "bitrate", 4000000, NULL);
I am working on a project for vp8, but after seeing in the forum that the dynamic bit rate cannot be changed for the vp9 format, I tried it with h264, but it still does not work.
My pipeline is this.
vp8: appsrc name=mysrc ! videoconvert ! omxvp8enc ! rtpvp8pay name=pay0 pt=96
h264: appsrc name=mysrc ! videoconvert ! omxh264enc ! h264parse ! rtph264pay name=pay0 pt=96
Is the method I referenced the way to change the dynamic bitrate? Is there another way?
If yes, do you know why the changed bit rate is not reflected?
Does h264 support dynamic change and vp8 not?