Sangchul Lee [Thu, 3 Feb 2022 02:19:11 +0000 (11:19 +0900)]
gst-plugins-base: Add missing definition for gstreamer-video-1.0 pkg-config
It is fixed to use tizen functions in videooverlay.h.
Change-Id: I132d9d04be952aa815e4c4d8702611def87374ac
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 28 Jan 2022 03:57:22 +0000 (12:57 +0900)]
gst-plugins-good: Rename some definitions for TIZEN
__TIZEN__ is renamed and deprecated.
Change-Id: I2d1f09006403dd1a458241672bb1a2d809ac6753
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 28 Jan 2022 02:28:01 +0000 (11:28 +0900)]
gst-plugins-bad: Rename some definitions for TIZEN
__TIZEN__ is renamed and deprecated.
Change-Id: Idcf8fd98c409eb52a61e4f8e7fbc16c92268b09a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 27 Jan 2022 10:57:18 +0000 (19:57 +0900)]
gst-plugins-bad/good: Add missing __TIZEN__ define to meson.build
Change-Id: Ic1d07e62b53972641d8a2bafe37f6e83c67e5a44
Signed-off-by: Sangchul Lee <sangchul1011@gmail.com>
Gilbok Lee [Tue, 25 Jan 2022 06:53:05 +0000 (15:53 +0900)]
Merge branch 'upstream/1.19.3' into tizen_gst_1.19.3
- Make mono repo which includes all the gstreamer plugins
in subprojects
- Remove unused subproject
- Add mono repo spec file
- Each plugin can be built by adding '--define' option as below
--define "plugin base"
if there is no define option, all the source code in
subprojects will be built.
Change-Id: Ib99d0de6b5fb41f4235c302fbb79f76cb0087a60
Gilbok Lee [Tue, 25 Jan 2022 04:41:09 +0000 (13:41 +0900)]
Move submodules to monorepo
- Remove gstreamer-vaapi
Change-Id: Ifbff44d9cd9c204d27c099a9e5b4fd2fe3cbd24e
Gilbok Lee [Tue, 25 Jan 2022 04:35:20 +0000 (13:35 +0900)]
Merge branch 'move_subdir_editing-services' into tizen_gst_1.19.2_mono
Change-Id: Ie32b679f14b0dadca4dddf34914581167af5d127
Gilbok Lee [Tue, 25 Jan 2022 04:35:04 +0000 (13:35 +0900)]
Merge remote-tracking branch 'gst-editing-services/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: I04394c2d29e5e0d5c3e3fdb904419648949ba6d6
Gilbok Lee [Tue, 25 Jan 2022 04:34:47 +0000 (13:34 +0900)]
Merge branch 'move_subdir_rtsp-server' into tizen_gst_1.19.2_mono
Change-Id: I15c0ddc678464e2c8b225170f51f9c0ff3aa10d0
Gilbok Lee [Tue, 25 Jan 2022 04:29:49 +0000 (13:29 +0900)]
Merge remote-tracking branch 'gst-rtsp-server/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: I0fcdb9edab731fe771073c68b4275af2493dfa70
Gilbok Lee [Tue, 25 Jan 2022 04:29:32 +0000 (13:29 +0900)]
Merge branch 'move_subdir_libav' into tizen_gst_1.19.2_mono
Change-Id: Iedba2edd76d4d887783b3022d3b81c352b618109
Gilbok Lee [Tue, 25 Jan 2022 04:29:20 +0000 (13:29 +0900)]
Merge remote-tracking branch 'gst-libav/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: I316139d6ee94a6111cb0b2a0fc2c2ab7c969327e
Gilbok Lee [Tue, 25 Jan 2022 04:28:54 +0000 (13:28 +0900)]
Merge branch 'move_subdir_omx' into tizen_gst_1.19.2_mono
Change-Id: I5015f39e3d011618a4ef058737fde192dc2e5b92
Gilbok Lee [Tue, 25 Jan 2022 04:28:10 +0000 (13:28 +0900)]
Merge remote-tracking branch 'gst-omx/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: Ic71bfe88112119860cdb5e401aaca0d6ff519fd3
Gilbok Lee [Tue, 25 Jan 2022 04:25:10 +0000 (13:25 +0900)]
Merge branch 'move_subdir_ugly' into tizen_gst_1.19.2_mono
Change-Id: Ifbf7ed41ee57c69d1e399a71ddce9fde680daa52
Gilbok Lee [Tue, 25 Jan 2022 04:24:50 +0000 (13:24 +0900)]
Merge remote-tracking branch 'gst-plugins-ugly/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: Ibc62d4c771f6bc644891599e645be4ca11dd66c1
Gilbok Lee [Tue, 25 Jan 2022 04:24:24 +0000 (13:24 +0900)]
Merge branch 'move_subdir_bad' into tizen_gst_1.19.2_mono
Change-Id: I019febb47e2753a393bbceec4ebd1327d265a656
Gilbok Lee [Tue, 25 Jan 2022 04:23:42 +0000 (13:23 +0900)]
Merge remote-tracking branch 'gst-plugins-bad/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: I03acf8db9e43f5a5aae010a53b4fc2ddfab605b4
Gilbok Lee [Tue, 25 Jan 2022 04:22:57 +0000 (13:22 +0900)]
Merge branch 'move_subdir_good' into tizen_gst_1.19.2_mono
Change-Id: I0cbd209497c9504ce21bc63b98d792a227f85ab8
Gilbok Lee [Tue, 25 Jan 2022 04:22:44 +0000 (13:22 +0900)]
Merge remote-tracking branch 'gst-plugins-good/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: Ic075d639fe00c24a6534f07f396f02f6fbbdbb0e
Gilbok Lee [Tue, 25 Jan 2022 04:22:30 +0000 (13:22 +0900)]
Merge branch 'move_subdir_base' into tizen_gst_1.19.2_mono
Change-Id: I86f250af954c85db7a92face2c7e79f53673787f
Gilbok Lee [Tue, 25 Jan 2022 04:21:51 +0000 (13:21 +0900)]
Merge remote-tracking branch 'gst-plugins-base/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
Change-Id: I8019d28ceb5b9b25c316f777dce7787fda344556
Gilbok Lee [Tue, 25 Jan 2022 04:21:26 +0000 (13:21 +0900)]
Merge branch 'move_subdir' into tizen_gst_1.19.2_mono
Change-Id: I6712b0965ca4ce5eb157ac1c26fd33b419498818
Jeongmo Yang [Fri, 21 Jan 2022 07:24:28 +0000 (16:24 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: I40281f0aebdf537983a93bfa4d7d78f42860ba68
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunil [Mon, 24 Jan 2022 06:37:54 +0000 (15:37 +0900)]
Rtsp: Set start position to Range general-header for PLAY, RESUME and seek for Player
Change-Id: Iec86b75ce50981eb843d306cfffe52b498df9506
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
Sangchul Lee [Mon, 24 Jan 2022 06:33:25 +0000 (15:33 +0900)]
gstinfo: Change definition name for enabling dlog
It is changed according to the meson.build option for Tizen.
Change-Id: I36b0cdbf76b3eab88bf271ca03965093923167c2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Hyunsoo Park [Wed, 19 Jan 2022 08:45:53 +0000 (17:45 +0900)]
Merge branch 'upstream/1.19' into tizen_gst_1.19.2
Change-Id: I15fb3b678d79b5210e01a5b21b5ddf02c3e5ddab
Jeongmo Yang [Tue, 18 Jan 2022 05:21:34 +0000 (14:21 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: If7f906d75af448d39ce3c53f82cb33a3feaf80cb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Gilbok Lee [Mon, 17 Jan 2022 02:07:07 +0000 (11:07 +0900)]
Send seek event to baseparse when aacparse seek failed in push mode
Change-Id: Ifcbb545a3d68c110a5442db216ec23ead9a9ca26
Gilbok Lee [Thu, 20 Jan 2022 07:18:40 +0000 (16:18 +0900)]
Move the defines from spec to meson.build
Change-Id: Ic5fa56be3dce0e8086d554264ca6ee622bb24c2e
Gilbok Lee [Thu, 20 Jan 2022 06:26:12 +0000 (15:26 +0900)]
Move the defines from spec to meson.build
Change-Id: Icd30589c3f5318806b4f3708abc75ee0398b3a94
Gilbok Lee [Thu, 20 Jan 2022 06:10:58 +0000 (15:10 +0900)]
Move the defines from spec to meson.build
Change-Id: I87e1dc60270aba0c3318bfea294c65771de982c1
Gilbok Lee [Thu, 20 Jan 2022 05:30:54 +0000 (14:30 +0900)]
Move the defines from spec to meson.build
- Change file permission 755 to 644
- Remove white space
Change-Id: I4d27826eed80c5698dd30f0b989429af36cf4e9f
Gilbok Lee [Thu, 20 Jan 2022 01:15:56 +0000 (10:15 +0900)]
Move the defines from spec to meson.build
Change-Id: Ic7483b9b364186652edb075b6681a6992185bde2
Gilbok Lee [Wed, 19 Jan 2022 06:54:43 +0000 (15:54 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: I3806ab340e71edb091ae34d7b2f9016d636454cb
Sangchul Lee [Wed, 19 Jan 2022 06:45:21 +0000 (15:45 +0900)]
webrtc: Remove empty spaces and fix missing tizen codes
Change-Id: I2c5e95531f944089e9003add5fe2a663394f7096
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Gilbok Lee [Wed, 19 Jan 2022 01:50:15 +0000 (10:50 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: I4cebef33eadb3e868c122c1d09a70fb4afbfecb9
Eunhye Choi [Mon, 17 Jan 2022 19:48:34 +0000 (04:48 +0900)]
Merge branch 'tizen' into 'tizen_gst_1.19.2'
Change-Id: I55b6ae1068fdcf7cad6d59825271d4e2a34bc024
Eunhye Choi [Mon, 17 Jan 2022 18:37:57 +0000 (03:37 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: I1eb8ccf3e811415df3c7828ebafc22d5dabe6a7f
Jeongmo Yang [Mon, 17 Jan 2022 11:24:51 +0000 (20:24 +0900)]
Modify feature name
- Minor change
: Remove unused feature. (LIBAV_RANK_MODIFICATION)
[Version] 1.16.2-3
[Issue Type] Update
Change-Id: Ib4766b7ac7b1848a32972f91e6fdb7194458e958
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Gilbok Lee [Mon, 17 Jan 2022 05:10:42 +0000 (14:10 +0900)]
Merge branch 'tizen' into tizen_gst_1.19.2
Change-Id: I904018a26020868a46b46717571e6786b0362697
Eunhye Choi [Thu, 13 Jan 2022 14:09:08 +0000 (23:09 +0900)]
fix tv profile option bug
Change-Id: Ibdb6db6df54241508910f4345d434534f9719f22
Eunhye Choi [Wed, 12 Jan 2022 20:57:38 +0000 (05:57 +0900)]
apply meson option and fix build error
- apply meson option
- fix packaging error
- .gbs.conf will be applied after
Change-Id: Ic53c05c010f88e43500fbd09334f0d12f1a38aa5
Gilbok Lee [Wed, 12 Jan 2022 05:31:00 +0000 (14:31 +0900)]
Merge remote-tracking branch 'upstream/master' into tizen
Change-Id: If3cf3c18b851741dcaec1b5a01796b7ba12242bc
Gilbok Lee [Thu, 6 Jan 2022 05:21:25 +0000 (14:21 +0900)]
hlsdemux: Reset m3u8 sequence when fail three times to get next fragment
- When media sequence of m3u8 decreases on live stream, fail to get next fragment
Change-Id: Iaae7ba7cf3439fcca5155e9cc7f3a1a95e85909e
Inki Dae [Fri, 17 Dec 2021 02:57:50 +0000 (11:57 +0900)]
ext/cairo: pack gstcairo plugin in default
Native applications which use GStreamer API need gst cairo plugin
library to draw graphic primitives on Cairo surface. So pack gst cario
plugin library in default.
Change-Id: I152eb1407448794892942d9c77ebb1dce4f7d78a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Sangchul Lee [Fri, 17 Dec 2021 06:03:57 +0000 (15:03 +0900)]
webrtcbin: Add drop-probability-receiver property
If netsim property is enabled, this property can be set to simulate
loss of being received RTP packets.
Change-Id: I4f229d41f40e649bdefffd48827f6f7172401741
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Thu, 16 Dec 2021 11:31:57 +0000 (20:31 +0900)]
webrtcbin: Add netsim and drop-probability-sender properties
These properties are added to simulate loss of sending RTP packets.
Change-Id: Ia633a32a902d6322189d1b0c033a3a15bdbc4e9d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 17 Dec 2021 02:25:31 +0000 (11:25 +0900)]
webrtcbin: Fix invalid structure type
It also fix a build warning.
Change-Id: I4eebaa9c04ee20b85bb04a21f4c5464d58329e54
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Eunhye Choi [Fri, 17 Dec 2021 05:48:35 +0000 (14:48 +0900)]
hlsdemux: update segment with valid pos info
- add checking stream type to update segment position
- vtt stream is not proper to construct segment
Change-Id: Ibbdd91c6d75573afd708dc210dac20286290c3be
Doug Nazar [Fri, 23 Apr 2021 16:12:58 +0000 (12:12 -0400)]
Use g_memdup2() where available and add fallback for older GLib versions
glib 2.68 deprecates g_memdup(). Replace with g_memdup2() and
add fallback if compiling against older versions, since we
want to avoid deprecation warnings.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/803>
Change-Id: I1adcb816a0cc48003200b46c08d2d58985a79b59
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyunsoo Park [Fri, 10 Dec 2021 07:25:52 +0000 (16:25 +0900)]
[rtsp-mediafa-factory] Remove g_strdup of no use and add g_autofree
Change-Id: I0aacbccb733da1eeb4a5d56450e22670c7284cfb
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Gilbok Lee [Wed, 1 Dec 2021 00:34:36 +0000 (09:34 +0900)]
subparse: Add drop-out-of-segment property
- When property 'drop-out-of-segment' is set to false,
subparser will not drop the buffer even
the start time of the parsed buffer is out of the segment.
Change-Id: Ia7d84ad26c2e93cda46778c86d35bd67442e907b
Gilbok Lee [Wed, 1 Dec 2021 04:55:42 +0000 (13:55 +0900)]
mpegtsdemux: activate new stream when program update
Change-Id: If8f299f90e181d47579f143e9671d488f0b2dbe6
Hyunsoo Park [Tue, 30 Nov 2021 07:31:01 +0000 (16:31 +0900)]
rtsp-media-factory-wfd: Fix memory leak
Change-Id: Ibd32fcbec6e86b2e654e8781d6ee7a0c768aacc2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Eunhye Choi [Mon, 29 Nov 2021 07:09:19 +0000 (16:09 +0900)]
hlsdemux: fix block issue if webvtt data is empty
- send webvtt dummy buffer to avoid block and
expose all the hlsdemux pad normally
Change-Id: I5ff48c4498752353ca4fd985a73df0c9bbe914f2
Gilbok Lee [Wed, 24 Nov 2021 10:28:03 +0000 (19:28 +0900)]
subparse: Calcurate buffer pts using timestamp map for HLS webvtt
- parsing error occurs due to out of segment
Change-Id: Ib7945d1d3e64ed2568df94c77436444117fb9ea5
Gilbok Lee [Wed, 24 Nov 2021 00:33:17 +0000 (09:33 +0900)]
subparse: Send custom event for fragment_timestamp
- If there is no buffer in case of discontinuous,
do not send reference timestamp.
- related commit:
d4e6aa89f86efbc9cc665f2ee123a33015f1449a
'subparse: Add reference timestamp meta in GstBuffer for HLS webvtt' commit
Change-Id: Id98697ba6db1dc94b4ce4f753670524f6fcf506e
Sangchul Lee [Mon, 22 Nov 2021 04:49:39 +0000 (13:49 +0900)]
pulsesink: Revise condition to set mute in the initial stage
If gst_pulseringbuffer_acquire() is called after _release() due
to any reason (e.g. caps changes), mute was not applied properly
with the current value. It is now fixed.
Note that the condition is slightly changed from upstream codes
especially on the mute_set variable.
Change-Id: I7b81160d12f30fbf1e872212b051adafeb2c50aa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Gilbok Lee [Sat, 20 Nov 2021 06:39:08 +0000 (15:39 +0900)]
subparse: Add reference timestamp meta in GstBuffer for HLS webvtt
- When discontinuous buffer come in during HLS,
send the input buffer pts to the reference timestamp meta data
- The reference timetamp meta data is added with the input buffer pts
to synchronize with the mpeg ts stream
Change-Id: I5ff5b9523b44323f1d6aa37133e5341505d4ce55
Eunhye Choi [Sat, 20 Nov 2021 05:45:31 +0000 (14:45 +0900)]
hlsdemux: set discont. only at start fragment
- discont have to be set in case of start fragment
to update pts correctly.
Change-Id: I482dd48012b8dc76d54e97b91e83b3083ad81d5b
Eunhye Choi [Wed, 17 Nov 2021 12:00:30 +0000 (21:00 +0900)]
tsdemux: update pmt info
- to handle new pmt as psi,
the pmt info have to be removed from the previous pes list
Change-Id: Ibd7df6f945287cb8f1ca8e9b6c6f71c07a3dc486
Sangchul Lee [Wed, 17 Nov 2021 08:08:54 +0000 (17:08 +0900)]
fixup! webrtcbin: Remove transceiver from array when releasing pad
Change-Id: Idd611bc2f66adf24abc51ae0ef0b000adbe8f48c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Sangchul Lee [Fri, 29 Oct 2021 06:45:18 +0000 (15:45 +0900)]
webrtcbin: Notify missing ice-gathering-state for COMPLETE
Occasionally, GATHERING_STATE_COMPLETE was obtained in _update_ice_
gathering_state_task() before consuming all the tasks for local ICE
candidates in _on_local_ice_candidate_task(). It missed notifying the
'ice-gathering-state' signal for gathering completion.
This patch fixes it.
Change-Id: Ie0a997e6976f48b876cb0741f488826a0c172116
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Gilbok Lee [Tue, 16 Nov 2021 01:14:04 +0000 (10:14 +0900)]
hlsdemux: Add condition for setting stream discontinuity
- Set stream continuity when fragment time changes
- Change in the wrong define in the spec
Change-Id: I592f4cd915c2d186462f771714de797c4b424521
Gilbok Lee [Fri, 12 Nov 2021 05:45:42 +0000 (14:45 +0900)]
hlsdemux: Set stream discontinuity when the last PCR value differs by more than 1 second
Change-Id: I1747f7485c9f2eabae67f6f17e11005715a1a081
Gilbok Lee [Fri, 12 Nov 2021 03:38:50 +0000 (12:38 +0900)]
tsdemux: Handle invalid PCR_PID streams
- If pcr_pid stream does not have PCR,
find PCR in all streams and update the program PCR_pid
Change-Id: I53c7fcfc8c405eb9ff162d52000d56d7e9cf3bfb
Tim-Philipp Müller [Wed, 3 Nov 2021 15:43:36 +0000 (15:43 +0000)]
Release 1.19.3
Tim-Philipp Müller [Wed, 3 Nov 2021 15:43:32 +0000 (15:43 +0000)]
Update ChangeLogs for 1.19.3
Gilbok Lee [Wed, 3 Nov 2021 06:30:32 +0000 (15:30 +0900)]
qtdemux: Determine duration with reference to track header duration
- The maximum value of the duration of each tkhd is decided with the total duration.
Change-Id: I8a88cd63ed58ce6677b70943d71ee5df8bfa2013
Nicolas Dufresne [Tue, 2 Nov 2021 20:09:52 +0000 (16:09 -0400)]
ci: Do not clone in the trigger job
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1298>
Sebastian Dröge [Tue, 2 Nov 2021 14:46:08 +0000 (16:46 +0200)]
multifilesink: Make minimum distance between keyframes in next-file=key-frame mode configurable
Previously this was hardcoded to 10s, which is not necessarily the
desired behaviour.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1292>
Erlend Eriksen [Mon, 1 Nov 2021 15:32:10 +0000 (16:32 +0100)]
qtmux: Fix deadlock in gst_qt_mux_prepare_moov_recovery
Regression from
5766731bd4200c3a374522a749386f740347661a
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1288>
Matthias Clasen [Mon, 1 Nov 2021 19:48:58 +0000 (15:48 -0400)]
egl: handle configless contexts
With EGL_KHR_no_config_context, EGL contexts may just not
have an EGLConfig to give you. Deal with it.
Fixes: #858
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1289>
Seungha Yang [Fri, 29 Oct 2021 16:55:38 +0000 (01:55 +0900)]
examples: win32-videooverlay-playbin: Add a repeat option
... in order to test pipeline/element reuse cases.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1275>
Nicolas Dufresne [Tue, 2 Nov 2021 13:40:43 +0000 (09:40 -0400)]
codecs: mpeg2: Drain before a new_sequence get signalled
The decoder may need to re-allocate the output buffer, it is easier if all
pictured have been outputed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Thu, 8 Apr 2021 19:24:49 +0000 (16:24 -0300)]
v4l2codecs: gstv4l2codecsmpeg2dec: implement a render delay
The v4l2 backend support delayed output for performance reasons.
It is then possible to use render delays to queue multiple requests
simultaneously, thus increasing performance.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Thu, 8 Apr 2021 19:07:23 +0000 (16:07 -0300)]
codecs: gstmpeg2decoder: add support for render delay
Some decoding APIs support delayed output for performance reasons.
One example would be to request decoding for multiple frames and
then query for the oldest frame in the output queue.
This also increases throughput for transcoding and improves seek
performance when supported by the underlying backend.
Introduce support in the mpeg2 base class, so that backends that
support render delays can actually implement it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Tue, 6 Apr 2021 19:40:28 +0000 (16:40 -0300)]
v4l2codecs: Implement a MPEG2 V4L2 decoder element
Implement a MPEG2 V4L2 decoder element based on the previous h264
implementation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Tue, 6 Apr 2021 19:42:54 +0000 (16:42 -0300)]
v4l2codecs: mpeg2: update to the new uAPI
The mpeg2 stateless api has undergone changes as it is being
destage. Update the v4l2-controls header to match.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Fri, 26 Mar 2021 18:52:21 +0000 (15:52 -0300)]
sys: va: GstVaMpeg2Dec: use slice sc_offset and size
Seeing as how GstMpeg2Slice will now record the start code offset
as well as its size with the above field taken into account, the
manual computation in this class is not needed.
Remove it.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
Daniel Almeida [Fri, 26 Mar 2021 18:31:51 +0000 (15:31 -0300)]
codecs: GstMpeg2Slice: add field for sc_offset and size
Downstream might need the start code offset when decoding.
Previously this computation would be scattered in multiple sites. This
is error prone, so move it to the base class. Subclasses can access
slice->sc_offset directly without computing the address themselves
knowing that the size will also take the start code into account.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1013>
James Cowgill [Wed, 20 Oct 2021 11:11:49 +0000 (12:11 +0100)]
v4l2codecs: Handle allocator creation failure
If `VIDIOC_REQBUFS` doesn't return enough buffers the allocator creation
function can fail and return `NULL`. Handle this by generating an error
and returning instead of segfaulting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1220>
James Cowgill [Wed, 20 Oct 2021 11:08:49 +0000 (12:08 +0100)]
v4l2codecs: Fix segfault when destroying non-detached allocator
The GstV4l2CodecAllocator dispose function clears `self->decoder` but
the finalize function then tries to use it if the allocator has no been
detached yet.
Fix by detaching in the dispose function before we clear
`self->decoder`.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1220>
Guillaume Desmottes [Tue, 2 Nov 2021 09:14:28 +0000 (10:14 +0100)]
re-add gst-plugins-rs.wrap
It's been lost during the monorepo migration.
Note that building Rust plugins as a subproject is currently broken,
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/171
but I'm going to fix that.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1290>
Julian Bouzas [Fri, 29 Oct 2021 20:08:20 +0000 (16:08 -0400)]
alphacombine: use the same allocation query data for both decoders
This allows downstream elements to set allocation query parameters for both
decoders, which should be always the same.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1277>
Nirbheek Chauhan [Sun, 31 Oct 2021 08:13:40 +0000 (13:43 +0530)]
applemedia: Add ARGB64_BE, RGBA64_LE support to vtenc/vtdec
We can add this now that ARGB64_BE videoconvert support was added in:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1247
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Tue, 19 Oct 2021 20:49:33 +0000 (02:19 +0530)]
vtenc: Add FieldDetail properties for interlaced input
Standard interlace handling:
* If we have interlace-mode=interleaved and the field order, we just
set it when creating the session
* If we have interlace-mode=(interleaved|mixed) and no field order, we
set the field order on the first buffer
The encoder session does not support changing the FieldDetail after it
has started encoding frames, so we cannot support mixed streams
correctly.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Tue, 19 Oct 2021 20:19:29 +0000 (01:49 +0530)]
vtenc: Add a property to forcibly ignore alpha values
This PropertyKey is not documented in any headers anywhere, so we need
to define it ourselves.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Tue, 19 Oct 2021 18:23:39 +0000 (23:53 +0530)]
vtenc: Set colorimetry information
It looks like VideoToolbox doesn't support all our colorimetries.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Sun, 17 Oct 2021 13:24:10 +0000 (18:54 +0530)]
applemedia: Add ProRes support to vtenc and vtdec
For vtdec, we continue to prefer NV12; else we pick whatever
downstream wants. In the special case where we're decoding 10-bit or
12-bit ProRes formats, we will prefer AYUV64.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Sun, 17 Oct 2021 13:49:15 +0000 (19:19 +0530)]
vtenc: Improve error reporting in chain function
Otherwise it is quite difficult to figure out why the chain function
failed. Also assert not reached for case statements that should not be
hit.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Nirbheek Chauhan [Thu, 14 Oct 2021 06:44:49 +0000 (12:14 +0530)]
vtdec: Remove dead code in switch statement
We never advertise these formats, so these cases will never be hit.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1214>
Haesu Gwon [Mon, 1 Nov 2021 08:28:54 +0000 (17:28 +0900)]
[effectv] Enable effectv for Media Editing FW
Change-Id: I8f0920bb96f3b93eb60f61052a54d5a0c80414ea
Piotrek Brzeziński [Sun, 31 Oct 2021 19:20:08 +0000 (20:20 +0100)]
mediatype-video-raw: add ARGB64_LE/BE and variants
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1286>
Xavier Claessens [Thu, 28 Oct 2021 14:09:21 +0000 (10:09 -0400)]
Allow Strawberry Perl on Windows with Meson >= 0.60.0
Meson now explicitly blacklists pkg-config.bat from Strawberry Perl and
thus building GStreamer on Windows has been fixed.
This allows for instance to build GStreamer on GitHub Action Windows
runners that have Strawberry Perl by default.
It is also useful when needing to build OpenSSL on the same Windows
machine because it requires Perl.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1263>
Sebastian Dröge [Sat, 30 Oct 2021 13:22:39 +0000 (16:22 +0300)]
video: Fix order of new video formats
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1282>
Sebastian Dröge [Sat, 30 Oct 2021 12:50:30 +0000 (15:50 +0300)]
base: Fix some annotations
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1281>
Tim-Philipp Müller [Fri, 29 Oct 2021 23:58:55 +0000 (00:58 +0100)]
Couple more g_memdup() -> g_memdup2() fixes
Fixes deprecation warnings with newer GLib versions.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279>
Tim-Philipp Müller [Fri, 29 Oct 2021 23:52:42 +0000 (00:52 +0100)]
dtls: don't use deprecated g_binding_get_source() with newer GLib versions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1279>