gstreamer/ext
Mikhail Fludkov 7b390a8bbd vpxenc: Add new bit-per-pixel property to select a better "default" bitrate
As part of this also change the default bitrate value to 0. The default
value was 256000 previously. In reality, if the property was not set the
bitrate value would be scaled according to the resolution which is not
very intuitive behavior. It is better to use 0 for this purpose. Now
together with newly introduced property "bits-per-pixel" 0 means to
assign the bitrate according to resolution/framerate.

The default bitrates are now
 - 1.2Mbps for VP8 720p@30fps
 - 0.8Mbps for VP9 720p@30fps
and scaled accordingly for different resolutions/framerates.

Previously the default bitrate was also not scaled according to the
framerate but only took the resolution into account.

This also fixes the side effect of setting bitrate to 0. Previously
encoder would not produce any data at all.

Addition from Sebastian Dröge <sebastian@centricular.com> to assume
30fps if no framerate is given in the caps instead of not calculating
any bitrate at all.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/611>
2020-06-04 20:14:03 +00:00
..
aalib plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
cairo cairo: Use G_DECLARE_FINAL_TYPE 2020-03-12 19:24:57 +01:00
dv plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
flac plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
gdk_pixbuf plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
gtk meson: Fix gstgl checks for qt and gtk 2020-05-12 04:32:01 +05:30
jack plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
jpeg plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
lame plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
libcaca plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
libpng libpng: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
mpg123 mpg123: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
pulse pulse: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
qt qtoverlay: add the root item as a property 2020-05-20 19:37:32 +00:00
raw1394 raw1394: Use G_DECLARE_FINAL_TYPE 2020-03-16 09:20:07 +01:00
shout2 plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
soup soup: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
speex plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
taglib meson: Pass native: false to add_languages() 2020-05-13 19:25:33 +05:30
twolame plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
vpx vpxenc: Add new bit-per-pixel property to select a better "default" bitrate 2020-06-04 20:14:03 +00:00
wavpack plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
meson.build meson: Don't skip plugins that don't build with MSVC 2018-09-05 20:15:57 +05:30