[Bug 698049] omxh264enc openmax API ignore output bitrate on Raspberry Pi

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 1 06:31:14 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698049
  GStreamer | gst-omx | 1.0.7

--- Comment #11 from Roman Arutyunyan <arutyunyan.roman at gmail.com> 2013-07-01 13:31:10 UTC ---
I've checked that again. It looks like I was wrong, it works without the first
part of patch. In fact self->enc is NULL (component is not created yet) so that
code is never executed.

So m][sko's code is enough for setting bitrate:
http://pastebin.com/2TUNyPef

Moreover I've found another way to set bitrate through
OMX_IndexParamVideoBitrate parameter. This patch works good as well:
http://pastebin.com/jwAbMfv7

In original gst_omx code this parameter is set in gst_omx_video_enc_open but it
has no effect since it seems to be lost if set before set_format call.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list