Jan Alexander Steffens (heftig)
19d34f6b5e
fdkaacdec: Use WAV channel mapping instead of interleave setting
...
The latter is going away in libfdk-aac 2.0.0. Instead, MPEG-style output
is always non-interleaved and WAV-style output is always interleaved.
Earlier libfdk-aac also defaults interleaving accordingly.
Since our reordering looks at the associated PCE indices instead of the
actual channel order, we're agnostic to the mapping.
For https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/825
2018-12-05 21:50:03 +00:00
Jan Alexander Steffens (heftig)
f4fdb9770c
fdkaacenc: Remove MODE_2_1
...
This is not a standard mode and no longer supported by fdk-aac 2.0.0.
For https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/825
2018-12-05 21:50:03 +00:00
Thibault Saunier
dbbbe3445d
Automatic update of common submodule
...
From cd1dee0 to 59cb678
2018-12-05 17:24:20 -03:00
Nirbheek Chauhan
9504fc7174
meson: Add missing gio dep to webrtcbin plugin
...
It's usually pulled in implicitly through gstsdp_dep, but it's
actually a private dependency there. Fixes a build failure on Windows
with newer Meson.
2018-12-05 19:58:44 +05:30
Naveen Cherukuri
936f89a0d5
kmssink: Avoiding get_property to take ownership of object members
...
Double free will happen if application frees string retuned by _get_property
2018-12-04 12:23:48 +01:00
Xiang, Haihao
0e7e425bb9
msdk: add missing breaks
2018-12-03 07:09:56 +00:00
Xiang, Haihao
a1aae3fd92
msdk: fix the wrong operator
...
The condition is for video memory only, so the operator should be
& instead of |
2018-12-03 07:09:56 +00:00
Guillaume Desmottes
5efe9944e0
h265parse: process SEI recovery point
...
Similar change as the on I did in h264parse. We want to process SEI
recovery point as keyframe so muxers will mark them as seek points and
decoders will be able to start decoding from them rather than waiting
for an IDR.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
2018-12-02 02:07:39 +00:00
Guillaume Desmottes
64643fdfb4
h265parser: parse SEI recovery point
...
Copied the implementation from h264parser and adapted it to the HEVC
syntax.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
2018-12-02 02:07:39 +00:00
Guillaume Desmottes
99bd3f716c
h265parse: parse SEI messages
...
Don't do anything with them yet. I just copied the parsing and
processing logic from h264parse.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
2018-12-02 02:07:39 +00:00
Guillaume Desmottes
5ac4a6e003
h264parse: mark SEI Recovery Point as keyframes
...
The spec states that "recovery point SEI message assists a decoder in
determining when the decoding process will produce acceptable
pictures for display after the decoder initiates random access or after the
encoder indicates a broken link in the coded video sequence."
Mark those as keyframes so muxers will mark them as seek points and
decoders will be able to start decoding from them rather than waiting
for an IDR.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/790
2018-12-02 02:07:39 +00:00
Seungha Yang
68a5697c1a
h265parse: Don't duplicate VPS/SPS/PPS per config-interval if exists
...
Don't need to manually insert VPS/SPS/PPS since inband data could be useable.
Also fixes #824
2018-11-30 02:19:17 +00:00
Seungha Yang
4f7fe897b9
h264parse: Don't duplicate SPS/PPS per config-interval if exists
...
Don't need to manually insert SPS/PPS since inband data could be useable.
Fixes #824
2018-11-30 02:19:17 +00:00
Tim-Philipp Müller
2b8659a3ef
meson: build opencv and ipcpipeline examples
...
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/576
2018-11-29 12:29:50 +00:00
Tim-Philipp Müller
4f935e1e7f
cc708overlay: fix deadlock
...
We would forget to unlock when a caption data buffer is deemed
out of segment, which makes everything lock up next time buffers
are received.
2018-11-29 11:24:39 +00:00
Jordan Petridis
1f562870ee
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-28 14:18:26 +00:00
Maciej Wolny
465ea32d73
webrtc: Remove duplicate declarations
...
This causes 'redefinition of typedef ...' errors on GCC 4.5.3
2018-11-28 12:24:37 +00:00
Seungha Yang
2c81a50c2c
hlssink2: Fix string leak
...
Need to free allocated string memory on _finalize()
2018-11-27 16:08:17 +09:00
Xiang, Haihao
b0d22f8cb4
msdk: remove unnecessary assignment
...
CodecProfile will be set in MFXVideoDECODE_DecodeHeader() to match
the input stream. Setting the hard-coded profile here will mislead
user that msdkh265dec supports a special profile only.
2018-11-26 16:47:17 +00:00
Xiang, Haihao
b38f8d301c
msdk: update the sink and src caps of msdkh265dec
...
Now hevc 10bit video can be decoded correctly, so update the sink
and src caps accordingly.
This fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/720
2018-11-26 16:47:17 +00:00
Xiang, Haihao
2b0923842a
msdk: set right BitDepth and Shift for P010 mfx frame
...
BitDepth is 10 and Shitf must be set to 1 when creating P010 mfx
frame in MSDK
2018-11-26 16:47:17 +00:00
Xiang, Haihao
fda4918cc8
msdk: don't use hard-coded video format
...
Some codecs may support varied formats, e.g. HEVC may support NV12
and P010_10LE etc
2018-11-26 16:47:17 +00:00
Xiang, Haihao
27ab7fb40f
msdk: adjust the RT format for P010 surface
...
According to VA API, VA_RT_FORMAT_YUV420_10 is expected for P010
surface
2018-11-26 16:47:17 +00:00
Xiang, Haihao
eeb58f64c2
msdk: create VA_FOURCC_P010 surface from dmabuf
2018-11-26 16:47:17 +00:00
Xiang, Haihao
7d58424611
msdk: VA_FOURCC_P010 frame lock
...
P010 and NV12 have the same layout, so we may reuse the code in
gst_msdk_frame_lock()
2018-11-26 16:47:17 +00:00
Xiang, Haihao
f72c825194
msdk: map MFX_FOURCC_P010 to VA_FOURCC_P010
2018-11-26 16:47:17 +00:00
Xiang, Haihao
dc070a8306
msdk: make sure the surface data is set for GST_VIDEO_FORMAT_P010_10LE
...
P010_10LE and NV12 have the same layout, so we may reuse the code.
2018-11-26 16:47:17 +00:00
Haihao Xiang
54451b7303
msdk: map GST_VIDEO_FORMAT_P010_10LE to MFX_FOURCC_P010
2018-11-26 16:47:17 +00:00
Xiang, Haihao
1d97a6f00e
msdk: add an assert in gst_msdk_frame_lock() for unhandled formats
...
We will add support for more formats, e.g. P010, Adding an assert
here may catch the error early
2018-11-26 16:47:17 +00:00
Haihao Xiang
1c0160513b
msdk: use separate src caps for msdkh265dec
...
We will add more formats in the src caps of msdkh265dec, so let
msdkh265dec uses separate src caps. Note it doesn't change any
capability
2018-11-26 16:47:17 +00:00
Xiang, Haihao
1bfd1b2bf9
msdk: Make sure a variable is initialized when it is used
...
Previously alloc_info is initialized when both thiz->initialized
and thiz->allocation_caps are true, but only thiz->initialized is
checked when alloc_info is used.
2018-11-26 16:13:44 +00:00
Xiang, Haihao
38cf42f90f
msdk: Close fd handle
...
Otherwise it will result in resource leak if mem == NULL
2018-11-26 16:13:44 +00:00
Nicola Murino
24d5c9b200
opencv: define CASCADE_DO_CANNY_PRUNING for opencv < 4
2018-11-26 13:29:03 +00:00
Nicola Murino
b0773c6ea7
opencv: make compatible with opencv 4
...
Closed #826
2018-11-26 13:29:03 +00:00
Nicola Murino
890dbb560f
opencv: fix indentation
2018-11-26 13:29:03 +00:00
Wangfei
2fd3130350
configure.ac: add gst-allocator check in msdk.
...
With out check gst-allocator, there will be a gst-allocator api
symbol link error when call for libgstmsdk.so.
2018-11-26 09:45:01 +00:00
Matthew Waters
d67d866eb9
decklink: fixup internal time tracking over buffering pauses
...
Instead of relying on buffers after a state change to PLAYING to always start
from 0, track the amount of time we have spent outside playing but not changed
state to PAUSED.
2018-11-26 17:57:45 +11:00
Matthew Waters
65c9c4b406
tests/webrtc: fix tests for no libnice
...
webrtcbin will fail the state change to READY when libnice elements are
not available.
2018-11-26 17:13:08 +11:00
Matthew Waters
57a006d8a5
tests/webrtc: use the existing functions in the plugin
...
Instead of redefining our own, use the function implementations in
webrtcsdp.c and utils.c
2018-11-26 17:13:08 +11:00
Matthew Waters
14ee6f9d35
webrtc: fix typo in RTCRemoteOutboundRTPStreamStats
2018-11-26 16:21:58 +11:00
Matthew Waters
a42fdbb012
webrtc: add a few comments on bundle and src pad exposure
2018-11-26 16:21:19 +11:00
Matthew Waters
6f91a191de
webrtcbin: factor out dtls fingerprint setting
2018-11-26 16:20:02 +11:00
Matthew Waters
3a2566c61f
webrtc: remove extra 'pad' from log line
2018-11-26 16:12:03 +11:00
Matthew Waters
5ecca0bb22
webrtc: move some functions to the appropriate files
2018-11-26 16:07:57 +11:00
Seungha Yang
d2e87e6a31
meson: Fix Windows CUDA dependency check
...
Python returns 'None' string for unknown environment
2018-11-26 11:31:06 +09:00
Seungha Yang
d3a6eb7977
nvh265enc: Fix email address typo
2018-11-25 23:31:37 +00:00
Seungha Yang
c75907d23c
nvenc: Fix undefined reference build error on MSVC and CUDA 9.1
2018-11-25 23:31:37 +00:00
Seungha Yang
3cd1d0c7bc
nvenc: Fix MSVC build error C2121
2018-11-25 23:31:37 +00:00
Seungha Yang
6bf5ba993d
nvenc: Add meson build with Windows support
...
Note that, since Nvidia does not provide nvEncodeAPI.lib file,
find_library() couldn't be used for build on Windows.
This patch changes to load nvEncodeAPI(64).dll or libnvidia-encode.so
in runtime
2018-11-25 23:31:37 +00:00
Seungha Yang
6051c47bfe
nvdec: Add meson build with Windows support
2018-11-25 23:31:37 +00:00