From d158e78ef8cb19d089270bbd907f122831e51162 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Thu, 17 Jan 2019 02:36:52 +0000 Subject: Release 1.15.1 --- ChangeLog | 1404 ++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 1051 +++++++++++++++++++++++++++++++++++-- RELEASE | 34 +- configure.ac | 14 +- gstreamer-vaapi.doap | 10 + meson.build | 2 +- 6 files changed, 2453 insertions(+), 62 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1b1e9287..00a7314e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1407 @@ +=== release 1.15.1 === + +2019-01-17 02:36:52 +0000 Tim-Philipp Müller + + * ChangeLog: + * NEWS: + * RELEASE: + * configure.ac: + * gstreamer-vaapi.doap: + * meson.build: + Release 1.15.1 + +2019-01-17 02:36:52 +0000 Tim-Philipp Müller + + * docs/plugins/inspect/plugin-vaapi.xml: + Update docs + +2019-01-14 19:35:34 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiencoder.c: + libs: encoder: refactor to avoid code duplication + gst_vaapi_encoder_put_frame() and gst_vaapi_encoder_flush() duplicates + the same code segment where the coded buffer is created, the picture + encoded on it and pushed to the async queue. + The function gst_vaapi_encoder_encode_and_queue() refactor this. + +2019-01-14 18:21:30 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiencoder.c: + * gst-libs/gst/vaapi/gstvaapiencoder.h: + * gst-libs/gst/vaapi/gstvaapiencoder_h264.c: + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + * gst-libs/gst/vaapi/gstvaapiencoder_priv.h: + libs: encoder: h264/h265: flush pending ordered pictures + In order to flush the pending pictures, a new internal encoder vmethod + is used: get_pending_reordered() + This method follows an iterator pattern which will return the next + picture to encode and push. + The base encoder will call this function in a loop when flush() is called. + For now, only H.264 and H.265 encoders implement this flushing mechanism. + +2018-12-06 10:18:53 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiencoder.c: + * gst-libs/gst/vaapi/gstvaapiencoder.h: + * gst-libs/gst/vaapi/gstvaapiencoder_h264.c: + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + libs: encoder: h264/h265: fix encode lose frame issue. + Instead of dropping all remain frames in reorder_frame_list during + flush, keep encoding. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/97 + +2019-01-15 14:33:11 +0800 Wangfei + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: before set surface proxy, check if it already been created and exist. + Fix the deinterlace black frame when playing with glimagesink: + gst-launch-1.0 filesrc location=test.264 ! h264parse ! vaapih264dec \ + ! vaapipostproc deinterlace-mode=1 deinterlace-method=1 ! glimagesink + +2019-01-11 13:48:29 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiutils.c: + vaapipostproc: clean up USE_VA_VPP macro since it already removed from configure file. + +2018-12-26 14:36:23 +0800 Haihao Xiang + + * gst-libs/gst/vaapi/meson.build: + * gst/vaapi/meson.build: + * meson.build: + * tests/meson.build: + meson: build h264 fei encoder if possible + +2018-12-26 14:04:08 +0800 Haihao Xiang + + * configure.ac: + configure: bump the minimum wayland version requirement to 1.11.0 + +2018-12-24 12:58:53 +0800 Haihao Xiang + + * configure.ac: + * gst-libs/gst/vaapi/Makefile.am: + * gst-libs/gst/vaapi/gstvaapibufferproxy.c: + * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h: + * gst-libs/gst/vaapi/gstvaapicodec_objects.c: + * gst-libs/gst/vaapi/gstvaapicompat.h: + * gst-libs/gst/vaapi/gstvaapicontext.c: + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapiencoder_objects.c: + * gst-libs/gst/vaapi/gstvaapifilter.c: + * gst-libs/gst/vaapi/gstvaapiprofile.c: + * gst-libs/gst/vaapi/gstvaapisurface.c: + * gst-libs/gst/vaapi/gstvaapiutils.c: + * gst-libs/gst/vaapi/gstvaapiutils_core.c: + * gst-libs/gst/vaapi/meson.build: + * gst/vaapi/Makefile.am: + * gst/vaapi/gstvaapi.c: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapidecodebin.c: + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/meson.build: + * meson.build: + * tests/decoder.c: + * tests/simple-decoder.c: + vaapi: bump the minimum vaapi version requirement to 0.39.0 + And reduce unnecessary API version and structures check as well. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/108 + +2018-12-22 18:07:35 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiwindow.c: + * gst-libs/gst/vaapi/gstvaapiwindow.h: + * gst-libs/gst/vaapi/gstvaapiwindow_glx.c: + * tests/test-decode.c: + * tests/test-filter.c: + * tests/test-subpicture.c: + * tests/test-textures.c: + * tests/test-windows.c: + libs: window: remove custom ref() and unref() + Use gst_object_ref() and gst_object_unref() instead. + +2018-12-22 13:25:09 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiwindow.c: + * gst-libs/gst/vaapi/gstvaapiwindow_drm.c: + * gst-libs/gst/vaapi/gstvaapiwindow_egl.c: + * gst-libs/gst/vaapi/gstvaapiwindow_glx.c: + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c: + * gst-libs/gst/vaapi/gstvaapiwindow_x11.c: + libs: window: use its own debug category + +2018-12-22 18:02:38 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiwindow.c: + * gst-libs/gst/vaapi/gstvaapiwindow.h: + * gst-libs/gst/vaapi/gstvaapiwindow_drm.c: + * gst-libs/gst/vaapi/gstvaapiwindow_drm.h: + * gst-libs/gst/vaapi/gstvaapiwindow_egl.c: + * gst-libs/gst/vaapi/gstvaapiwindow_egl.h: + * gst-libs/gst/vaapi/gstvaapiwindow_glx.c: + * gst-libs/gst/vaapi/gstvaapiwindow_glx.h: + * gst-libs/gst/vaapi/gstvaapiwindow_priv.h: + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c: + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.h: + * gst-libs/gst/vaapi/gstvaapiwindow_x11.c: + * gst-libs/gst/vaapi/gstvaapiwindow_x11.h: + * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h: + libs: window: refactor as gobject + This is another step in the gobjectification of the internal library + of gstreamer-vaapi. Now it is the turn of GstVaapiWindow and its + derivates. + The idea is to minimize the changeset keeping the same design as + much as possible. + GstVaapiWindow is defined as an abstract class with two properties: + the GstVaapiDisplay and the native ID. Thus, many of the + GstVaapiObject macros were copied as GstVaapiWindow macros. + The function gst_vaapi_window_new_internal() is kept as a decorator + of for calling gst_vaapi_window_create() and the possibility of + failure. + The descendant classes, such as glx, still use the private + structures, but through the gobject mechanism. + +2018-12-03 22:05:29 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapifilter.c: + libs: filter: use its own debug category + +2018-12-24 14:08:42 +0800 He Junyan + + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/gstvaapipluginbase.h: + * gst/vaapi/gstvaapipostproc.c: + * gst/vaapi/gstvaapisink.c: + plugins: Add more check for allowed raw caps. + The gst_vaapi_plugin_base_get_allowed_raw_caps is used for both sink + pad and src pad, which cause some bugs. For sink pad, we need to verify + vaPutImage() while for the src pad we need to verify vaGetImage(). + For vaapidecoderXXX kind of plugins, the case is more complex. We need + to verify whether the decoded result(in some surface, NV12 format most + of the time) can be vaGetImage to some raw image format. Add more check + to fix all these problems. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/123 + Signed-off-by: He Junyan + +2018-12-18 10:44:21 +0800 Wangfei + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: fix csc fail when only change width or height. + +2018-12-15 09:47:15 +0900 Wonchul Lee + + * tests/elements/meson.build: + meson: Add gtk guard + +2018-12-15 14:48:03 +0800 Wangfei + + * gst/vaapi/gstvaapiencode_h264.c: + libs: enc: h264: set max profile idc with correct profile. + Use the highest rank of available profile as the max profile to + set max idc value. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/124 + +2018-12-03 13:56:52 +0100 Niels De Graef + + * gst-libs/gst/vaapi/gstvaapidisplay_drm.c: + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c: + * gst-libs/gst/vaapi/gstvaapidisplay_x11.c: + Use G_DEFINE_TYPE_WITH_PRIVATE if applicable + This gets rid of the strange `do_init` macro and makes the intent a bit + more clear. + +2018-12-05 17:24:53 -0300 Thibault Saunier + + * common: + Automatic update of common submodule + From ed78bee to 59cb678 + +2018-11-27 09:47:44 -0500 Wangfei + + * gst-libs/gst/vaapi/gstvaapiimage.c: + * gst-libs/gst/vaapi/gstvaapiprofile.c: + * gst-libs/gst/vaapi/gstvaapiprofile.h: + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + * gst-libs/gst/vaapi/video-format.c: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapipluginutil.h: + libs: dec: h265: support decode for main-444 10bit streams. + Add 444 10bit yuv format Y410, which can be used to decode + main-444 10bit streams. Currently, this feature is only + supported by media-driver in Icelake. + +2018-11-28 05:56:44 +0200 Jordan Petridis + + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapisink.c: + Run gst-indent through the files + This is required before we enabled an indent test in the CI. + https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/33 + +2018-11-14 13:11:56 +0800 He Junyan + + * gst/vaapi/gstvaapipluginbase.c: + plugins: modify image check of extract_allowed_surface_formats. + The extract_allowed_surface_formats function just check whether + we can support some kind of surface/image format pair. We just + need to create a surface, create an image with the same video-format + and putImage from image to surface. All these operations success, + that kind of video-format is supported. + The old manner do not work for some kind of video-format. For example, + the RGBA kind of format will create a NV12 surface and RGBA image, + and the putImage will fail because the format is not same. And so + the RGBA format is not supported but actually it is supported. + +2018-11-14 11:34:20 +0100 Michael Olbrich + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: add some missing locking + gst_vaapi_plugin_base_close() removed the raw caps that are used indirectly + in gst_vaapipostproc_transform_caps(). The usage is already protected by + the mutex. + This is needed when the pipeline is stopped during startup. + +2018-11-20 16:07:44 +0800 Xiang, Haihao + + * gst/vaapi/gstvaapivideomemory.c: + Close dmabuf_fd + Otherwise it will result in resource leak when failed to create + dmabuf memory + +2018-11-12 13:39:51 +0100 Michael Olbrich + + * gst/vaapi/gstvaapiencode.c: + vaapiencode: don't start src pad task in set_format + Otherwise the task may be restarted during shutdown. Start the task in + gst_vaapiencode_handle_frame() instead. + +2018-11-14 13:52:48 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiprofile.c: + * gst-libs/gst/vaapi/gstvaapiprofile.h: + * gst-libs/gst/vaapi/gstvaapiutils.c: + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapipluginutil.h: + libs: dec: h265: support decode for main-444 8bit streams. + Add 444 8bit yuv format AYUV, which can be used to decode + main-444 8bit streams. Currently, this feature is only + supported by media-driver in Icelake. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/119 + +2018-11-12 17:43:54 +0100 Víctor Manuel Jáquez Leal + + * .gitlab-ci.yml: + Add Gitlab CI configuration + This commit adds a .gitlab-ci.yml file, which uses a feature + to fetch the config from a centralized repository. The intent is + to have all the gstreamer modules use the same configuration. + The configuration is currently hosted at the gst-ci repository + under the gitlab/ci_template.yml path. + Part of https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/29 + +2018-11-09 22:03:43 +0800 He Junyan + + * gst-libs/gst/vaapi/gstvaapisurface.h: + * gst-libs/gst/vaapi/gstvaapiutils.c: + libs: Sync the GstVaapiChromaType to VA header file. + Add more kinds of chrometype which will be used to describe + new video formats. Sync it with 1.4.0 version header file. + Alse delete useless GST_VAAPI_CHROMA_TYPE_YUV410 chrome type. + Signed-off-by: He Junyan + +2018-11-09 23:55:05 +0000 Tim-Philipp Müller + + * gst-libs/gst/vaapi/meson.build: + meson: link with -lm + Fixes #117 hopefully. + +2018-11-09 23:46:53 +0000 Tim-Philipp Müller + + * meson.build: + meson: bump meson required to 0.47 for feature options + +2018-11-06 14:38:08 +0800 Junyan He + + * gst-libs/gst/vaapi/video-format.c: + libs: Modify the video format of endianness. + We lack some video format because endianness declare. + The video format should not directly relate to endianness. For example, + ARGB on big endian should not be simplely seen as BGRA on little endian + machine. We should provide endianess convert or format convert help + functions if endianness does not match. + https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/112 + Signed-off-by: Junyan He + +2018-10-17 18:36:52 +0800 Junyan He + + * gst/vaapi/gstvaapipluginutil.c: + plugins: Fix build error when GL is enabled while EGL is disabled. + gl_platform_type in gst_vaapi_get_display_type_from_gl_env generate + unused-variable warning and may block build when Werror enabled. + Several functions like gst_vaapi_display_egl_new_with_native_display + have no prototype warning and link error when GL is enabled but EGL + is disabled. Fix all these warning and link error. + https://bugzilla.gnome.org/show_bug.cgi?id=797358 + Signed-off-by: Junyan He + +2018-11-03 15:06:09 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c: + * gst-libs/gst/vaapi/gstvaapifeienc_h264.c: + libs: encoder: h264/h264fei: remove unuseless code. + The variable are set twice, remove previous one. + https://bugzilla.gnome.org/show_bug.cgi?id=797365 + +2018-11-03 15:28:35 +0800 Wangfei + + * tests/simple-encoder.c: + * tests/test-fei-enc-in.c: + tests: check return value when using gst_buffer_map. + https://bugzilla.gnome.org/show_bug.cgi?id=797366 + +2018-11-02 16:50:47 +0100 Víctor Manuel Jáquez Leal + + * meson.build: + * meson_options.txt: + * tests/elements/meson.build: + * tests/meson.build: + build: meson: build examples + +2018-11-02 16:50:00 +0100 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/meson.build: + build: meson: declare headers for libgstvaapi + Thus handling its recompilation if needed. + +2018-11-05 05:41:13 +0000 Matthew Waters + + * .gitmodules: + Update common submodule location + Remove the git directory + +2018-11-05 13:00:28 +0800 Haihao Xiang + + * .gitmodules: + * gstreamer-vaapi.doap: + Clone the code from gitlab + This fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/116 + +2018-10-24 14:18:37 -0400 Wangfei + + * gst-libs/gst/vaapi/gstvaapiimage.c: + * gst-libs/gst/vaapi/gstvaapisurface.h: + * gst-libs/gst/vaapi/gstvaapiutils.c: + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + * gst-libs/gst/vaapi/video-format.c: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapipluginutil.h: + libs: dec: h265: support decode for main-10-422 10bit streams. + Add 422 10bit yuv format Y210, which can be used to decode + main-10-422 10bit streams. Currently, this feature is only + supported by media-driver in Icelake. + https://bugzilla.gnome.org/show_bug.cgi?id=797264 + +2018-10-13 15:00:32 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapicontext.c: + libs: context: roi_rc_qp_delta_support should not be checked when CQP. + VA_ROI_RC_QP_DELTA_SUPPORT return value will be ignored when the + rate control mode is set as CQP. In CQP mode, it shouldn't check + roi_rc_qp_delta_support return value from driver backend. + https://bugzilla.gnome.org/show_bug.cgi?id=797087 + +2018-10-15 17:55:24 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: fix classification string + The classification string is splitted by '/' and then looks for the + components. + This patch removes the ';' by unifying all the components. + +2018-10-15 16:05:02 +0100 Philippe Normand + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: Add Hardware classifier to metadata + +2018-10-12 16:37:34 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapicontext.c: + libs: context: create context first before using it to create surface. + In gst_vaapi_context_reset(), if the context has to be destroyed, make + sure to create it first before allocating its associated surfaces. + This patch fixes a regression introduced in commit 82872f4 because + the formats available in the current context now are ensured before + creating the context's surfaces. + https://bugzilla.gnome.org/show_bug.cgi?id=797277 + +2018-10-12 15:39:53 +0100 Philippe Normand + + * docs/plugins/inspect/plugin-vaapi.xml: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapiencode_h264.c: + * gst/vaapi/gstvaapiencode_h264_fei.c: + * gst/vaapi/gstvaapiencode_h265.c: + * gst/vaapi/gstvaapiencode_jpeg.c: + * gst/vaapi/gstvaapiencode_mpeg2.c: + * gst/vaapi/gstvaapiencode_vp8.c: + * gst/vaapi/gstvaapiencode_vp9.c: + gst: Advertise elements interacting with hardware devices + +2018-10-01 09:26:05 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapicontext.c: + * gst-libs/gst/vaapi/gstvaapisurface.c: + * gst-libs/gst/vaapi/gstvaapisurface.h: + libs: context: query surface format before context to create surface. + Before using context to create surface, the supported surface format + should be checked first. + https://bugzilla.gnome.org/show_bug.cgi?id=797222 + +2018-10-09 17:23:55 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiimage.c: + * gst-libs/gst/vaapi/gstvaapivalue.c: + libs: replace g_error with GST_ERROR + And handle those errors rather than halting. + +2018-10-09 17:23:30 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiimage.c: + * gst-libs/gst/vaapi/gstvaapisubpicture.c: + * gst-libs/gst/vaapi/gstvaapisurface.c: + libs: replace g_warning with GST_WARNING + +2018-09-26 14:55:32 -0500 Matteo Valdina + + * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c: + * gst-libs/gst/vaapi/gstvaapiutils_h264.c: + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + * gst-libs/gst/vaapi/gstvaapiutils_mpeg2.c: + libs: Move from g_debug to GST_DEBUG. + https://bugzilla.gnome.org/show_bug.cgi?id=797202 + +2018-10-04 02:20:10 +0800 Soon, Thean Siew + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: change the way of handling deinterlace + The current vaapipostproc calls driver's video processing + pipeline for deinterlacing only if it is Advance deinterlacing. + Modify in the way that it always tries with driver's video + processing pipeline for deinterlacing, and falls back to software + method of appending picture structure meta data only if it fails + with driver's method. + https://bugzilla.gnome.org/show_bug.cgi?id=797095 + +2018-09-24 16:54:29 -0500 Matteo Valdina + + * gst-libs/gst/vaapi/gstvaapiutils_h264.c: + * gst-libs/gst/vaapi/gstvaapiutils_h264.h: + libs: h264: Update level table to "Recommendation H.264 (04/17)". + Added level 6, 6.1 and 6.2. Reference Table A-1 – Level limits + from T-REC-H.264-201704. + https://bugzilla.gnome.org/show_bug.cgi?id=797202 + +2018-09-20 09:57:33 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + * gst-libs/gst/vaapi/gstvaapiprofile.c: + * gst-libs/gst/vaapi/gstvaapiprofile.h: + * gst-libs/gst/vaapi/gstvaapisurface.c: + * gst-libs/gst/vaapi/gstvaapiutils.c: + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + * gst-libs/gst/vaapi/gstvaapiutils_h265_priv.h: + * gst-libs/gst/vaapi/video-format.c: + * gst-libs/gst/vaapi/video-format.h: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/gstvaapipluginutil.h: + libs: dec: h265: add 422 chroma format support. + Add main-422-10 profile which support 422 chroma format stream. + Currently, this feature is only supported by media-driver in Icelake. + https://bugzilla.gnome.org/show_bug.cgi?id=797143 + +2018-09-26 19:34:06 +0200 U. Artie Eoff + + * tests/y4mreader.c: + tests: include sysdeps.h in compilation unit + Fixes https://bugzilla.gnome.org/show_bug.cgi?id=797204 + Signed-off-by: U. Artie Eoff + +2018-09-26 18:04:53 +0200 Víctor Manuel Jáquez Leal + + * tests/y4mreader.c: + * tests/y4mreader.h: + tests: fix compilation + https://bugzilla.gnome.org/show_bug.cgi?id=797204 + +2018-09-25 20:28:02 +0200 Víctor Manuel Jáquez Leal + + * tests/y4mreader.h: + tests: don's use sysdeps.h in header + +2018-09-14 19:30:56 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiutils.h: + libs: utils: no need of include config.h + +2018-09-13 18:12:02 +0200 Víctor Manuel Jáquez Leal + + * tests/decoder.c: + * tests/output.c: + * tests/test-decode.c: + * tests/test-subpicture.c: + tests: remove already include string.h + Since sysdeps.h includes string.h there's no need to include it again. + +2018-09-13 18:11:25 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapicodec_objects.c: + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c: + * gst-libs/gst/vaapi/gstvaapidecoder_objects.c: + * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c: + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay_drm.c: + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c: + * gst-libs/gst/vaapi/gstvaapidisplay_x11.c: + * gst-libs/gst/vaapi/gstvaapiimage.c: + * gst-libs/gst/vaapi/gstvaapiprofile.c: + * gst-libs/gst/vaapi/gstvaapisubpicture.c: + * gst-libs/gst/vaapi/gstvaapiutils_glx.c: + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c: + * gst-libs/gst/vaapi/gstvaapiwindow_x11.c: + libs: remove already include string.h + Since sysdeps.h includes string.h there's no need to include it again. + +2018-09-13 18:26:27 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiobject.h: + * gst-libs/gst/vaapi/gstvaapiobject_priv.h: + * gst/vaapi/gstvaapivideometa_texture.c: + libs: object: separation of internal API and plugins + Removed exposed macros GST_VAAPI_OBJECT_DISPLAY() and + GST_VAAPI_OBJECT_ID() to plugins, keeping them only for internal + library usage. + The purpose is readability. + https://bugzilla.gnome.org/show_bug.cgi?id=797139 + +2018-09-13 16:34:54 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiparser_frame.h: + libs: parser_frame: change macros for inlined functions + https://bugzilla.gnome.org/show_bug.cgi?id=797139 + +2018-09-13 16:10:13 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapicodedbufferproxy.c: + * gst-libs/gst/vaapi/gstvaapisurfaceproxy.c: + * gst-libs/gst/vaapi/gstvaapivideopool.c: + * gst-libs/gst/vaapi/gstvaapivideopool_priv.h: + libs: videopool: remove unneeded code + The removed code comes frome the bad practice of copy&paste. Better + move it as internal function. + https://bugzilla.gnome.org/show_bug.cgi?id=797139 + +2018-09-13 12:22:42 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/Makefile.am: + * gst-libs/gst/vaapi/gstvaapibufferproxy.c: + * gst-libs/gst/vaapi/gstvaapibufferproxy_priv.h: + * gst-libs/gst/vaapi/gstvaapiminiobject.c: + * gst-libs/gst/vaapi/gstvaapiminiobject.h: + * gst-libs/gst/vaapi/gstvaapiobject.c: + * gst-libs/gst/vaapi/gstvaapiobject_priv.h: + * gst-libs/gst/vaapi/gstvaapipixmap.c: + * gst-libs/gst/vaapi/gstvaapipixmap_priv.h: + * gst-libs/gst/vaapi/gstvaapitexture.c: + * gst-libs/gst/vaapi/gstvaapitexture_priv.h: + * gst-libs/gst/vaapi/gstvaapiwindow.c: + * gst-libs/gst/vaapi/gstvaapiwindow_priv.h: + * gst-libs/gst/vaapi/meson.build: + libs: remove dependency on IN_LIBGSTVAAPI_CORE + This conditional code was when libgstvaapi was intended to be library + used outside GStreamer. This not the case anymore, thus removing it. + https://bugzilla.gnome.org/show_bug.cgi?id=797139 + +2018-09-19 10:16:36 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiutils_h265.c: + libs: dec: h265: fix the macros used for IDC profile + profile_idc flag in SPS only indicate the IDC profile, which may + need some other flags together to get the real profile. + https://bugzilla.gnome.org/show_bug.cgi?id=797160 + +2018-09-12 19:06:22 +0900 Jimmy Ohn + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay_drm.c: + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c: + * gst-libs/gst/vaapi/gstvaapidisplay_x11.c: + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c: + libs: use g_clear_pointer() when possible + https://bugzilla.gnome.org/show_bug.cgi?id=797131 + +2018-09-03 13:56:52 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapifilter.h: + libs: filter: add gobject's cleanup function + +2018-05-22 14:28:40 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapifilter.c: + * gst-libs/gst/vaapi/gstvaapifilter.h: + * gst-libs/gst/vaapi/gstvaapisurface_egl.c: + * tests/test-filter.c: + libs: filter: remove custom ref() and unref() + Replacing them by gst_object_ref() and gst_object_unref() + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-22 14:26:48 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapifilter.c: + * gst-libs/gst/vaapi/gstvaapifilter.h: + libs: filter: refactor filter as gobject + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:38:00 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidecoder_priv.h: + libs: decoder: remove destoy() and create() callbacks + They were all replaced by reset() + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:26:01 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c: + libs: decoder: vp9: implement reset() callback + remove destroy() and create() callback + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:25:37 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c: + libs: decoder: vp8: implement reset() callback + remove create() and destroy() callbacks + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:24:39 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c: + libs: decoder: vc1: implement reset() callback + remove destroy() and create() callbacks + use g_clear_pointer for rbdu_buffer + no cast for enum + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:24:13 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c: + libs: decoder: mpeg4: implement reset() callback + remove destroy() and create() callback + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:22:45 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c: + libs: decoder: mpeg2: implement reset() callback + remove create() and destroy() callbacks + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:22:07 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c: + libs: decoder: jpeg: implement reset() callback + and remove create() and destroy() callbacks. + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:13:31 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + libs: decoder: h265: implement reset() callback + and remove create() and destroy() + and use g_clear_pointer for dpb structure + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 13:11:41 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: decoder: h264: remove create() and destroy() callbacks + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 11:56:11 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidecoder.h: + * tests/test-decode.c: + * tests/test-subpicture.c: + libs: decoder: remove gst_vaapi_decoder_unref() + Replaced by gst_object_unref() in tests + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 11:51:14 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidecoder.h: + libs: decoder: remove gst_vaapi_decoder_ref() + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-21 11:50:17 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidecoder_priv.h: + libs: decoder: remove gst_vaapi_decoder_new() + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-05-18 16:09:31 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidecoder.h: + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + * gst-libs/gst/vaapi/gstvaapidecoder_h264.h: + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + * gst-libs/gst/vaapi/gstvaapidecoder_h265.h: + * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.c: + * gst-libs/gst/vaapi/gstvaapidecoder_jpeg.h: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.h: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.c: + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h: + * gst-libs/gst/vaapi/gstvaapidecoder_priv.h: + * gst-libs/gst/vaapi/gstvaapidecoder_vc1.c: + * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h: + * gst-libs/gst/vaapi/gstvaapidecoder_vp8.c: + * gst-libs/gst/vaapi/gstvaapidecoder_vp8.h: + * gst-libs/gst/vaapi/gstvaapidecoder_vp9.c: + * gst-libs/gst/vaapi/gstvaapidecoder_vp9.h: + libs: decoder: refactor decoders as gobject + https://bugzilla.gnome.org/show_bug.cgi?id=796308 + +2018-08-31 20:56:13 -0500 Matteo Valdina + + * gst/vaapi/gstvaapidecode.c: + vaapidecode: Requests upstream a key unit at parse or decode error. + This is done to resume decoding after a parse error or decode error. + Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006 + +2018-08-31 20:48:13 -0500 Matteo Valdina + + * gst/vaapi/gstvaapidecode.c: + vaapidecode: sets return value in failure case. + In gst_vaapidecode_handle_frame, when there is a decode error + there is a code path the returns an uninitialized value. + Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=797006 + +2018-08-30 18:56:40 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + libs: display: lock at extracting available image formates + When running several vaapi elements at the concurrently, at + initialization, there is a race condition when extractin the avaible + formats for images and subpictures. + This patch add a lock when the those arrays are filled. + https://bugzilla.gnome.org/show_bug.cgi?id=797039 + +2018-08-31 14:47:55 +0530 Nirbheek Chauhan + + * meson.build: + meson: Sync libversion and osxversion code from other repos + gstreamer-vaapi does not build any libraries, only plugins, so this is + not used, but sync it just in case someone does add it in the future. + +2018-08-29 13:44:44 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiencoder_h265.h: + libs: encoder: h265: trivial documentation fix + +2018-08-30 11:08:07 +0800 Wangfei + + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + * gst-libs/gst/vaapi/gstvaapiencoder_h265.h: + libs: encoder: h265: add low delay B frame support. + Low delay B frame provide the function of transforming + P frame into low delay B frame which frame type is B, but + only reference predictive frames. This can be used when P + frame unsupported. Especially for P and B both unsupported, + in this case, I and low delay B frame can be encoded in a + stream. + https://bugzilla.gnome.org/show_bug.cgi?id=796984 + +2018-08-27 20:42:15 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: decoder: h264: Avoid using picture after it has been free + In some cases, the found_picture ended up being evicted and freed, which + would lead to a use after free when accessing picture->base.poc. In this + fix, we take a ref on the picture before calling dpb_evict. + https://bugzilla.gnome.org/show_bug.cgi?id=787124 + +2018-07-25 17:03:19 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + h264decoder: Fail decoding slice with missing inter-view reference + Similarly to previous patch, we have no error concealment. As a side + effect, it's better to skip slices with missing references then passing + NULL pointers to the accelerator. Passing NULL pointer would lead to + major visual artifact, a behaviour that is likely undefined. + https://bugzilla.gnome.org/show_bug.cgi?id=787124 + +2017-09-14 14:25:41 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: decoder: h264: reset context when the number of view is increased + Usually in case of MVC decoding, dpb size is increasedi if subset sps. + That's why it resets context without this patch. + But for some media it doesn't increase dpb size. Even in this case we + should reset context to deal with MVC decoding. + Otherwise, it leads to assert. + https://bugzilla.gnome.org/show_bug.cgi?id=787124 + +2018-07-25 13:50:23 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + * gst/vaapi/gstvaapidecode.c: + vaapidecode: Skip unparsable units from adapter + If the unit could not be parsed, just skip this nal and keep parsing + what is left in the adapter. We need to flush the broken unit in the + decoder specific parser because the generic code does not know about + units boundary. This increases error resilliance. + Before this, the broken unit would stay in the adapter and EOS would be + returned. Which stopped the streaming. Just removing the EOS would have + lead to the adapter size growing indefinitely. + https://bugzilla.gnome.org/show_bug.cgi?id=796863 + +2018-07-24 12:40:00 -0400 Nicolas Dufresne + + * gst/vaapi/gstvaapidecode.c: + vaapidecoder: Don't error out on decode errors + This is problematic on live pipeline where loosing network can + cause an important amount of errors. + https://bugzilla.gnome.org/show_bug.cgi?id=796832 + +2018-07-25 15:47:49 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h265.c: + h265decoder: Don't scan empty buffer + Same as what we did for H264 decoder, this is to avoid an assertion + in the adapter. + https://bugzilla.gnome.org/show_bug.cgi?id=796832 + +2018-07-25 20:21:51 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: h264: renable the vaapi category for logging + h264 log messages were logged in default category because a regression + in code. This patch renable the usage of vaapi logging category. + This regression was introduced in commit 7c365bdd. + +2018-07-18 13:09:42 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + h264decoder: Fail decoding slice if modification process failed + This patch chains up failure to executing the modification process. The + end result is that we now fail decoding the slice if this process fails. + This avoid sending a corrupted state to the accelerator. In some special + cases, this could lead to unrecoverable errors. + https://bugzilla.gnome.org/show_bug.cgi?id=796832 + +2018-07-18 13:07:51 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + h264decoder: Don't scan empty buffer + gst_adapter_masked_scan_uint32_peek() asserts if size is 0. Don't + try and scan in that case. This fixes assertion that would some times + happen when the stream is corrupted. + https://bugzilla.gnome.org/show_bug.cgi?id=796832 + +2018-07-04 12:51:10 +0800 Tianhao Liu + + * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c: + libs: encoder: jpeg: set component id and Tqi + This change is due a problem encoding JPEGs with Intel's + media-driver: green/black image when playback jpeg + This patch sets component identifier and quantization table + destination selector in frame header to support packing headers + by Intel's media-driver that does not accept packed header + in AP level. + https://bugzilla.gnome.org/show_bug.cgi?id=796705 + +2018-06-25 14:20:32 +0200 Mathieu Duponchelle + + * gst/vaapi/gstvaapipluginutil.c: + pluginutil: downgrade unsupported driver logging + On systems with an Nvidia card, this error is output each time + the registry is rebuilt, which happens pretty often when + using gst-build as a development environment. + https://bugzilla.gnome.org/show_bug.cgi?id=796663 + +2018-06-24 13:07:20 +0200 Tim-Philipp Müller + + * gst/vaapi/gstvaapivideobufferpool.c: + Update for g_type_class_add_private() deprecation in recent GLib + +2018-05-30 16:01:36 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + h264dec: Remove false assumption about parity order + The decoder was trying to detect earlier that a field was lost base + on guessing the parity order. This breaks in streams were the parity + order changes. + This patch reverts the field order prediction code added by commit + 8dd93e9c8. + https://bugzilla.gnome.org/show_bug.cgi?id=796169 + +2018-05-18 17:03:57 -0400 Nicolas Dufresne + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + h264dec: Properly set sentinel in ref frame list + This ensure that we always have sentinels set in the reference + pictures arrays. The code wasn't unsafe, this simply improve the + tracing, so instead of printing 32 lines of zeros, va tracer + prints proper empty lists. + https://bugzilla.gnome.org/show_bug.cgi?id=796169 + +2018-06-13 18:00:18 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder.c: + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay.h: + * gst-libs/gst/vaapi/gstvaapiencoder.c: + * gst-libs/gst/vaapi/gstvaapifilter.c: + * gst-libs/gst/vaapi/gstvaapiobject.c: + * gst-libs/gst/vaapi/gstvaapivideopool.c: + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/gstvaapivideometa.c: + * tests/test-decode.c: + libs: display: remove gst_vaapi_display_ref() + Replace it with gst_object_ref() + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-13 17:54:23 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay.h: + * gst/vaapi/gstvaapi.c: + * gst/vaapi/gstvaapidecode.c: + * gst/vaapi/gstvaapiencode.c: + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/gstvaapipluginutil.c: + * tests/output.c: + * tests/simple-encoder.c: + * tests/test-decode.c: + * tests/test-display.c: + * tests/test-fei-enc-in.c: + * tests/test-filter.c: + * tests/test-subpicture.c: + * tests/test-surfaces.c: + * tests/test-textures.c: + * tests/test-windows.c: + libs: display: remove gst_vaapi_display_unref() + Use gst_object_unref() instead. + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-13 18:10:28 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapivideobufferpool.c: + vaapibufferpool: declare parameter display as object + We have neglected to update this code since GstVaapiDisplay turned + into a GstObject descendant. + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-01 12:36:51 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay_drm.c: + * gst-libs/gst/vaapi/gstvaapidisplay_egl.c: + * gst-libs/gst/vaapi/gstvaapidisplay_glx.c: + * gst-libs/gst/vaapi/gstvaapidisplay_priv.h: + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c: + * gst-libs/gst/vaapi/gstvaapidisplay_x11.c: + libs: display: replace gst_vaapi_display_new() with gst_vaapi_display_config() + Gobjectification for GstVaapiDisplay was almost done by the commit 185da3d1. + But still something breaking GObject code convention remains, which is + calling gst_vaapi_display_new() in each decendants. + This patch replaces it with gst_vaapi_display_config(), defined in private + header. + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-13 17:05:40 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + libs: display: redefine gst_vaapi_display_create() + The function name was gst_vaapi_display_create_unlocked(), nonetheless + it wasn't called unlocked. In order to keep the semantics this patch + renames the gst_vaapi_display_create_unlocked() as + gst_vaapi_display_create(), removing the previous function + gst_vaapi_display_create(). + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-12 15:53:04 +0200 Víctor Manuel Jáquez Leal + + * meson.build: + Revert "build: meson: libva gst-uninstall friendly" + This reverts commit fc3eef9c432c1628cb92ab56e74924cf1182da30. + +2018-06-12 15:13:33 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginutil.c: + plugins: fix compilation + gstvaapipluginutil.c:171:1: error: old-style function definition [-Werror=old-style-definition] + +2018-04-20 18:05:30 +0200 Víctor Manuel Jáquez Leal + + * meson.build: + build: meson: libva gst-uninstall friendly + Make gstreamer-vaapi to use libva uninstalled. + +2018-06-10 10:44:35 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginutil.c: + plugins: refactor gst_vaapi_create_display_from_gl_context() + gst_vaapi_create_display_from_gl_context() was a spaghetti mess. + This path refactors it, in order to make the code readable and + easy to follow. + https://bugzilla.gnome.org/show_bug.cgi?id=796564 + +2018-05-25 12:17:21 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay_egl.c: + * gst-libs/gst/vaapi/gstvaapidisplay_priv.h: + libs: display: resurrect parent private member + This is, practically, a revert of commit dcf135e2. + The parent logic is useful for the EGL display, which is a decorator + of the real windowing subsystem (X11 or Wayland). Thus it is avoided + calling vaInitialize() and vaTerminate() twice. + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-27 18:35:30 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidisplay_egl.c: + libs: display: egl: initialize params structure + Statically initialise the internal params structure. + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-27 18:34:37 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginutil.c: + plugins: handle EGL when creating VAAPI display from gl + If GstGL reports a EGL platform force to create a EGL display using + the native EGL display. + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-24 18:17:24 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidisplay_egl.c: + * gst/vaapi/gstvaapipluginutil.c: + display: egl: create VaapiDisplayEGL with native EGL display + gst_vaapi_display_egl_new_with_native_display() has been broken since + it wasn't used. + Currently it's needed to call this API to create a display providing + the EGL display, so it could avoid duplicated calls to the native + display (eg. eglTerminate). + Signed-off-by: Victor Jaquez + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-06-07 09:34:11 +0800 Tianhao Liu + + * gst-libs/gst/vaapi/gstvaapidecoder_objects.c: + libs: decoder: release VA buffers after vaEndPicture + This change is due a problem decoding JPEGs with Intel's media-driver: + no image was generated. + This patch relases the VA buffers after vaEndPicture() is called, + and not before (after vaRenderPicture()). + https://bugzilla.gnome.org/show_bug.cgi?id=796505 + +2018-06-07 19:49:02 +0100 Tim-Philipp Müller + + * gst-libs/gst/vaapi/gstvaapidisplay_x11.c: + * gst-libs/gst/vaapi/gstvaapiwindow_x11.c: + * gst-libs/gst/vaapi/gstvaapiwindow_x11_priv.h: + meson: fix build when xrender or xrandr are not available + HAVE_XRENDER are defined to 1 or 0, not defined or undefined. + +2018-05-25 16:47:00 +0200 Michael Olbrich + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: don't copy the GstParentBufferMeta if use_vpp + Otherwise a reference to a DMABuf input buffer is kept until the output + buffer is deleted. + https://bugzilla.gnome.org/show_bug.cgi?id=796399 + +2018-05-22 21:13:08 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay_priv.h: + libs: display: remove unnecessary legacy code since gobjectification + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-05-22 21:05:54 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidisplay.c: + * gst-libs/gst/vaapi/gstvaapidisplay.h: + libs: display: remove unused code + https://bugzilla.gnome.org/show_bug.cgi?id=796470 + +2018-06-05 15:16:53 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapiencode_h264.c: + vaapiencode: h264: log output caps + +2018-06-05 22:38:37 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapiencode_h264.c: + vaapiencode: h264: find profile in available and allowed caps + The commit 67e33d3de225d0e006d7bf606e7abb20d4544eab ("vaapiencode: h264: + find best profile in those available") changed the code to pick a profile + that is actually supported by the hardware. Unfortunately it dropped the + downstream constraints. This can cause negotiation failures under certain + circumstances. + The fix is split in two cases: + 1\ the available VA-API caps doesn't intersect with pipeline's allowed + caps: + * The best allowed profile (pipeline's caps) is set as the encoding + target profile (it will be adjusted later by the available profiles + and properties) + 2\ the available VA-API caps does intersect with pipeline's allowed + caps: + * The intersected caps are fixed, and its profile is set as the + encoding target profile. In this case the is not the best profile, + but the minimal one (if VA-API reports the profiles in order). + Setting the minimal profile of the intersected caps is better for + compatibility. + This patch fixes other tests related with caps negotiation, for + example, it handles baseline profile, even when VA only supports + constrained-baseline. + Original-patch-by: Michael Olbrich + https://bugzilla.gnome.org/show_bug.cgi?id=794306 + +2018-06-01 15:27:25 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + libs: encoder: h265: increase log2_max_pic_order_cnt range according to spec + The specification says, + "log2_max_pic_order_cnt_lsb_minus4 shall be in the range of 0 to 12, inclusive." + This patch changes the upper limit from 6 to 12. + https://bugzilla.gnome.org/show_bug.cgi?id=796179 + +2018-05-21 13:27:14 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginutil.c: + plugins: guard GstGL code + +2018-05-18 18:23:18 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: decoder: h264: use g_clear_pointer() + +2018-05-18 17:27:46 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_mpeg4.h: + * gst-libs/gst/vaapi/gstvaapidecoder_vc1.h: + libs: decoder: mpeg4, vc1: remove unused header + +2018-05-18 11:09:58 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapidecoder_priv.h: + libs: decoder: remove unused forward declaration + +2018-05-07 07:59:25 -0700 U. Artie Eoff + + * configure.ac: + fix configure.ac regression + Fixes regression introduced by 77527d67abe + https://bugzilla.gnome.org/show_bug.cgi?id=795885 + +2018-05-05 17:57:49 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/Makefile.am: + * gst-libs/gst/base/Makefile.am: + * gst-libs/gst/base/gstbitwriter.c: + * gst-libs/gst/base/gstbitwriter.h: + * gst-libs/gst/base/meson.build: + * gst-libs/gst/meson.build: + * gst-libs/gst/vaapi/Makefile.am: + * gst-libs/gst/vaapi/gstvaapiencoder_h264.c: + * gst-libs/gst/vaapi/gstvaapiencoder_h264_fei.c: + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + * gst-libs/gst/vaapi/gstvaapiencoder_jpeg.c: + * gst-libs/gst/vaapi/gstvaapiencoder_mpeg2.c: + * gst-libs/gst/vaapi/gstvaapifeipak_h264.c: + * gst-libs/gst/vaapi/meson.build: + libs: remove gstbitwriter + Since it is deployed in gstreamer-core, there is no need to use + our custom version. + https://bugzilla.gnome.org/show_bug.cgi?id=795848 + +2018-04-28 16:10:46 +0800 Wang,Fei + + * gst/vaapi/gstvaapidecode.c: + vaapih264dec: add constrained and progressive profiles + Those profiles have been added in the version 2012-01 + and 2011-06 of the AVC spec (A.2.4.1 and A.2.4.2). + Both are supported by VAProfileH264High + https://bugzilla.gnome.org/show_bug.cgi?id=795624 + +2018-04-26 18:15:47 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginbase.c: + * gst/vaapi/gstvaapipluginutil.c: + * gst/vaapi/gstvaapivideocontext.c: + * gst/vaapi/gstvaapivideocontext.h: + plugin: remove custom GstGL context handling + Instead of using our own context handling for looking for GstGL + parameters (display, context and other context), this patch changes + the logic to use the utility function offered by GstGL. + https://bugzilla.gnome.org/show_bug.cgi?id=793643 + +2018-04-26 15:03:23 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapipluginbase.c: + plugins: GstGL API must use the member variables + This commit basically is a revert of commits 8092537 and fc1c415 + https://bugzilla.gnome.org/show_bug.cgi?id=793643 + +2018-04-25 16:24:32 +0900 Hyunjun Ko + + * gst/vaapi/gstvaapipluginbase.c: + plugins: pass members as parameters of gst_gl_ensure_element_data() + The parameters of gst_gl_ensure_element_data() have to be not + local variable since they are going to be used to see if they're + set in gst_element_set_context() inside the API. + This is basically a revert of commit 3d56306c + https://bugzilla.gnome.org/show_bug.cgi?id=793643 + +2018-04-25 17:50:14 +0200 Víctor Manuel Jáquez Leal + + * meson.build: + meson: fix USE_GLES_VERSION_MASK + 1. The macro in the code is USE_GLES_VERSION_MASK + 2. glesv3 is provided by glesv2 pkg-config, then it's required to + check headers + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-24 18:12:44 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapiutils_egl.c: + libs: egl: utils: mark context as wrapped when it is + The returning egl context may be null, so we should check the + return value. + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-24 10:02:33 +0200 Víctor Manuel Jáquez Leal + + * gst-libs/gst/vaapi/gstvaapiutils_egl.c: + libs: egl: utils: fix usage of GstGL macros + Include gl.h for the required GstGL symbols. + https://bugzilla.gnome.org/show_bug.cgi?id=795391 + +2018-04-25 11:01:45 +0100 Tim-Philipp Müller + + * meson.build: + meson: use -Wl,-Bsymbolic-functions where supported + Just like the autotools build. + +2018-04-20 16:01:29 +0200 Víctor Manuel Jáquez Leal + + * meson.build: + meson: use get_pkgconfig_variable() + Use get_pkgconfig_variable() method, of dependency class, rather + than using run_command(). + +2018-04-20 11:50:55 +0100 Tim-Philipp Müller + + * gst-libs/gst/base/meson.build: + * gst-libs/gst/vaapi/meson.build: + * meson.build: + meson: fix miscellaneous meson warnings + WARNING: Passed invalid keyword argument "rqeuired". + gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "version". + gst-libs/gst/base/meson.build:11: WARNING: Passed invalid keyword argument "soversion". + gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "version". + gst-libs/gst/vaapi/meson.build:223: WARNING: Passed invalid keyword argument "soversion". + +2018-03-30 13:41:39 +0200 Paul Kocialkowski + + * gst-libs/gst/vaapi/gstvaapidisplay_drm.c: + display: drm: Allow finding DRM paths out of the PCI subsystem + This removes hard-coded checks on the parent subsystem of potential DRM + devices. These checks were set to exlude devices that do not originate + from the PCI bus, which is only a valid approach on x86 devices. + Other devices may have a DRM device originating from the platform + subsystem, so the checks that were previously restricted to PCI are + extended to cover platform devices as well. + https://bugzilla.gnome.org/show_bug.cgi?id=794840 + Signed-off-by: Paul Kocialkowski + +2017-11-08 13:27:06 +0900 Hyunjun Ko + + * gst/vaapi/gstvaapivideocontext.c: + videocontext: support wl-display in "gst.vaapi.app.Display" + Through "gst.vaapi.app.Display" context, users can set their own + VADisplay and native display of their backend. + So far we support only X11 display, from now we also support Wayland + display. + Attributes: + - wl-display : pointer of struct wl_display . + https://bugzilla.gnome.org/show_bug.cgi?id=705821 + +2017-11-08 13:26:38 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.c: + * gst-libs/gst/vaapi/gstvaapidisplay_wayland.h: + libs: display: wayland: add gst_vaapi_display_wayland_new_with_va_display() + Implements new API function so that users could create GstVaapiDisplay + with their own VADisplay within a native display as backend. + https://bugzilla.gnome.org/show_bug.cgi?id=705821 + +2018-04-13 09:28:53 +0200 Michael Olbrich + + * gst-libs/gst/vaapi/gstvaapiwindow_wayland.c: + wayland: don't poll if there are no pending frames + Otherwise the following poll may not return for an arbitrary amount of + time. This can happen if another wayland event queue has flushed and read + our events. + https://bugzilla.gnome.org/show_bug.cgi?id=795224 + +2017-10-16 12:09:08 +0900 Hyunjun Ko + + * gst-libs/gst/vaapi/gstvaapiencoder_h265.c: + libs: encoder: h265: 16 bit rounding of picture width and height + pic_width_in_luma_samples/pic_height_in_luma_samples can be 16-bit rounded + instead of 32-bit. + In addition, codedbuf_size must be calculated according to this change. + https://bugzilla.gnome.org/show_bug.cgi?id=753229 + +2018-04-16 10:53:47 +0100 Tim-Philipp Müller + + * common: + Automatic update of common submodule + From 3fa2c9e to ed78bee + +2018-03-30 20:39:18 +0200 Víctor Manuel Jáquez Leal + + * gst/vaapi/gstvaapiencode_h264.c: + vaapiencode: h264: find best profile in those available + Instead to look for the best profile in the allowed profiles by + downstream, the encoder should look for the base profile in the + available profile in VA-API. + https://bugzilla.gnome.org/show_bug.cgi?id=794306 + +2018-03-20 10:49:10 +0000 Tim-Philipp Müller + + * NEWS: + * RELEASE: + * configure.ac: + * docs/plugins/inspect/plugin-vaapi.xml: + * meson.build: + Back to development + === release 1.14.0 === 2018-03-19 20:30:28 +0000 Tim-Philipp Müller diff --git a/NEWS b/NEWS index 5366a0df..1e860c47 100644 --- a/NEWS +++ b/NEWS @@ -3,23 +3,19 @@ GSTREAMER 1.16 RELEASE NOTES -GStreamer 1.16 has not been released yet. It is scheduled for release -around September 2018. +GStreamer 1.16 has not been released yet. It is scheduled for release in +January/February 2019. -1.15.0.1 is the unstable development version that is being developed in +1.15.x is the unstable development version that is being developed in the git master branch and which will eventually result in 1.16. -The plan for the 1.16 development cycle is yet to be confirmed, but it -is expected that feature freeze will be around August 2017 followed by -several 1.15 pre-releases and the new 1.16 stable release in September. - 1.16 will be backwards-compatible to the stable 1.14, 1.12, 1.10, 1.8, 1.6, 1.4, 1.2 and 1.0 release series. See https://gstreamer.freedesktop.org/releases/1.16/ for the latest version of this document. -_Last updated: Tuesday 20 March 2018, 01:30 UTC (log)_ +_Last updated: Monday 14 January 2019, 13:00 UTC (log)_ Introduction @@ -34,63 +30,705 @@ other improvements. Highlights -- this section will be completed in due course +- GStreamer WebRTC stack gained support for data channels for + peer-to-peer communication based on SCTP, BUNDLE support, as well as + support for multiple TURN servers. + +- AV1 video codec support for Matroska and QuickTime/MP4 containers + and more configuration options and supported input formats for the + AOMedia AV1 encoder + +- Support for Closed Captions and other Ancillary Data in video + +- Spport for planar (non-interleaved) raw audio + +- GstVideoAggregator, compositor and OpenGL mixer elements are now in + -base + +- New alternate fields interlace mode where each buffer carries a + single field + +- WebM and Matroska ContentEncryption support in the Matroska demuxer + +- new WebKit WPE-based web browser source element + +- Video4Linux: HEVC encoding and decoding, JPEG encoding, and improved + dmabuf import/export + +- Hardware-accelerated Nvidia video decoder gained support for VP8/VP9 + decoding, whilst the encoder gained support for H.265/HEVC encoding. + +- Many improvements to the Intel Media SDK based hardware-accelerated + video decoder and encoder plugin (msdk): dmabuf import/export for + zero-copy integration with other components; VP9 decoding; 10-bit + HEVC encoding; video post-processing (vpp) support including + deinterlacing; and the video decoder now handles dynamic resolution + changes. + +- The ASS/SSA subtitle overlay renderer can now handle multiple + subtitles that overlap in time and will show them on screen + simultaneously + +- The Meson build is now feature-complete (*) and it is now the + recommended build system on all platforms. The Autotools build is + scheduled to be removed in the next cycle. + +- The GStreamer Rust bindings and Rust plugins module are now + officially part of upstream GStreamer. + +- Many performance improvements Major new features and changes Noteworthy new API -- this section will be filled in in due course +- GstAggregator has a new "min-upstream-latency" property that forces + a minimum aggregate latency for the input branches of an aggregator. + This is useful for dynamic pipelines where branches with a higher + latency might be added later after the pipeline is already up and + running and where a change in the latency would be disruptive. This + only applies to the case where at least one of the input branches is + live though, it won’t force the aggregator into live mode in the + absence of any live inputs. + +- GstBaseSink gained a "processing-deadline" property and + setter/getter API to configure a processing deadline for live + pipelines. The processing deadline is the acceptable amount of time + to process the media in a live pipeline before it reaches the sink. + This is on top of the systemic latency that is normally reported by + the latency query. This defaults to 20ms and should make pipelines + such as “v4lsrc ! xvimagesink” not claim that all frames are late in + the QoS events. Ideally, this should replace max_lateness for most + applications. + +- RTCP Extended Reports (XR) parsing according to RFC 3611: + Loss/Duplicate RLE, Packet Receipt Times, Receiver Reference Time, + Delay since the last Receiver (DLRR), Statistics Summary, and VoIP + Metrics reports. + +- a new mode for interlaced video was added where each buffer carries + a single field of interlaced video, with buffer flags indicating + whether the field is the top field or bottom field. Top and bottom + fields are expected to alternate in this mode. Caps for this + interlace mode must also carry a format:Interlaced caps feature to + ensure backwards compatibility. + +- The video library has gained support for three new raw pixel + formats: + + - Y410: packed 4:4:4 YUV, 10 bits per channel + - Y210: packed 4:2:2 YUV, 10 bits per channel + - NV12_10LE40: fully-packed 10-bit variant of NV12_10LE32, + i.e. without the padding bits + +- GstRTPSourceMeta is a new meta that can be used to transport + information about the origin of depayloaded or decoded RTP buffers, + e.g. when mixing audio from multiple sources into a single stream. A + new "source-info" property on the RTP depayloader base class + determines whether depayloaders should put this meta on outgoing + buffers. Similarly, the same property on RTP payloaders determines + whether they should use the information from this meta to construct + the CSRCs list on outgoing RTP buffers. + +- gst_sdp_message_from_text() is a convenience constructor to parse + SDPs from a string which is particularly useful for language + bindings. + +Support for Planar (Non-Interleaved) Raw Audio + +Raw audio samples are usually passed around in interleaved form in +GStreamer, which means that if there are multiple audio channels the +samples for each channel are interleaved in memory, e.g. +|LEFT|RIGHT|LEFT|RIGHT|LEFT|RIGHT| for stereo audio. A non-interleaved +or planar arrangement in memory would look like +|LEFT|LEFT|LEFT|RIGHT|RIGHT|RIGHT| instead, possibly with +|LEFT|LEFT|LEFT| and |RIGHT|RIGHT|RIGHT| residing in separate memory +chunks or separated by some padding. + +GStreamer has always had signalling for non-interleaved audio, but it +was never actually properly implemented in any elements. audioconvert +would advertise support for it, but wasn’t actually able to handle it. + +With this release we now have full support for non-interleaved audio as +well, which means more efficient integration with external APIs that +handle audio this way, but also more efficient processing of certain +operations like interleaving multiple 1-channel streams into a +multi-channel stream which can be done without memory copies now. + +New API to support this has been added to the GStreamer Audio support +library: There is now a new GstAudioMeta which describes how data is +laid out inside the buffer, and buffers with non-interleaved audio must +always carry this meta. To access the non-interleaved audio samples you +must map such buffers with gst_audio_buffer_map() which works much like +gst_buffer_map() or gst_video_frame_map() in that it will populate a +little GstAudioBuffer helper structure passed to it with the number of +samples, the number of planes and pointers to the start of each plane in +memory. This function can also be used to map interleaved audio buffers +in which case there will be only one plane of interleaved samples. + +Of course support for this has also been implemented in the various +audio helper and conversion APIs, base classes, and in elements such as +audioconvert, audioresample, audiotestsrc, audiorate. + +Support for Closed Captions and Other Ancillary Data in Video + +The video support library has gained support for detecting and +extracting Ancillary Data from videos as per the SMPTE S291M +specification, including: + +- a VBI (Video Blanking Interval) parser that can detect and extract + Ancillary Data from Vertical Blanking Interval lines of component + signals. This is currently supported for videos in v210 and UYVY + format. + +- a new GstMeta for closed captions: GstVideoCaptionMeta. This + supports the two types of closed captions, CEA-608 and CEA-708, + along with the four different ways they can be transported (other + systems are a superset of those). + +- a VBI (Video Blanking Interval) encoder for writing ancillary data + to the Vertical Blanking Interval lines of component signals. + +The new closedcaption plugin in gst-plugins-bad then makes use of all +this new infrastructure and provides the following elements: + +- cccombiner: a closed caption combiner that takes a closed captions + stream and another stream and adds the closed captions as + GstVideoCaptionMeta to the buffers of the other stream. + +- ccextractor: a closed caption extractor which will take + GstVideoCaptionMeta from input buffers and output them as a separate + closed captions stream. + +- ccconverter: a closed caption converter that can convert between + different formats + +- line21decoder: extract line21 closed captions from SD video streams + +- cc708overlay: decodes CEA 608/708 captions and overlays them on + video + +Additionally, the following elements have also gained Closed Caption +support: + +- qtdemux and qtmux support CEA 608/708 Closed Caption tracks + +- mpegvideoparse extracts Closed Captions from MPEG-2 video streams + +- decklinkvideosink can output closed captions and decklinkvideosrc + can extract closed captions + +- playbin and playbin3 learned how to autoplug CEA 608/708 CC overlay + elements + +The rsclosedcaption plugin in the Rust plugins collection includes a +MacCaption (MCC) file parser and encoder. New Elements -- this section will be filled in in due course +- overlaycomposition: New element that allows applications to draw + GstVideoOverlayCompositions on a stream. The element will emit the + "draw" signal for each video buffer, and the application then + generates an overlay for that frame (or not). This is much more + performant than e.g. cairooverlay for many use cases, e.g. because + pixel format conversions can be avoided or the blitting of the + overlay can be delegated to downstream elements (such as + gloverlaycompositor). It’s particularly useful for cases where only + a small section of the video frame should be drawn on. + +- gloverlaycompositor: New OpenGL-based compositor element that + flattens any overlays from GstVideoOverlayCompositionMetas into the + video stream. + +- glalpha: New element that adds an alpha channel to a video stream. + The values of the alpha channel can either be set to a constant or + can be dynamically calculated via chroma keying. It is similar to + the existing alpha element but based on OpenGL. Calculations are + done in floating point so results may not be identical to the output + of the existing alpha element. + +- rtpfunnel funnels together rtp-streams into a single session. Use + cases include multiplexing and bundle. webrtcbin uses it to + implement BUNDLE support. + +- testsrcbin is a source element that provides an audio and/or video + stream and also announces them using the recently-introduced + GstStream API. This is useful for testing elements such as playbin3 + or uridecodebin3 etc. + +- New closed caption elements: cccombiner, ccextractor, ccconverter, + line21decoder and cc708overlay (see above) + +- wpesrc: new source element acting as a Web Browser based on WebKit + WPE + +- Two new OpenCV-based elements: cameracalibrate and cameraundistort + who can communicate to figure out distortion correction parameters + for a camera and correct for the distortion. + +- new sctp plugin based on usrsctp with sctpenc and sctpdec elements New element features and additions -- this section will be filled in in due course +- playbin3, playbin and playsink have gained a new "text-offset" + property to adjust the positioning of the selected subtitle stream + vis-a-vis the audio and video streams. This uses subtitleoverlay’s + new "subtitle-ts-offset" property. GstPlayer has gained matching API + for this, namely gst_player_get_text_video_offset(). + +- playbin3 buffering improvements: in network playback scenarios there + may be multiple inputs to decodebin3, and buffering will be done + before decodebin3 using queue2 or downloadbuffer elements inside + urisourcebin. Since this is before any parsers or demuxers there may + not be any bitrate information available for the various streams, so + it was difficult to configure the buffering there smartly within + global constraints. This was improved now: The queue2 elements + inside urisourcebin will now use the new bitrate query to figure out + a bitrate estimate for the stream if no bitrate was provided by + upstream, and urisourcebin will use the bitrates of the individual + queues to distribute the globally-set "buffer-size" budget in bytes + to the various queues. urisourcebin also gained "low-watermark" and + "high-watermark" properties which will be proxied to the internal + queues, as well as a read-only "statistics" property which allows + querying of the minimum/maximum/average byte and time levels of the + queues inside the urisourcebin in question. + +- splitmuxsink has gained a couple of new features: + + - new "async-finalize" mode: This mode is useful for muxers or + outputs that can take a long time to finalize a file. Instead of + blocking the whole upstream pipeline while the muxer is doing + its stuff, we can unlink it and spawn a new muxer + sink + combination to continue running normally. This requires us to + receive the muxer and sink (if needed) as factories via the new + "muxer-factory" and "sink-factory" properties, optionally + accompanied by their respective properties structures (set via + the new "muxer-properties" and "sink-properties" properties). + There are also new "muxer-added" and "sink-added" signals in + case custom code has to be called for them to configure them. + + - "split-at-running-time" action signal: When called by the user, + this action signal ends the current file (and starts a new one) + as soon as the given running time is reached. If called multiple + times, running times are queued up and processed in the order + they were given. + + - "split-after" action signal to finish outputting the current GOP + to the current file and then start a new file as soon as the GOP + is finished and a new GOP is opened (unlike the existing + "split-now" which immediately finishes the current file and + writes the current GOP into the next newly-started file). + + - "reset-muxer" property: when unset, the muxer is reset using + flush events instead of setting its state to NULL and back. This + means the muxer can keep state across resets, e.g. mpegtsmux + will keep the continuity counter continuous across segments as + required by hlssink2. + +- qtdemux gained PIFF track encryption box support in addition to the + already-existing PIFF sample encryption support, and also allows + applications to select which encryption system to use via a + "drm-preferred-decryption-system-id" context in case there are + multiple options. + +- qtmux: the "start-gap-threshold" property determines now whether an + edit list will be created to account for small gaps or offsets at + the beginning of a stream in case the start timestamps of tracks + don’t line up perfectly. Previously the threshold was hard-coded to + 1% of the (video) frame duration, now it is 0 by default (so edit + list will be created even for small differences), but fully + configurable. + +- rtpjitterbuffer has improved end-of-stream handling + +- rtpmp4vpay will be prefered over rtpmp4gpay for MPEG-4 video in + autoplugging scenarios now + +- rtspsrc now allows applications to send RTSP SET_PARAMETER and + GET_PARAMETER requests using action signals. + +- rtspsrc also has a small (100ms) configurable teardown delay by + default to try and make sure an RTSP TEARDOWN request gets sent out + when the source element shuts down. This will block the downward + PAUSED to READY state change for a short time, but can be unset + where it’s a problem. Some servers only allow a limited number of + concurren clients, so if no proper TEARDOWN is sent clients may have + problems connecting to the server for a while. + +- souphttpsrc behaves better with low bitrate streams now. Before it + would increase the read block size too quickly which could lead to + it not reading any data from the socket for a very long time with + low bitrate streams that are output live downstream. This could lead + to servers kicking off the client. + +- filesink: do internal buffering to avoid performance regression with + small writes since we bypass libc buffering by using writev() + +- identity: add "eos-after" property and fix "error-after" property + when the element is reused + +- input-selector: lets context queries pass through, so that + e.g. upstream OpenGL elements can use contexts and displays + advertised by downstream elements + +- queue2: avoid ping-pong between 0% and 100% buffering messages if + upstream is pushing buffers larger than one of its limits, plus + performance optimisations + +- opusdec: new "phase-inversion" property to control phase inversion. + When enabled, this will slightly increase stereo quality, but + produces a stream that when downmixed to mono will suffer audio + distortions. + +- The x265enc HEVC encoder also exposes a "key-int-max" property to + configure the maximum allowed GOP size now. + +- decklinkvideosink has seen stability improvements for long-running + pipelines (potential crash due to overflow of leaked clock refcount) + and clock-slaving improvements when performing flushing seeks + (causing stalls in the output timeline), pausing and/or buffering. + +- srtpdec, srtpenc: add support for MKIs which allow multiple keys to + be used with a single SRTP stream + +- The srt Secure Reliable Transport plugin has integrated server and + client elements srt{client,server}{src,sink} into one (srtsrc and + srtsink), since SRT connection mode can be changed by uri + parameters. + +- h264parse and h265parse will handle SEI recovery point messages and + mark recovery points as keyframes as well (in addition to IDR + frames) + +- webrtcbin: "add-turn-server" action signal to pass multiple ICE + relays (TURN servers). + +- The removesilence element has received various new features and + properties, such as a + "threshold"1 property, detecting silence only after minimum silence time/buffers, a“silent”property to control bus message notifications as well as a“squash”` + property. + +- AOMedia AV1 decoder gained support for 10/12bit decoding whilst the + AV1 encoder supports more image formats and subsamplings now and + acquired support for rate control and profile related configuration. + +- The Fraunhofer fdkaac plugin can now be built against the 2.0.0 + version API and has improved multichannel support + +- kmssink now supports unpadded 24-bit RGB and can configure mode + setting from video info, which enables display of multi-planar + formats such as I420 or NV12 with modesetting. It has also gained a + number of new properties: The "restore-crtc" property does what it + says on the tin and is enabled by default. "plane-properties" and + "connector-properties" can be used to pass custom properties to the + DRM. + +- waylandsink has a "fullscreen" property now. Plugin and library moves -- this section will be filled in in due course +- The stereo element was moved from -bad into the existing audiofx + plugin in -good. If you get duplicate type registration warnings + when upgrading, check that you don’t have a stale gststereo plugin + lying about somewhere. + +GstVideoAggregator, compositor, and OpenGL mixer elements moved from -bad to -base + +GstVideoAggregator is a new base class for raw video mixers and muxers +and is based on [GstAggregator][aggregator]. It provides defined-latency +mixing of raw video inputs and ensures that the pipeline won’t stall +even if one of the input streams stops producing data. + +As part of the move to stabilise the API there were some last-minute API +changes and clean-ups, but those should mostly affect internal elements. +Most notably, the "ignore-eos" pad property was renamed to +"repeat-after-eos" and the conversion code was moved to a +GstVideoAggregatorConvertPad subclass to avoid code duplication, make +things less awkward for subclasses like the OpenGL-based video mixer, +and make the API more consistent with the audio aggregator API. + +It is used by the compositor element, which is a replacement for +‘videomixer’ which did not handle live inputs very well. compositor +should behave much better in that respect and generally behave as one +would expected in most scenarios. + +The compositor element has gained support for per-pad blending mode +operators (SOURCE, OVER, ADD) which determines what operator to use for +blending this pad over the previous ones. This can be used to implement +crossfading. + +A number of OpenGL-based video mixer elements (glvideomixer, glmixerbin, +glvideomixerelement, glstereomix, glmosaic) which are built on top of +GstVideoAggregator have also been moved from -bad to -base now. These +elements have been merged into the existing OpenGL plugin, so if you get +duplicate type registration warnings when upgrading, check that you +don’t have a stale gstopenglmixers plugin lying about somewhere. Plugin removals -- this section will be filled in in due course +The following plugins have been removed from gst-plugins-bad: + +- The experimental daala plugin has been removed, since it’s not so + useful now that all effort is focused on AV1 instead, and it had to + be enabled explicitly with --enable-experimental anyway. + +- The spc plugin has been removed. It has been replaced by the gme + plugin. + +- The acmmp3dec and acmenc plugins for Windows have been removed. ACM + is an ancient legacy API and there was no point in keeping them + around for a licensed mp3 decoder now that mp3 patents have expired + and we have a decoder in -good. We also didn’t ship these in our + cerbero-built Windows packages, so it’s unlikely that they’ll be + missed. Miscellaneous API additions -- this section will be filled in in due course +- GstBitwriter: new generic bit writer API to complement the existing + bit reader + +- gst_buffer_new_wrapped_bytes() creates a wrap buffer from a GBytes + +- gst_caps_set_features_simple() sets a caps feature on all the + structures of a GstCaps + +- New GST_QUERY_BITRATE query: This allows determining from downstream + what the expected bitrate of a stream may be which is useful in + queue2 for setting time based limits when upstream does not provide + timing information. tsdemux, qtdemux and matroskademux have basic + support for this query on their sink pads. + +- elements: there is a new “Hardware” class specifier. Elements + interacting with hardware devices should specify this classifier in + their element factory class metadata. This is useful to advertise as + one might need to put such elements into READY state to test if the + hardware is present in the system for example. + +- protection: Add a new definition for unspecified system protection + +- take functions for various mini objects that didn’t have them yet: + gst_query_take(), gst_message_take(), gst_tag_list_take(), + gst_buffer_list_take(). Unlike the various _replace() functions + _take() does not increase the reference count but takes ownership of + the mini object passed. + +- clear functions for various mini object types and GstObject which + unrefs the object or mini object (if non-NULL) and sets the variable + pointed to to NULL: gst_clear_structure(), gst_clear_tag_list(), + gst_clear_query(), gst_clear_message(), gst_clear_event(), + gst_clear_caps(), gst_clear_buffer_list(), gst_clear_buffer(), + gst_clear_mini_object(), gst_clear_object() + +- miniobject: new API gst_mini_object_add_parent() and + gst_mini_object_remove_parent()to set parent pointers on mini objects to ensure correct writability: Every container of miniobjects now needs to store itself as parent in the child object, and remove itself again later. A mini object is then only writable if there is at most one parent, that parent is writable itself, and the reference count of the mini object is 1.GstBuffer(for memories),GstBufferList(for buffers),GstSample(for caps, buffer, bufferlist), andGstVideoOverlayComposition` + were updated accordingly. Without this it was possible to have + e.g. a buffer list with a refcount of 2 used in two places at once + that both modify the same buffer with refcount 1 at the same time + wrongly thinking it is writable even though it’s really not. + +- poll: add API to watch for POLLPRI and stop treating POLLPRI as a + read. This is useful to wait for video4linux events which are + signalled via POLLPRI. + +- sample: new API to update the contents of a GstSample and make it + writable: gst_sample_set_buffer(), gst_sample_set_caps(), + gst_sample_set_segment(), gst_sample_set_info(), plus + gst_sample_is_writable() and gst_sample_make_writable(). This makes + it possible to reuse a sample object and avoid unnecessary memory + allocations, for example in appsink. + +- ClockIDs now keep a weak reference to underlying clock to avoid + crashes in basesink in corner cases where a clock goes away while + the ClockID is still in use, plus some new API + (gst_clock_id_get_clock(), gst_clock_id_uses_clock()) to check the + clock a ClockID is linked to. + +- The GstCheck unit test library gained a + fail_unless_equals_clocktime() convenience macro as well as some new + GstHarness API for for proposing meta APIs from the allocation + query: gst_harness_add_propose_allocation_meta(). ASSERT_CRITICAL() + checks in unit tests are now skipped if GStreamer was compiled with + GST_DISABLE_GLIB_CHECKS. + +- gst_audio_buffer_truncate() convenience function to truncate a raw + audio buffer + + +Miscellaneous performance and memory optimisations + +As always there have been many performance and memory usage improvements +across all components and modules. Some of them (such as dmabuf +import/export) have already been mentioned elsewhere so won’t be +repeated here. + +The following list is only a small snapshot of some of the more +interesting optimisations that haven’t been mentioned in other contexts +yet: + +- The GstVideoEncoder and GstVideoDecoder base classes now release the + STREAM_LOCK when pushing out buffers, which means (multi-threaded) + encoders and decoders can now receive and continue to process input + buffers whilst waiting for downstream elements in the pipeline to + process the buffer that was pushed out. This increases throughput + and reduces processing latency, also and especially for + hardware-accelerated encoder/decoder elements. + +- GstQueueArray has seen a few API additions + (gst_queue_array_peek_nth(), gst_queue_array_set_clear_func(), + gst_queue_array_clear()) so that it can be used in other places like + GstAdapter instead of a GList, which reduces allocations and + improves performance. + +- appsink now reuses the sample object in pull_sample() if possible + +- rtpsession only starts the RTCP thread when it’s actually needed now + +- udpsrc uses a buffer pool now and the GstUdpSrc object structure was + optimised for better cache performance GstPlayer -- this section will be filled in in due course +- API was added to fine-tune the synchronisation offset between + subtitles and video Miscellaneous changes -- this section will be filled in in due course +- As a result of moving to different FFmpeg APIs, encoder and decoder + elements exposed by the GStreamer FFmpeg wrapper plugin (gst-libav) + may have seen possibly incompatible changes to property names and/or + types, and not all properties exposed might be functional. We are + still reviewing the new properties and aim to minimise breaking + changes at least for the most commonly-used properties, so please + report any issues you run into! OpenGL integration -- this section will be filled in in due course +- The OpenGL mixer elements have been moved from -bad to + gst-plugins-base (see above) + +- The Mesa GBM backend now supports headless mode + +- gloverlaycompositor: New OpenGL-based compositor element that + flattens any overlays from GstVideoOverlayCompositionMetas into the + video stream. + +- glalpha: New element that adds an alpha channel to a video stream. + The values of the alpha channel can either be set to a constant or + can be dynamically calculated via chroma keying. It is similar to + the existing alpha element but based on OpenGL. Calculations are + done in floating point so results may not be identical to the output + of the existing alpha element. + +- glupload: Implement direct dmabuf uploader, the idea being that some + GPUs (like the Vivante series) can actually perform the YUV->RGB + conversion internally, so no custom conversion shaders are needed. + To make use of this feature, we need an additional uploader that can + import DMABUF FDs and also directly pass the pixel format, relying + on the GPU to do the conversion. Tracing framework and debugging improvements -- this section will be filled in in due course +- There is now a GDB PRETTY PRINTER FOR VARIOUS GSTREAMER TYPES: For + GstObject pointers the type and name is added, e.g. + 0x5555557e4110 [GstDecodeBin|decodebin0]. For GstMiniObject pointers + the object type is added, e.g. 0x7fffe001fc50 [GstBuffer]. For + GstClockTime and GstClockTimeDiff the time is also printed in human + readable form, e.g. 150116219955 [+0:02:30.116219955]. + +- GDB EXTENSION WITH TWO CUSTOM GDB COMMANDS gst-dot AND gst-print: + + - gst-dot creates dot files that a very close to what + GST_DEBUG_BIN_TO_DOT_FILE() produces, but object properties and + buffer contents such as codec-data in caps are not available. + + - gst-print produces high-level information about a GStreamer + object. This is currently limited to pads for GstElements and + events for the pads. The output may look like this: + + (gdb) gst-print pad.object.parent + GstMatroskaDemux (matroskademux0) { + SinkPad (sink, pull) { + } + SrcPad (video_0, push) { + events: + stream-start: + stream-id: 0463ccb080d00b8689bf569a435c4ff84f9ff753545318ae2328ea0763fd0bec/001:1274058367 + caps: video/x-theora + width: 1920 + height: 800 + pixel-aspect-ratio: 1/1 + framerate: 24/1 + streamheader: < 0x5555557c7d30 [GstBuffer], 0x5555557c7e40 [GstBuffer], 0x7fffe00141d0 [GstBuffer] > + segment: time + rate: 1 + tag: global + container-format: Matroska + } + SrcPad (audio_0, push) { + events: + stream-start: + stream-id: 0463ccb080d00b8689bf569a435c4ff84f9ff753545318ae2328ea0763fd0bec/002:1551204875 + caps: audio/mpeg + mpegversion: 4 + framed: true + stream-format: raw + codec_data: 0x7fffe0014500 [GstBuffer] + level: 2 + base-profile: lc + profile: lc + channels: 2 + rate: 44100 + segment: time + rate: 1 + tag: global + container-format: Matroska + tag: stream + audio-codec: MPEG-4 AAC audio + language-code: en + } + } + +- gst_structure_to_string() now serialises the actual value of + pointers when serialising GstStructures instead of claiming they’re + NULL. This makes debug logging in various places less confusing, + because it’s clear now that structure fields actually hold valid + objects. Such object pointer values will never be deserialised + however. Tools -- this section will be filled in in due course +- gst-inspect-1.0 has coloured output now and will automatically use a + pager if the output does not fit on a page. This only works in a + unix environment and if the output is not piped. If you don’t like + the colours you can disable them by setting the + GST_INSPECT_NO_COLORS=1 environment variable or passing the + --no-colors command line option. GStreamer RTSP server -- this section will be filled in in due course +- Improved backlog handling when using TCP interleaved for data + transport. Before there was a fixed maximum size for backlog + messages, which was prone to deadlocks and made it difficult to + control memory usage with the watch backlog. The RTSP server now + limits queued TCP data messages to one per stream, moving queuing of + the data into the pipeline and leaving the RTSP connection + responsive to RTSP messages in both directions, preventing all those + problems. + +- Initial ULP Forward Error Correction support in rtspclientsink and + for RECORD mode in the server. + +- API to explicitly enable retransmission requests (RTX) + +- Lots of multicast-related fixes + +- rtsp-auth: Add support for parsing .htdigest files GStreamer VAAPI @@ -110,34 +748,350 @@ GStreamer validate GStreamer Python Bindings -- this section will be filled in in due course +- add binding for gst_pad_set_caps() +- pygobject dependency requirement was bumped to >= 3.8 -Build and Dependencies +- new audiotestsrc, audioplot, and mixer plugin examples, and a + dynamic pipeline example -- this section will be filled in in due course +GStreamer C# Bindings + +- bindings for the GstWebRTC library + + +GStreamer Rust Bindings + +The GStreamer Rust bindings are now officially part of the GStreamer +project and are also maintained in the GStreamer GitLab. + +The releases will generally not be synchronized with the releases of +other GStreamer parts due to dependencies on other projects. + +Also unlike the other GStreamer libraries, the bindings will not commit +to full API stability but instead will follow the approach that is +generally taken by Rust projects, e.g.: + +1) 0.12.X will be completely API compatible with all other 0.12.Y + versions. +2) 0.12.X+1 will contain bugfixes and compatible new feature additions. +3) 0.13.0 will _not_ be backwards compatible with 0.12.X but projects + will be able to stay at 0.12.X without any problems as long as they + don’t need newer features. + +The current stable release is 0.12.2 and the next release series will be +0.13, probably around March 2019. + +At this point the bindings cover most of GStreamer core (except for most +notably GstAllocator and GstMemory), and most parts of the app, audio, +base, check, editing-services, gl, net. pbutils, player, rtsp, +rtsp-server, sdp, video and webrtc libraries. + +Also included is support for creating subclasses of the following types +and writing GStreamer plugins: -Platform-specific improvements +- gst::Element +- gst::Bin and gst::Pipeline +- gst::URIHandler and gst::ChildProxy +- gst::Pad, gst::GhostPad +- gst_base::Aggregator and gst_base::AggregatorPad +- gst_base::BaseSrc and gst_base::BaseSink +- gst_base::BaseTransform + +Changes to 0.12.X since 0.12.0 + +Fixed + +- PTP clock constructor actually creates a PTP instead of NTP clock + +Added + +- Bindings for GStreamer Editing Services +- Bindings for GStreamer Check testing library +- Bindings for the encoding profile API (encodebin) + +- VideoFrame, VideoInfo, AudioInfo, StructureRef implements Send and + Sync now +- VideoFrame has a function to get the raw FFI pointer +- From impls from the Error/Success enums to the combined enums like + FlowReturn +- Bin-to-dot file functions were added to the Bin trait +- gst_base::Adapter implements SendUnique now +- More complete bindings for the gst_video::VideoOverlay interface, + especially + gst_video::is_video_overlay_prepare_window_handle_message() + +Changed + +- All references were updated from GitHub to freedesktop.org GitLab +- Fix various links in the README.md +- Link to the correct location for the documentation +- Remove GitLab badge as that only works with gitlab.com currently + +Changes in git master for 0.13 + +Fixed + +- gst::tag::Album is the album tag now instead of artist sortname + +Added + +- Subclassing infrastructure was moved directly into the bindings, + making the gst-plugin crate deprecated. This involves many API + changes but generally cleans up code and makes it more flexible. + Take a look at the gst-plugins-rs crate for various examples. + +- Bindings for CapsFeatures and Meta +- Bindings for + ParentBufferMeta,VideoMetaandVideoOverlayCompositionMeta` +- Bindings for VideoOverlayComposition and VideoOverlayRectangle +- Bindings for VideoTimeCode + +- UniqueFlowCombiner and UniqueAdapter wrappers that make use of the + Rust compile-time mutability checks and expose more API in a safe + way, and as a side-effect implement Sync and Send now + +- More complete bindings for Allocation Query +- pbutils functions for codec descriptions +- TagList::iter() for iterating over all tags while getting a single + value per tag. The old ::iter_tag_list() function was renamed to + ::iter_generic() and still provides access to each value for a tag +- Bus::iter() and Bus::iter_timed() iterators around the corresponding + ::pop*() functions + +- serde serialization of Value can also handle Buffer now + +- Extensive comments to all examples with explanations +- Transmuxing example showing how to use typefind, multiqueue and + dynamic pads +- basic-tutorial-12 was ported and added + +Changed + +- Rust 1.31 is the minimum supported Rust version now +- Update to latest gir code generator and glib bindings + +- Functions returning e.g. gst::FlowReturn or other “combined” enums + were changed to return split enums like + Result to allow usage of the + standard Rust error handling. + +- MiniObject subclasses are now newtype wrappers around the underlying + GstRc wrapper. This does not change the API in any breaking + way for the current usages, but allows MiniObjects to also be + implemented in other crates and makes sure rustdoc places the + documentation in the right places. + +- BinExt extension trait was renamed to GstBinExt to prevent conflicts + with gtk::Bin if both are imported + +- Buffer::from_slice() can’t possible return None + +- Various clippy warnings + + +GStreamer Rust Plugins + +Like the GStreamer Rust bindings, the Rust plugins are now officially +part of the GStreamer project and are also maintained in the GStreamer +GitLab. + +In the 0.3.x versions this contained infrastructure for writing +GStreamer plugins in Rust, and a set of plugins. + +In git master that infrastructure was moved to the GLib and GStreamer +bindings directly, together with many other improvements that were made +possible by this, so the gst-plugins-rs repository only contains +GStreamer elements now. + +Elements included are: + +- Tutorials plugin: identity, rgb2gray and sinesrc with extensive + comments + +- rsaudioecho, a port of the audiofx element + +- rsfilesrc, rsfilesink + +- rsflvdemux, a FLV demuxer. Not feature-equivalent with flvdemux yet + +- threadshare plugin: ts-appsrc, ts-proxysrc/sink, ts-queue, ts-udpsrc + and ts-tcpclientsrc elements that use a fixed number of threads and + share them between instances. For more background about these + elements see Sebastian’s talk “When adding more threads adds more + problems - Thread-sharing between elements in GStreamer” at the + GStreamer Conference 2017. + +- rshttpsrc, a HTTP source around the hyper/reqwest Rust libraries. + Not feature-equivalent with souphttpsrc yet. + +- togglerecord, an element that allows to start/stop recording at any + time and keeps all audio/video streams in sync. + +- mccparse and mccenc, parsers and encoders for the MCC closed caption + file format. + +Changes to 0.3.X since 0.3.0 + +- All references were updated from GitHub to freedesktop.org GitLab +- Fix various links in the README.md +- Link to the correct location for the documentation + +Changes in git master for 0.4 + +- togglerecord: Switch to parking_lot crate for mutexes/condition + variables for lower overhead +- Merge threadshare plugin here +- New closedcaption plugin with mccparse and mccenc elements +- New identity element for the tutorials plugin + +- Register plugins statically in tests instead of relying on the + plugin loader to find the shared library in a specific place + +- Update to the latest API changes in the GLib and GStreamer bindings +- Update to the latest versions of all crates + + +Build and Dependencies + +- The MESON BUILD SYSTEM BUILD IS NOW FEATURE-COMPLETE (*) and it is + now the recommended build system on all platforms and also used by + Cerbero to build GStreamer on all platforms. The Autotools build is + scheduled to be removed in the next cycle. Developers who currently + use gst-uninstalled should move to gst-build. The build option + naming has been cleaned up and made consistent and there are now + feature options to enable/disable plugins and various other features + on a case-by-case basis. (*) with the exception of plugin docs which + will be handled differently in future + +- Symbol export in libraries is now controlled via explicit exports + using symbol visibility or export defines where supported, to ensure + consistency across all platforms. This also allows libraries to have + exports that vary based on detected platform features and configure + options as is the case with the GStreamer OpenGL integration library + for example. A few symbols that had been exported by accident in + earlier versions may no longer be exported. These symbols will not + have had declarations in any public header files then though and + would not have been usable. + +- The GStreamer FFmpeg wrapper plugin (gst-libav) now depends on + FFmpeg 4.x and uses the new FFmpeg 4.x API and stopped relying on + ancient API that was removed with the FFmpeg 4.x release. This means + that it is no longer possible to build this module against an older + system-provided FFmpeg 3.x version. Use the internal FFmpeg 4.x copy + instead if you build using autotools, or use gst-libav 1.14.x + instead which targets the FFmpeg 3.x API and _should_ work fine in + combination with a newer GStreamer. It’s difficult for us to support + both old and new FFmpeg APIs at the same time, apologies for any + inconvenience caused. + +- Hardware-accelerated Nvidia video encoder/decoder plugins nvdec and + nvenc can be built against CUDA Toolkit versions 9 and 10.0 now. The + dynlink interface has been dropped since it’s deprecated in 10.0. + +- The (optional) OpenCV requirement has been bumped to >= 3.0.0 and + the plugin can also be built against OpenCV 4.x now. + +- New sctp plugin based on usrsctp (for WebRTC data channels) + + +Platform-specific changes and improvements Android -- this section will be filled in in due course +- The way that GIO modules are named has changed due to upstream GLib + natively adding support for loading static GIO modules. This means + that any GStreamer application using gnutls for SSL/TLS on the + Android or iOS platforms (or any other setup using static libraries) + will fail to link looking for the g_io_module_gnutls_load_static() + function. The new function name is now + g_io_gnutls_load(gpointer data). data can be NULL for a static + library. Look at this commit for the necessary change in the + examples. macOS and iOS -- this section will be filled in in due course +- macOS binaries should be fully relocatable now + +- The way that GIO modules are named has changed due to upstream GLib + natively adding support for loading static GIO modules. This means + that any GStreamer application using gnutls for SSL/TLS on the + Android or iOS platforms (or any other setup using static libraries) + will fail to link looking for the g_io_module_gnutls_load_static() + function. The new function name is now + g_io_gnutls_load(gpointer data). data can be NULL for a static + library. Look at this commit for the necessary change in the + examples. Windows -- this section will be filled in in due course +- The webrtcdsp element is shipped again as part of the Windows binary + packages, the build system issue has been resolved. +- ‘Inconsistent DLL linkage’ warnings when building with MSVC have + been fixed -Contributors +- Hardware-accelerated Nvidia video encoder/decoder plugins nvdec and + nvenc build on Windows now, also with MSVC and using Meson. -- this section will be filled in in due course +- The ksvideosrc camera capture plugin supports 16-bit grayscale video + now + +- The wasapisrc audio capture element implements loopback recording + from another output device or sink -... and many others who have contributed bug reports, translations, sent +- wasapisink recover from low buffer levels in shared mode and some + exclusive mode fixes + +- dshowsrc now implements the GstDeviceMonitor interface + + +Contributors + +Aleix Conchillo Flaqué, Alessandro Decina, Alexandru Băluț, Alex Ashley, +Alexey Chernov, Alicia Boya García, Amit Pandya, Andoni Morales +Alastruey, Andreas Frisch, Andre McCurdy, Andy Green, Anthony Violo, +Antoine Jacoutot, Antonio Ospite, Arun Raghavan, Aurelien Jarno, +Aurélien Zanelli, ayaka, Bananahemic, Bastian Köcher, Branko Subasic, +Brendan Shanks, Carlos Rafael Giani, Christoph Reiter, Corentin Noël, +Daeseok Youn, Daniel Drake, Daniel Klamt, Dardo D Kleiner, David Ing, +David Svensson Fors, Devarsh Thakkar, Dimitrios Katsaros, Edward Hervey, +Emilio Pozuelo Monfort, Enrique Ocaña González, Ezequiel Garcia, Fabien +Dessenne, Fabrizio Gennari, Florent Thiéry, Francisco Velazquez, +Freyr666, Garima Gaur, Gary Bisson, George Kiagiadakis, Georg Lippitsch, +Georg Ottinger, Geunsik Lim, Göran Jönsson, Guillaume Desmottes, H1Gdev, +Haihao Xiang, Haihua Hu, Harshad Khedkar, Havard Graff, He Junyan, +Hoonhee Lee, Hosang Lee, Hyunjun Ko, Ingo Randolf, Iñigo Huguet, James +Stevenson, Jan Alexander Steffens, Jan Schmidt, Jerome Laheurte, Jimmy +Ohn, Joakim Johansson, Jochen Henneberg, Johan Bjäreholt, John-Mark +Bell, John Nikolaides, Jonathan Karlsson, Jonny Lamb, Jordan Petridis, +Josep Torra, Joshua M. Doe, Jos van Egmond, Juan Navarro, Jun Xie, +Junyan He, Justin Kim, Kai Kang, Kim Tae Soo, Kirill Marinushkin, Kyrylo +Polezhaiev, Lars Petter Endresen, Linus Svensson, Louis-Francis +Ratté-Boulianne, Luis de Bethencourt, Luz Paz, Lyon Wang, Maciej Wolny, +Marc-André Lureau, Marc Leeman, Marcos Kintschner, Marian Mihailescu, +Marinus Schraal, Mark Nauwelaerts, Marouen Ghodhbane, Martin Kelly, +Matej Knopp, Mathieu Duponchelle, Matteo Valdina, Matthew Waters, +Matthias Fend, memeka, Michael Drake, Michael Gruner, Michael Olbrich, +Michael Tretter, Miguel Paris, Mike Wey, Mikhail Fludkov, Naveen +Cherukuri, Nicola Murino, Nicolas Dufresne, Niels De Graef, Nirbheek +Chauhan, Norbert Wesp, Ognyan Tonchev, Olivier Crête, Omar Akkila, +Patricia Muscalu, Patrick Radizi, Patrik Nilsson, Paul Kocialkowski, Per +Forlin, Peter Körner, Peter Seiderer, Petr Kulhavy, Philippe Normand, +Philippe Renon, Philipp Zabel, Pierre Labastie, Roland Jon, Roman +Sivriver, Rosen Penev, Russel Winder, Sam Gigliotti, Sean-Der, Sebastian +Dröge, Seungha Yang, Sjoerd Simons, Snir Sheriber, Song Bing, Soon, +Thean Siew, Sreerenj Balachandran, Stefan Ringel, Stephane Cerveau, +Stian Selnes, Suhas Nayak, Takeshi Sato, Thiago Santos, Thibault +Saunier, Thomas Bluemel, Tianhao Liu, Tim-Philipp Müller, Tomasz +Andrzejak, Tomislav Tustonić, U. Artie Eoff, Ulf Olsson, Varunkumar +Allagadapa, Víctor Guzmán, Víctor Manuel Jáquez Leal, Vincenzo Bono, +Vineeth T M, Vivia Nikolaidou, Wang Fei, wangzq, Whoopie, Wim Taymans, +Wind Yuan, Wonchul Lee, Xabier Rodriguez Calvar, Xavier Claessens, +Haihao Xiang, Yacine Bandou, Yeongjin Jeong, Yuji Kuwabara, Zeeshan Ali, + +… and many others who have contributed bug reports, translations, sent suggestions or helped testing. @@ -165,30 +1119,41 @@ the git 1.16 branch, which is a stable branch. 1.16.0 -1.16.0 is scheduled to be released around September 2018. +1.16.0 is scheduled to be released around January/February 2019. Known Issues -- The webrtcdsp element is currently not shipped as part of the - Windows binary packages due to a build system issue. +- possibly breaking/incompatible changes to properties of wrapped + FFmpeg decoders and encoders (see above). + +- The way that GIO modules are named has changed due to upstream GLib + natively adding support for loading static GIO modules. This means + that any GStreamer application using gnutls for SSL/TLS on the + Android or iOS platforms (or any other setup using static libraries) + will fail to link looking for the g_io_module_gnutls_load_static() + function. The new function name is now + g_io_gnutls_load(gpointer data). See Android/iOS sections above for + further details. Schedule for 1.18 -Our next major feature release will be 1.16, and 1.15 will be the -unstable development version leading up to the stable 1.16 release. The -development of 1.15/1.16 will happen in the git master branch. +Our next major feature release will be 1.18, and 1.17 will be the +unstable development version leading up to the stable 1.18 release. The +development of 1.17/1.18 will happen in the git master branch. -The plan for the 1.16 development cycle is yet to be confirmed, but it -is expected that feature freeze will be around August 2017 followed by -several 1.15 pre-releases and the new 1.16 stable release in September. +The plan for the 1.18 development cycle is yet to be confirmed, but it +is expected that feature freeze will be around July 2019 followed by +several 1.17 pre-releases and the new 1.18 stable release in +August/September. -1.16 will be backwards-compatible to the stable 1.14, 1.12, 1.10, 1.8, -1.6, 1.4, 1.2 and 1.0 release series. +1.18 will be backwards-compatible to the stable 1.16, 1.14, 1.12, 1.10, +1.8, 1.6, 1.4, 1.2 and 1.0 release series. ------------------------------------------------------------------------ -_These release notes have been prepared by Tim-Philipp Müller._ +_These release notes have been prepared by Tim-Philipp Müller with_ +_contributions from Sebastian Dröge._ _License: CC BY-SA 4.0_ diff --git a/RELEASE b/RELEASE index de473f78..b38fad35 100644 --- a/RELEASE +++ b/RELEASE @@ -1,6 +1,6 @@ -This is GStreamer gstreamer-vaapi 1.15.0.1. +This is GStreamer gstreamer-vaapi 1.15.1. -GStreamer 1.15 is the development version leading up to the next major +GStreamer 1.15 is the development branch leading up to the next major stable version which will be 1.16. The 1.15 development series adds new features on top of the 1.14 series and is @@ -11,8 +11,8 @@ Full release notes will one day be found at: https://gstreamer.freedesktop.org/releases/1.16/ -Binaries for Android, iOS, Mac OS X and Windows will be provided shortly -after the release. +Binaries for Android, iOS, Mac OS X and Windows will usually be provided +shortly after the release. This module will not be very useful by itself and should be used in conjunction with other GStreamer modules for a complete multimedia experience. @@ -57,7 +57,7 @@ You can find source releases of gstreamer in the download directory: https://gstreamer.freedesktop.org/src/gstreamer/ The git repository and details how to clone it can be found at -http://cgit.freedesktop.org/gstreamer/gstreamer/ +https://cgit.freedesktop.org/gstreamer/gstreamer/ ==== Homepage ==== @@ -65,10 +65,16 @@ The project's website is https://gstreamer.freedesktop.org/ ==== Support and Bugs ==== -We use GNOME's bugzilla for bug reports and feature requests: -http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer +We have recently moved from GNOME Bugzilla to GitLab on freedesktop.org +for bug reports and feature requests: -Please submit patches via bugzilla as well. + https://gitlab.freedesktop.org/gstreamer + +Please submit patches via GitLab as well, in form of Merge Requests. See + + https://gstreamer.freedesktop.org/documentation/contribute/ + +for more details. For help and support, please subscribe to and send questions to the gstreamer-devel mailing list (see below for details). @@ -77,8 +83,14 @@ There is also a #gstreamer IRC channel on the Freenode IRC network. ==== Developers ==== -GStreamer is stored in Git, hosted at git.freedesktop.org, and can be cloned -from there (see link above). +GStreamer source code repositories can be found on GitLab on freedesktop.org: + + https://gitlab.freedesktop.org/gstreamer + +and can also be cloned from there and this is also where you can submit +Merge Requests or file issues for bugs or feature requests. Interested developers of the core library, plugins, and applications should -subscribe to the gstreamer-devel list. +subscribe to the gstreamer-devel list: + + https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel diff --git a/configure.ac b/configure.ac index 688551e9..0bdb5bbb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ # gstreamer-vaapi package version number m4_define([gst_vaapi_major_version], [1]) m4_define([gst_vaapi_minor_version], [15]) -m4_define([gst_vaapi_micro_version], [0]) -m4_define([gst_vaapi_nano_version], [1]) +m4_define([gst_vaapi_micro_version], [1]) +m4_define([gst_vaapi_nano_version], [0]) m4_define([gst_vaapi_version], [gst_vaapi_major_version.gst_vaapi_minor_version.gst_vaapi_micro_version]) m4_if(gst_vaapi_nano_version, [0], [], @@ -16,17 +16,17 @@ dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0 dnl - interfaces added -> increment AGE dnl - interfaces removed -> AGE = 0 # gstreamer-vaapi library (libtool) version number -m4_define([gst_vaapi_lt_current], [1500]) +m4_define([gst_vaapi_lt_current], [1501]) m4_define([gst_vaapi_lt_revision], [0]) -m4_define([gst_vaapi_lt_age], [1500]) +m4_define([gst_vaapi_lt_age], [1501]) # glib version number m4_define([glib_version], [2.40]) # gstreamer version number -m4_define([gst_version], [1.15.0.1]) -m4_define([gst_plugins_base_version], [1.15.0.1]) -m4_define([gst_plugins_bad_version], [1.15.0.1]) +m4_define([gst_version], [1.15.1]) +m4_define([gst_plugins_base_version], [1.15.1]) +m4_define([gst_plugins_bad_version], [1.15.1]) # Wayland minimum version number m4_define([wayland_api_version], [1.11.0]) diff --git a/gstreamer-vaapi.doap b/gstreamer-vaapi.doap index 431454bc..e77be06d 100644 --- a/gstreamer-vaapi.doap +++ b/gstreamer-vaapi.doap @@ -25,6 +25,16 @@ + + + 1.15.1 + master + + 2019-01-17 + + + + 1.14.0 diff --git a/meson.build b/meson.build index 06e93cf5..c774acf8 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gstreamer-vaapi', 'c', - version : '1.15.0.1', + version : '1.15.1', meson_version : '>= 0.47.0', default_options : [ 'warning_level=1', 'buildtype=debugoptimized' ]) -- cgit v1.2.3