summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
Commit message (Collapse)AuthorAgeFilesLines
* imx-gst1.0-plugin: Fix build with clangKhem Raj2023-03-1311-1/+426
| | | | | | | These warnings are already there, gcc just does not error on them yet but clang does. Therefore clean them up a bit Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-base: Provide gstreamer1.0-plugins-base-videoconvertscaleKhem Raj2023-03-131-0/+8
| | | | | | | | | | | | | This builds a bridge for packagegroups from oe-core master which are upgraded to use gstreamer 1.22 and some packages are merged together e.g. videoconvertscale is unified version of videoconvert and videoscale packages Fixes ERROR: gstreamer1.0-meta-base-1.0-r0 do_package_qa: QA Issue: gstreamer1.0-meta-base rdepends on gstreamer1.0-plugins-base-videoconvertscale, but it isn't a build dependen cy? [build-deps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-good: Fix build with clangKhem Raj2023-03-122-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gst-devtools: Add recipe for 1.20.3.imxKhem Raj2023-03-112-0/+94
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-vaapi: Do not use glx backend on imxKhem Raj2023-03-111-3/+1
| | | | | | vivante does not implement glx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Add 1.20.3.imx recipeKhem Raj2023-03-111-0/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-vaapi: Add 1.20.3.imx recipeKhem Raj2023-03-111-0/+57
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-python: Add 1.20.3.imx version to match imx setKhem Raj2023-03-111-0/+30
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-libav,gstreamer1.0-plugins-ugly,gstreamer1.0-rtsp-server: Drop ↵Khem Raj2023-03-113-6/+18
| | | | | | | | | | .imx when needing gstreamer version Fixes fetching errors otherwise, since it can not file source tarballs on gstreamer download servers with 1.20.3.imx suffix Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jose Quaresma <jose.quaresma@foundries.io>
* gstreamer: rename the version to be imx specificJose Quaresma2023-03-103-0/+15
| | | | | | | | | | These recipes are copies of oe-core 1.20.3 that are not available anymore upstream on the master branch. The requirement to have them is because they are dependencies of the other ones imx specific gstreamer forks on the layer. So make their names maching the exisng ones will make it more safe. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* gstreamer: add recipes for upstream 1.20.3 versionsSamuli Piippo2023-03-084-0/+199
| | | | | | | | oe-core has moved to gstreamer 1.22.0 and recipes which don't have an imx version can no longer be built. Add older version of those components to be used with the gstreamer 1.20.3.imx. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* gstreamer1.0-plugins-base: Fix build with gcc13Khem Raj2023-02-032-0/+54
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: Disable tests and examples on imx SOCsKhem Raj2023-01-111-0/+1
| | | | | | Fails to build, lets disable them for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer: Upgrade 1.20.0.imx -> 1.20.3.imxTom Hochstein2023-01-095-10/+14
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-base: Cleanup copy sectionTom Hochstein2023-01-091-1/+1
| | | | | | | The local patch 0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch should be added in the bottom section. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-bad: Force gcc compiler alwaysKhem Raj2023-01-041-0/+3
| | | | | | | | This ensures that clang based distributions can compile this recipe, since it uses nested functions ( bad bad ) which is not supported by clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gst1.0-plugin: upgrade from 4.7.0 to 4.7.1Max Krummenacher2022-11-251-3/+3
| | | | | | | | | | | | | Update to the version used in lf5.15.52_2.1.0. Commit history: * f4410b7 LF-6531 imxcompositor: add video information handling by title format for upstream amphion vpu driver * befcd74 MKL-25625 imx2ddevice_pxp: add support to pxp new api and new formats * 2a26823 MMFMWK-9106 vpuenc: add QpMin and QpMax property for 8mm/8mp * d630a98 MMFMWK-9073 add support for imx93 * 6e9b88f [configurea.ac] Update version to 4.7.1 for next release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* gstreamer1.0-plugins-bad: upgrade from MM_04.07.00_2205_L5.15.y to ↵Max Krummenacher2022-11-251-3/+3
| | | | | | | | | | | | MM_04.07.01_2208_L5.15.y Update to the version used in lf5.15.52_2.1.0. Commit history: * a9c9d17bb wlwindow: fix 8qxp and 8qm video playback performance issue * 8ecf6a59f MMFMWK-9073 waylandsink: set as default videosink for mx93 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* gstreamer1.0-plugins-good: upgrade from MM_04.07.00_2205_L5.15.y to ↵Max Krummenacher2022-11-251-3/+3
| | | | | | | | | | | | | | | | | | | MM_04.07.01_2208_L5.15.y Update to the version used in lf5.15.52_2.1.0. Commit history: * b83d1e4a3 LF-6577 v4l2: add capture buffer check and resize to avoid deadlock issue when seek * b9319a38b LF-6531 v4l2: revert "v4l2videodec: workaround for v4l2 driver multi-plane" * 5459be91d LF-6531 v4l2: fix the critical log when unreference the buffer which memory type is multi-plane and contain no valid data * 059ed0874 LF-6531 v4l2: support stream with V4L2_FIELD_SEQ_TB field * ba9d457b0 LF-6531 v4l2: add function to detect upstream amphion vpu driver * 1cf76472c MMFMWK-9092 v4l2: Fix race condition between orphaning and stopping allocator * f5566b038 LF-6195 v4l2: Reset transfer in gst_v4l2_object_acquire_format() * dd7ae2aee v4l2: set default resolution if caps has no such information * fa45cf501 MMFMWK-9116 v4l2videodec: Fix output state memory leak Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* gstreamer1.0-plugins-base: upgrade from MM_04.07.00_2205_L5.15.y to ↵Max Krummenacher2022-11-251-3/+3
| | | | | | | | | | | MM_04.07.01_2208_L5.15.y Update to the version used in lf5.15.52_2.1.0. Commit history: * db100facd MMFMWK-9073 gstimxcommon.h: add support for mx93 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* gstreamer1.0: upgrade from MM_04.07.00_2205_L5.15.y to MM_04.07.01_2208_L5.15.yMax Krummenacher2022-11-251-2/+2
| | | | | | | | | Update to the version used in lf5.15.52_2.1.0. No code changes, but the git repo was moved to github and a new branch used. Pull those changes in to be consistent with the plugin recipes. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* gstreamer1.0-plugins-base: Allow undefined symbols with muslKhem Raj2022-09-191-0/+4
| | | | | | | These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-base: Fix build with clangKhem Raj2022-09-122-0/+49
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gst1.0-plugin: Upgrade 4.6.4 -> 4.7.0Tom Hochstein2022-09-011-5/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0*: Upgrade 1.18.5.imx -> 1.20.0.imxTom Hochstein2022-09-0121-695/+315
| | | | | | | | | | | | | | | Includes: - gstreamer1.0 - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - gstreamer1.0-plugins-bad Drops downgraded recipe copies for 1.18.5: - gstreamer1.0-libav - gstreamer1.0-plugins-ugly - gstreamer1.0-rtsp-server Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-imx: Upgrade to version 2.1.0Carlos Rafael Giani2022-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * meson: * New sysroot option in case the external sysroot property is unusable Normally, this option should not be needed. However, with some BSPs whose sysroot properties are broken, having this option is useful. * Reduce minimum required Meson version from 0.54.0 to 0.53.2 This is mainly introduced for Yocto Dunfell support. (Meson <0.54 requires the new sysroot property though.) * Cleanup deprecated code * imx2d: UYVY and YUYV formats are supported by G2D if it is emulated on top of the DPU (found in i.MX8 QuadMax and i.MX8 QuadXPlus SocS). * vpu: * Correctly handle case when a stream buffer is not needed * Disable frame reordering if it is not needed * imxvpudec_h264 needs au alignment to guarantee complete frames * Unlock decoder_context on fatal error while decoding * v4l2video: * v4l2videosrc: Skip allocation pools with NULL buffer pool Prevents assertions like: gst_buffer_pool_has_option: assertion 'GST_IS_BUFFER_POOL (pool)' failed See: https://github.com/Freescale/gstreamer-imx/issues/304 * v4l2videosrc: Skip allocation params with NULL allocator Prevents assertions like: gst_object_unref: assertion 'object != NULL' failed See: https://github.com/Freescale/gstreamer-imx/issues/304 * v4l2videosrc: Use correct ioctl for frame intervals * Minor logging fixes Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* imx-gst1.0-plugin: Adjust libdrm dependencyTom Hochstein2022-04-041-1/+2
| | | | | | | | | | | | | | | | | | The 7ULP build is broken: ``` ../git/plugins/compositor/gstimxcompositor.c:124:10: fatal error: libdrm/drm_fourcc.h: No such file or directory 124 | #include <libdrm/drm_fourcc.h> | ^~~~~~~~~~~~~~~~~~~~~ ``` Replace the imxvpu condition for the libdrm dependency to all fbdev devices with GPU. For i.MX 6 and 7, the new condition simply extends what the old condition provided. For i.MX 8, the new condition removes the explicit dependency. It seems the dependency is still needed, but it is satisfied implicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gst1.0-plugin: Upgrade 4.6.1 -> 4.6.4Tom Hochstein2022-04-041-7/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-4/+5
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Remove unused patch fileTom Hochstein2022-04-041-36/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-libav: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-libav: Remove unused patch filesTom Hochstein2022-04-045-162/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-ugly: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-bad: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-0410-244/+151
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-good: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-042-15/+105
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-base: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-044-94/+53
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-042-18/+35
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin2022-03-039-9/+9
| | | | | | | | | | | | Since OE-Core commit 9379f80f48 ("license/insane: Show warning for obsolete license usage"), LICENSE field not containing SPDX identifiers are treated with WARNING. An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers has been done on the entire layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-215-5/+5
| | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-219-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gstreamer: Lockin the versions for imx machinesKhem Raj2022-01-203-0/+6
| | | | | | | | | | Having open recipes in a high priority layer means they will override always even when its not building for machines not coming from this layer Pin them to imx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gst1.0-plugin: Enable to support i.MX Audio DSP CodecNate Drude2022-01-171-0/+4
| | | | | | | | Integrate NXP DSP Codec for i.MX 8QM/8QXP/8MP/8ULP As per: https://source.codeaurora.org/external/imx/meta-imx/commit/meta-bsp/recipes-multimedia/gstreamer?h=hardknott-5.10.72-2.2.0&id=eb72f6dc37079f001106711cdeecdb00f2d8e6cf Signed-off-by: Nate Drude <nate.d@variscite.com>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-035-5/+5
| | | | | | | | | | | | | | | Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
* imx-gst1.0-plugin: Upgrade to 4.6.1Tom Hochstein2021-09-011-17/+14
| | | | | | Includes switch to meson. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Upgrade to 1.18.0Tom Hochstein2021-09-011-5/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-libav: Upgrade to 1.18.0Tom Hochstein2021-09-012-70/+24
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-ugly: Upgrade to 1.18.0Tom Hochstein2021-09-011-3/+7
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-bad: Upgrade to 1.18.0.imxTom Hochstein2021-09-011-18/+6
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-good: Drop non-functional overridesTom Hochstein2021-08-311-3/+0
| | | | | | | The bbappend overrides a non-existent variable PACKAGECONFIG_GL. The values set by the override do not exist either, so just drop the bbappend. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>