gstreamer/ext/vpx
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
..
gstvp8dec.c docstrings: port ulinks to markdown links 2019-08-23 18:56:01 +02:00
gstvp8dec.h vpx: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
gstvp8enc.c docstrings: port ulinks to markdown links 2019-08-23 18:56:01 +02:00
gstvp8enc.h vpx: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
GstVP8Enc.prs vpx: Rename vp8 plugin to vpx 2012-09-16 15:33:57 +02:00
gstvp8utils.c Fix FSF address 2012-11-04 00:07:18 +00:00
gstvp8utils.h vpx: remove compatibility defines 2014-11-01 15:40:44 +00:00
gstvp9dec.c vp9dec: Fix broken 4:4:4 8bits decoding 2019-11-29 21:42:47 +00:00
gstvp9dec.h vpx: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
gstvp9enc.c vpxenc: Add new bit-per-pixel property to select a better "default" bitrate 2020-06-04 20:14:03 +00:00
gstvp9enc.h vpx: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
gstvpxdec.c plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:09 -04:00
gstvpxdec.h vpx: Use G_DECLARE_FINAL_TYPE 2020-03-16 12:35:42 +01:00
gstvpxenc.c vpxenc: Add new bit-per-pixel property to select a better "default" bitrate 2020-06-04 20:14:03 +00:00
gstvpxenc.h vpxenc: Add new bit-per-pixel property to select a better "default" bitrate 2020-06-04 20:14:03 +00:00
meson.build vpx: Error out if enabled and no features found 2019-11-05 21:42:12 +05:30
plugin.c vpx: Add initial, experimental VP9 support 2013-06-21 18:22:12 +02:00