GNOME Bugzilla – Bug 785216
vaapivp8enc bitrate setting works only in certain range
Last modified: 2018-11-03 15:50:37 UTC
I am using GStreamer 1.12.0 on ubuntu zesty, compiled from sources. CPU is Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz. Here are versions of other, potentially important components: LIBVA_VERSION=1.8.2 INTEL_DRIVER_VERSION=5f479acd6d856c13be18321642eac8e9635b25c9 LIBDRM_VERSION=libdrm-2.4.80 I have found out that setting vaapivp8enc's bitrate parameters makes effect only within range that is approximately 900-13000. Any value below 900 results in +/- 900 and anything above 20000 results in +/- 13000 kbit/s. I have created sample pipeline and I have been monitoring traffic using iptraf-ng. It was done within Docker container, so there was no other traffic that might interfere with it. For values within that range the actual traffic was more less equal to bitrate being set. For lower/higher it was adjusted to 900 or 13000. gst-launch-1.0 videotestsrc is-live=true ! "video/x-raw,width=1280,height=720,framerate=15/1" ! vaapivp8enc bitrate=... rate-control=2 ! rtpvp8pay ! udpsink host=localhost port=5001
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/61.