Patchwork [meta-fsl-arm,v3] Add gstreamer-imx GStreamer 1.0 plugins

login
register
mail settings
Submitter Carlos Rafael Giani
Date Jan. 28, 2014, 11:59 p.m.
Message ID <1390953576-8125-1-git-send-email-dv@pseudoterminal.org>
Download mbox | patch
Permalink /patch/66005/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Carlos Rafael Giani - Jan. 28, 2014, 11:59 p.m.
gstreamer-imx is an ongoing project to write GStreamer 1.0 plugins for
using the i.MX VPU,IPU, and GPU. With the plugins, the VPU en- and decoding
features can be used, the IPU can transform images (deinterlacing,
colorspace conversion etc.), and the GPU can display frames using
OpenGL ES and the Vivante direct textures. Currently, the plugins have
only been tested with the i.MX6 SoC series.

All plugins are based on appropriate GStreamer base classes. Physical
memory metadata structures make it possible to avoid costly frame copies,
making it possible to use transcoding chains that do not involve
CPU copies for example.

This recipe is sent to meta-fsl-arm to make these plugins more visible
and available to others.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer/gstreamer1.0-imx_0.9.1.bb            | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
Philip Craig - Jan. 30, 2014, 3:33 a.m.
Hi Carlos,

On Wed, Jan 29, 2014 at 9:59 AM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> gstreamer-imx is an ongoing project to write GStreamer 1.0 plugins for
> using the i.MX VPU,IPU, and GPU. With the plugins, the VPU en- and decoding
> features can be used, the IPU can transform images (deinterlacing,
> colorspace conversion etc.), and the GPU can display frames using
> OpenGL ES and the Vivante direct textures. Currently, the plugins have
> only been tested with the i.MX6 SoC series.

Is this recipe meant to build the eglvivsink? I'm not using X11, so
maybe that is the problem, but the recipe also seems to lack any
dependencies on the packages that would be needed (eg
gpu-viv-bin-mx6q).

> All plugins are based on appropriate GStreamer base classes. Physical
> memory metadata structures make it possible to avoid costly frame copies,
> making it possible to use transcoding chains that do not involve
> CPU copies for example.
>
> This recipe is sent to meta-fsl-arm to make these plugins more visible
> and available to others.
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> ---
>  .../gstreamer/gstreamer1.0-imx_0.9.1.bb            | 24 ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>  create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
>
> diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
> new file mode 100644
> index 0000000..5cb41b3
> --- /dev/null
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
> +SECTION = "multimedia"
> +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libfslvpuwrap virtual/kernel"
> +
> +SRCBRANCH ?= "master"
> +SRCREV = "8f4af080c53a28db1516f0bb5134031530c1caec"
> +SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit waf
> +
> +CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
> +
> +# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0)
> +LIBV = "1.0"
> +require recipes-multimedia/gstreamer/gst-plugins-package.inc
> +
> +# the following line is required to produce one package for each plugin
> +PACKAGES_DYNAMIC = "^${PN}-.*"
> +
> +COMPATIBLE_MACHINE = "(mx6)"
> --
> 1.8.5.2
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

Patch

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
new file mode 100644
index 0000000..5cb41b3
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-imx_0.9.1.bb
@@ -0,0 +1,24 @@ 
+DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605"
+SECTION = "multimedia"
+DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libfslvpuwrap virtual/kernel"
+
+SRCBRANCH ?= "master"
+SRCREV = "8f4af080c53a28db1516f0bb5134031530c1caec"
+SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}"
+
+S = "${WORKDIR}/git"
+
+inherit waf
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+# LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0)
+LIBV = "1.0"
+require recipes-multimedia/gstreamer/gst-plugins-package.inc
+
+# the following line is required to produce one package for each plugin
+PACKAGES_DYNAMIC = "^${PN}-.*"
+
+COMPATIBLE_MACHINE = "(mx6)"