Age | Commit message (Collapse) | Author | Files | Lines |
|
Amphion v4l2 driver doesn't have capability to change framerate which makes
fps info to be 0. Need to refine last commit to add protection when set
decoder capture fps according to output fps.
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1035>
|
|
imxvideoconvert_g2d and glimagesink will not propose dmabuf modifier
meta upstream. On 8qm qxp, vpu will always output tile format,
so no need to change modifier for amphion platform
|
|
If the duration of the v4l2object is invalid, use default 25fps instead.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/996>
|
|
v4l2 encoder won't probe all colorspace, range, matrix and transfer combination
to save initialization time for low-speed devices. Unfortunately uvc driver
default colorimetry is not in the colorimetry list of v4l2 encoder and it causes
not-negotiated. If desired colorspace is 1:4:7:1, uvc driver will produce 1:4:5:1.
To fix this, need to allow colorimetry 1:4:5:1 produced by uvc driver if desired
colorspace is 1:4:7:1. This workaround should be removed later like discussion in
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/969.
|
|
skip_try_fmt_probes is set to TRUE for v4l2src to skip interlace-mode and
colorimetry when probe caps. gst_v4l2_object_set_format_full() will add
colorimetry back to caps when iterating over the negotiated caps. There is
one case that v4l2src is first in preview state then starts recording.
v4l2src caps will change with an additional interlace-mode structure after
renegotiation, then v4l2src needs to reset. But this camera driver can't
orphan buffer pool, it causes require buffer failed as streaming is still
in active state.
To fix this, also need to add interlace-mode back to caps for camera to
avoid reset.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/961>
|
|
Change output pixelformat from NVX2 to NV12 for 10 bit stream on 8MM/8MP.
|
|
Some streams have unknown colorimetry in caps, but v4l2object sets
default values for each primaries. It will cause check colorimetry
fail when do gst_v4l2_video_colorimetry_matches().
To fix this, need to keep the unknown colorimetry in caps same as
the default value set by v4l2object.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/923>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/868>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/868>
|
|
Resolution change stream transcoding will drain before send new video
frame buffer. Need encode video frame after process EOS.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/868>
|
|
Below information will be printed before v4l2 decoding and encoding.
====== V4L2DEC: 1.18.0 build on Mar 25 2021 04:14:21. ======
====== V4L2ENC: 1.18.0 build on Mar 25 2021 04:14:21. ======
|
|
video-info sets gst colorimetry to default value when colorimetry in caps
is unparsable or invalid. Then v4l2object uses this gst colorimetry to do
mapping with v4l2 colorimetry. This may cause colorimetry mismatch when
check mapped gst colorimetry with that read from caps directly.
To fix this, need to correct gst colorimetry as that parsed from video-info
when check gst_v4l2_video_colorimetry_matches().
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/917>
|
|
Colorimetry of hdr10 video is bt2100-pq with transfer as
GST_VIDEO_TRANSFER_SMPTE2084. So map GST_VIDEO_TRANSFER_SMPTE2084
to V4L2_XFER_FUNC_SMPTE2084 to support this kind of video.
|
|
|
|
|
|
Vp8/vp9 supported profiles/levels are listed in decoder sink caps, but
there is no parser for these two formats and the demuxers also don't have
these information. It causes negotiation fail between demuxers and decoder
when check caps "accept = gst_caps_is_subset (caps, template_caps);".
To fix this, need to remove profiles/levels for vp8/vp9 formats in decoder
sink caps.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/887
UpStream Status: Accepted
|
|
Hantro VC1_G need user space dequeue event after process codec data.
So start output task after queue codec data.
Signed-off-by: Bing Song <bing.song@nxp.com>
|
|
Set right stride for NV12_10LE output format.
|
|
|
|
Signed-off-by: Hou Qi <qi.hou@nxp.com>
|
|
Keep HEVC profile compatible with other module.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/850>
|
|
GST_VIDEO_TRANSFER_BT2020_12 and GST_VIDEO_TRANSFER_BT2020_10 will
be mapped to V4L2_XFER_FUNC_709. Need check input caps when map
V4L2_XFER_FUNC_709 back to GST_VIDEO_TRANSFER_BT2020_12 and
GST_VIDEO_TRANSFER_BT2020_10
Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/816
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/841>
|
|
V4L2_PIX_FMT_VC1_ANNEX_L
VC1_L and VC1_G are reversed in driver and v4l2 plugin for amphion.
Driver has exchanged them, so we also need to modify accordingly here.
|
|
Map V4L2_PIX_FMT_RGBA32 pixel format to GST_VIDEO_FORMAT_RGBA instead of
GST_VIDEO_FORMAT_RGB video format to support RGBA.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/848
UpStream Status: Accepted
|
|
V4L2_PIX_FMT_VC1_ANNEX_L
VC1_L and VC1_G are reversed in driver and v4l2 plugin for amphion.
Driver has exchanged them, so we also need to modify accordingly here.
|
|
this commit will cause our mkv parser dead loop while seeking keyframe
This reverts commit ce802f033c8cee4f923c0d893dda0efd0d003689.
|
|
For legacy drivers that don't implement ENUM_FRAMESIZE, use active
resolution to probe colorspace. This can improve the accuracy of the
result when the colorspace depends on the resolution. This fixes a
wrong colorspace issue on board with vendor bsp at resolution 2560x1440.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/830
UpStream Status: Accepted
|
|
fakesink.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/805
UpStream Status: Pending
Signed-off-by: Hou Qi <qi.hou@nxp.com>
|
|
gst_caps_simplify() will move interlace format before normal video
format. It will cause caps negotiate prefer interlaced caps which
isn't expected. Seperate normal caps and interlaced caps and then
merge it will keep prefer progress video format.
Add ARGB/BGRA for interlaced caps.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/802
Part-of <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/813>
|
|
when remove colorimetry.
Signed-off-by: Bing Song <bing.song@nxp.com>
|
|
Add lock for queue and stream off, or v4l2 core will complain it.
https://bugzilla.gnome.org/show_bug.cgi?id=752962
UpStream Status: Pending
Signed-off-by: Song Bing<bing.song@nxp.com>
|
|
Output buffer pool set configure will fail if max diff with min count.
|
|
Needn't the work around now. v4l2 support orphon buffer.
Signed-off-by: Bing Song <bing.song@nxp.com>
(cherry picked from commit 6005e8199ea19878f269b058ffbbbcaa314472d8)
|
|
Hantro video frame buffer size is larger than video frame content size.
Signed-off-by: Bing Song <bing.song@nxp.com>
(cherry picked from commit 3299cee5389a52207368f26edfe31ae89728a81d)
|
|
Signed-off-by: Bing Song <bing.song@nxp.com>
(cherry picked from commit 37bd402004def20b89dbad10086f71bbf8ab363e)
|
|
Need to skip one byte when not find valid frame in gst_amr_parse_handle_frame().
Otherwise, scan frame size will be bigger after each scan and finally return
GST_FLOW_EOS, which cause audio exit directly after fast seek.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/333
UpStream Status: Pending
Signed-off-by: Hou Qi <qi.hou@nxp.com>
(cherry picked from commit 929181c5b3162e31684c54fa2197d04541a87925)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit f434ad2d0996c740eac8f72aa27353a0656e4f1c)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 7ff3e63025b72c3191dba8730a395b5958896098)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 4678e89898a8e813097aeb95f1a9bacf94650995)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit f7daa25b3e20068b427db5b0404670672f9602cf)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 3bce9e12f6e052fcd5e914adfdf8e7891743f271)
|
|
frame every frame.
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 3a440db1dabb9c7f453a1b1bb860e2ce9dae3cf0)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 1eae5b95a4d9a7038d32412fdaeb8f9a42ea0ad6)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit f4054ca5af068b13e767186e26672e17cd3fc5ed)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 91e6fd685e7a1344880a391e4a672f51bf2234f3)
|
|
jpeg dec only can output fixed format.
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit af7ee9cbfdbac3f1dc72002d6e49bd8321434726)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 2b093259dd9f7f9dd22474b8a037437b4acec1b7)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 420cbb5a961d32df5786597dced0ac2ba08ae5da)
|
|
Signed-off-by: Song Bing <bing.song@nxp.com>
(cherry picked from commit 73303a125ebd2067ae22ef88018bef38417ebb11)
|