Skip to contentSkip to conversation

Add video codec recipes

PATCH Superseded ayaka 5 participants 13 messages Apr 12, 2017 – May 15, 2017 Arm Rockchip

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

ayaka

author
#0 lore raw

v2 cover Add video codec recipes

Those packages are the userspace libraries for the Rockchip Android video codec driver.

Also a minimal image used for verified the media framework is included.

ayaka (3):
recipes-multimedia: add Rockchip MPP library
recipes-multimedia: add gstreamer rockchip support
recipes-multimedia: images: rockchip media image

 .../gstreamer/gstreamer1.0-rockchip.inc            | 40 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-rockchip_20170412.bb    |  9 +++++
 .../gstreamer/gstreamer1.0-rockchip_git.bb         | 13 +++++++
 recipes-multimedia/images/rockchip-media-image.bb  | 21 ++++++++++++
 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc   | 21 ++++++++++++
 .../rockchip-mpp/rockchip-mpp_20170412.bb          |  9 +++++
 .../rockchip-mpp/rockchip-mpp_git.bb               | 16 +++++++++
 7 files changed, 129 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
 create mode 100644 recipes-multimedia/images/rockchip-media-image.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH v2 1/3 recipes-multimedia: add Rockchip MPP library

MPP means Media Process Platform. The MPP is a middleware for the other video encoder/decoder interface, translating the video information into the hardware registers.

---
 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc    | 21 +++++++++++++++++++++
 .../rockchip-mpp/rockchip-mpp_20170412.bb           |  9 +++++++++
 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb | 16 ++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
recipes-multimedia/rockchip-mpp/rockchip-mpp.inc new file +21 -0
new file mode 100644
index 0000000..6a45637
@@ -0,0 +1,21 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://inc/rk_mpi.h;beginline=4;endline=14;md5=acbba394ae5639b0c786f60c1f48e3d6"
+
+inherit pkgconfig cmake
+
+EXTRA_OECMAKE = "     \
+    -DRKPLATFORM=ON   \
+    -DHAVE_DRM=ON     \
+"
+
+PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN} rockchip-vpu"
+FILES_rockchip-vpu = "${libdir}/lib*vpu${SOLIBS}"
+FILES_${PN} = "${libdir}/lib*mpp${SOLIBS}"
+FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir} ${libdir}/pkgconfig"
+SECTION_${PN}-dev = "devel"
+FILES_${PN}-staticdev = "${libdir}/*.a"
+SECTION_${PN}-staticdev = "devel"
recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb new file +9 -0
new file mode 100644
index 0000000..501306a
@@ -0,0 +1,9 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+include rockchip-mpp.inc
+
+TAG = "release_${PV}"
+SRC_URI = "git://github.com/rockchip-linux/mpp.git;tag=${TAG};nobranch=1"
+
+S = "${WORKDIR}/git"
recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb new file +16 -0
new file mode 100644
index 0000000..23f3f15
@@ -0,0 +1,16 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+DEFAULT_PREFERENCE = "-1"
+
+include rockchip-mpp.inc
+DEPENDS = "git-replacement-native"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESPATH_prepend := "${THISDIR}/${PN}:"
+
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/rockchip-linux/mpp.git;branch=develop"
+
+S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-rockchip] [PATCH v2 1/3] recipes-multimedia: add Rockchip MPP library

Hello,

Quoted 5 lines · ayaka

MPP means Media Process Platform. The MPP is a middleware for the other video encoder/decoder interface, translating the video information into the hardware registers.

Please Signed-off-by with your Real name please "FirstName LastName <[email protected]>"

Quoted 20 lines
---
 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc    | 21 +++++++++++++++++++++
 .../rockchip-mpp/rockchip-mpp_20170412.bb           |  9 +++++++++
 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb | 16 ++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb
recipes-multimedia/rockchip-mpp/rockchip-mpp.inc new file +5 -0
new file mode 100644
index 0000000..6a45637
@@ -0,0 +1,21 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+LICENSE = "Apache-2.0"

recipes-multimedia/rockchip-mpp/rockchip-mpp.inc line 15

Quoted 10 lines
recipes-multimedia/rockchip-mpp/rockchip-mpp.inc new file +10 -0
+LIC_FILES_CHKSUM = "file://inc/rk_mpi.h;beginline=4;endline=14;md5=acbba394ae5639b0c786f60c1f48e3d6"
+
+inherit pkgconfig cmake
+
+EXTRA_OECMAKE = "     \
+    -DRKPLATFORM=ON   \
+    -DHAVE_DRM=ON     \
+"
+
+PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN} rockchip-vpu"

The recipe is named rockchip-mpp, so don't create a package with another name, it might be confusing and it's not standard.
I suggest "rockchip-mpp-vpu" or "rockchip-mpp-vpu_plugin" or something like this.

Quoted 33 lines
recipes-multimedia/rockchip-mpp/rockchip-mpp.inc new file +6 -0
+FILES_rockchip-vpu = "${libdir}/lib*vpu${SOLIBS}"
+FILES_${PN} = "${libdir}/lib*mpp${SOLIBS}"
+FILES_${PN}-dev = "${libdir}/lib*${SOLIBSDEV} ${includedir} ${libdir}/pkgconfig"
+SECTION_${PN}-dev = "devel"
+FILES_${PN}-staticdev = "${libdir}/*.a"
+SECTION_${PN}-staticdev = "devel"
recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb new file +9 -0
new file mode 100644
index 0000000..501306a
@@ -0,0 +1,9 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+include rockchip-mpp.inc
+
+TAG = "release_${PV}"
+SRC_URI = "git://github.com/rockchip-linux/mpp.git;tag=${TAG};nobranch=1"
+
+S = "${WORKDIR}/git"
recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb new file +6 -0
new file mode 100644
index 0000000..23f3f15
@@ -0,0 +1,16 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+DEFAULT_PREFERENCE = "-1"
+

recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb line 16

Quoted 10 lines
recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb new file +10 -0
+include rockchip-mpp.inc
+DEPENDS = "git-replacement-native"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESPATH_prepend := "${THISDIR}/${PN}:"
+
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/rockchip-linux/mpp.git;branch=develop"
+
+S = "${WORKDIR}/git"

The rest looks good, I need to test it.

author
#3 lore raw

PATCH v2 2/3 recipes-multimedia: add gstreamer rockchip support

In reply to ayaka

This Gstreamer plugin provides a encoder and decoder plugin for Gstreamer through the Rockchip MPP library.

---
 .../gstreamer/gstreamer1.0-rockchip.inc            | 40 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-rockchip_20170412.bb    |  9 +++++
 .../gstreamer/gstreamer1.0-rockchip_git.bb         | 13 +++++++
 3 files changed, 62 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +40 -0
new file mode 100644
index 0000000..0bd70ab
@@ -0,0 +1,40 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+
+DESCRIPTION = "GStreamer 1.0 plugins for Rockchip platforms"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d1e4aa87f6192354d3de840cf774d93"
+DEPENDS += "gstreamer1.0-plugins-base rockchip-mpp"
+
+SRC_URI_remove = " \
+    file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
+"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESPATH_prepend := "${THISDIR}/${PN}:"
+
+inherit gettext autotools pkgconfig
+
+PACKAGECONFIG ??= " \
+    mpp             \
+"
+PACKAGECONFIG[mpp]    = "--enable-rockchipmpp,--disable-rockchipmpp,rockchip-mpp"
+PACKAGECONFIG[vpudec] = "--enable-vpudec,--disable-vpudec,rockchip-vpu"
+PACKAGECONFIG[drm]    = "--enable-drmrockchip,--disable-drmrockchip,libdrm-rockchip"
+PACKAGECONFIG[egl]    = "--enable-armmali,--disable-armmali,arm-mali"
+
+EXTRA_OECONF += "    \
+    --disable-kms    \
+"
+EXTRA_OECONF_remove = "--disable-gtk-doc"
+
+do_configure[prefuncs] = " delete_pkg_m4_file"
+
+do_configure() {
+    NOCONFIGURE=true ${S}/autogen.sh
+    oe_runconf
+}
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb new file +9 -0
new file mode 100644
index 0000000..e3fecaf
@@ -0,0 +1,9 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+include gstreamer1.0-rockchip.inc
+
+TAG = "release_${PV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;tag=${TAG};nobranch=1"
+
+S = "${WORKDIR}/git"
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb new file +13 -0
new file mode 100644
index 0000000..bd20121
@@ -0,0 +1,13 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+DEFAULT_PREFERENCE = "-1"
+
+include gstreamer1.0-rockchip.inc
+
+SRCBRANCH ?= "develop"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;branch=develop"
+
+S = "${WORKDIR}/git"
Signature · 1 line
2.7.4
#4 lore raw

Re: [meta-rockchip] [PATCH v2 2/3] recipes-multimedia: add gstreamer rockchip support

Hello,

Quoted 23 lines · ayaka

This Gstreamer plugin provides a encoder and decoder plugin for Gstreamer through the Rockchip MPP library.

---
 .../gstreamer/gstreamer1.0-rockchip.inc            | 40 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-rockchip_20170412.bb    |  9 +++++
 .../gstreamer/gstreamer1.0-rockchip_git.bb         | 13 +++++++
 3 files changed, 62 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +4 -0
new file mode 100644
index 0000000..0bd70ab
@@ -0,0 +1,40 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 14

Quoted 10 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +10 -0
+require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+
+DESCRIPTION = "GStreamer 1.0 plugins for Rockchip platforms"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d1e4aa87f6192354d3de840cf774d93"
+DEPENDS += "gstreamer1.0-plugins-base rockchip-mpp"
+
+SRC_URI_remove = " \
+    file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \

I suggest to add a comment if you remove this patch (explain why)

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 20

Quoted 6 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +6 -0
+"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESPATH_prepend := "${THISDIR}/${PN}:"
+
+inherit gettext autotools pkgconfig

autotools and pkgconfig are already inherited by gstreamer1.0-plugins.inc

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 31

Quoted 11 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +11 -0
+
+PACKAGECONFIG ??= " \
+    mpp             \
+"
+PACKAGECONFIG[mpp]    = "--enable-rockchipmpp,--disable-rockchipmpp,rockchip-mpp"
+PACKAGECONFIG[vpudec] = "--enable-vpudec,--disable-vpudec,rockchip-vpu"
+PACKAGECONFIG[drm]    = "--enable-drmrockchip,--disable-drmrockchip,libdrm-rockchip"
+PACKAGECONFIG[egl]    = "--enable-armmali,--disable-armmali,arm-mali"
+
+EXTRA_OECONF += "    \
+    --disable-kms    \

Why do you disable kms ?

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 35

Quoted 4 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +4 -0
+"
+EXTRA_OECONF_remove = "--disable-gtk-doc"
+
+do_configure[prefuncs] = " delete_pkg_m4_file"

comments ?

Quoted 26 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +5 -0
+
+do_configure() {
+    NOCONFIGURE=true ${S}/autogen.sh
+    oe_runconf
+}
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb new file +9 -0
new file mode 100644
index 0000000..e3fecaf
@@ -0,0 +1,9 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+include gstreamer1.0-rockchip.inc
+
+TAG = "release_${PV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;tag=${TAG};nobranch=1"
+
+S = "${WORKDIR}/git"
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb new file +0 -0
new file mode 100644
index 0000000..bd20121

recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb line 5

Quoted 5 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb new file +5 -0
@@ -0,0 +1,13 @@
+# Copyright (C) 2016 - 2017 Randy Li <[email protected]>
+# Released under the GNU GENERAL PUBLIC LICENSE Version 2
+# (see COPYING.GPLv2 for the terms)
+
+DEFAULT_PREFERENCE = "-1"

What is this variable ?

recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb line 13

Quoted 8 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb new file +8 -0
+
+include gstreamer1.0-rockchip.inc
+
+SRCBRANCH ?= "develop"
+SRCREV = "${AUTOREV}"
+SRC_URI = "git://github.com/rockchip-linux/gstreamer-rockchip.git;branch=develop"
+
+S = "${WORKDIR}/git"

That's globally a good work, thanks for this, please send a v2 with modifications, and include your real name in all patches.

Thanks,
Romain

#6 lore raw

Re: [meta-rockchip] [PATCH v2 2/3] recipes-multimedia: add gstreamer rockchip support

In reply to ayaka

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 15

Quoted 3 lines · ayaka
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +3 -0
+SRC_URI_remove = " \
+    file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
+"

i see that you are doing this change below in a function which probably is ok but I see some duplication here. Either remove this patch and upstream the change or adapt the patch for your recipe

recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc line 19

Quoted 4 lines
recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc new file +4 -0
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+FILESPATH_prepend := "${THISDIR}/${PN}:"
+

this seems redundant

author
#7 lore raw

PATCH v2 3/3 recipes-multimedia: images: rockchip media image

In reply to ayaka

A image for debugging the hardware video encoder/decoder. I also use this image for developing the Gstreamer.

---
 recipes-multimedia/images/rockchip-media-image.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-multimedia/images/rockchip-media-image.bb
recipes-multimedia/images/rockchip-media-image.bb new file +21 -0
new file mode 100644
index 0000000..ea993c1
@@ -0,0 +1,21 @@
+# Copyright (C) 2017 Randy Li <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+include recipes-core/images/core-image-minimal.bb
+
+LICENSE = "MIT"
+DESCRIPTION = "Multimedia image for Rockchip devices."
+
+IMAGE_FEATURES_append = " package-management ssh-server-dropbear"
+IMAGE_INSTALL_append = " gdbserver gstreamer1.0-rockchip      \
+ gstreamer1.0-meta-base gstreamer1.0-meta-video gstreamer1.0-meta-audio \
+ gstreamer1.0-plugins-good-isomp4 gstreamer1.0-plugins-good-multifile \
+ gstreamer1.0-plugins-good-imagefreeze \
+ gstreamer1.0-plugins-bad-autoconvert  gstreamer1.0-plugins-bad-camerabin2 \
+ gstreamer1.0-plugins-bad-kmssink gstreamer1.0-plugins-bad-rawparse \
+ gstreamer1.0-plugins-bad-videoparsersbad \
+ gstreamer1.0-plugins-bad-mpegtsdemux \
+ gstreamer1.0-meta-debug \
+"
+
+TOOLCHAIN_HOST_TASK += "nativesdk-cmake"
Signature · 1 line
2.7.4
#8 lore raw

Re: [meta-rockchip] [PATCH v2 3/3] recipes-multimedia: images: rockchip media image

Hello,

Quoted 26 lines · ayaka

A image for debugging the hardware video encoder/decoder. I also use this image for developing the Gstreamer.

---
 recipes-multimedia/images/rockchip-media-image.bb | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-multimedia/images/rockchip-media-image.bb
recipes-multimedia/images/rockchip-media-image.bb new file +11 -0
new file mode 100644
index 0000000..ea993c1
@@ -0,0 +1,21 @@
+# Copyright (C) 2017 Randy Li <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+include recipes-core/images/core-image-minimal.bb
+
+LICENSE = "MIT"
+DESCRIPTION = "Multimedia image for Rockchip devices."
+
+IMAGE_FEATURES_append = " package-management ssh-server-dropbear"
+IMAGE_INSTALL_append = " gdbserver gstreamer1.0-rockchip      \
+ gstreamer1.0-meta-base gstreamer1.0-meta-video gstreamer1.0-meta-audio \

recipes-multimedia/images/rockchip-media-image.bb line 21

Quoted 10 lines
recipes-multimedia/images/rockchip-media-image.bb new file +10 -0
+ gstreamer1.0-plugins-good-isomp4 gstreamer1.0-plugins-good-multifile \
+ gstreamer1.0-plugins-good-imagefreeze \
+ gstreamer1.0-plugins-bad-autoconvert  gstreamer1.0-plugins-bad-camerabin2 \
+ gstreamer1.0-plugins-bad-kmssink gstreamer1.0-plugins-bad-rawparse \
+ gstreamer1.0-plugins-bad-videoparsersbad \
+ gstreamer1.0-plugins-bad-mpegtsdemux \
+ gstreamer1.0-meta-debug \
+"
+
+TOOLCHAIN_HOST_TASK += "nativesdk-cmake"

Clearly a NAK here. I don't want yet another image for this, that's a bsp meta layer, it is supposed to contain the recipes and rules to propose support for Rockchip SocS in in yocto/oe and its reference distros. But it is also supposed to be minimal, I don't want "all the world" in meta-rockchip, to be honest :)

I am not fan to have recipes or rules for development...

Trevor, as a co-maintainer, what is your point about this ? (always welcome)

Regards,
Romain

#9 lore raw

Re: [meta-rockchip] [PATCH v2 3/3] recipes-multimedia: images: rockchip media image

Quoted 9 lines · Romain Perier

Clearly a NAK here. I don't want yet another image for this, that's a bsp meta layer, it is supposed to contain the recipes and rules to propose support for Rockchip SocS in in yocto/oe and its reference distros. But it is also supposed to be minimal, I don't want "all the world" in meta-rockchip, to be honest :)

I am not fan to have recipes or rules for development...

Trevor, as a co-maintainer, what is your point about this ? (always welcome)

It's not uncommon for BSP layers to include sample image recipes (meta-raspberrypi, for example, includes rpi-test-image, rpi-basic-image, and rpi-hwup-image). These sample images act as a sort of example, or documentation for others to follow. They're a way to show off what can be done.

This recipe could act as an example should anyone want to integrate gstreamer support for a rockchip in their image (assuming this image builds and works).

I'm not opposed to it being there, as long as it's benign and works.

#10 lore raw

Re: [meta-rockchip] [PATCH v2 3/3] recipes-multimedia: images: rockchip media image

Quoted 11 lines · Trevor Woerner
Quoted 9 lines · Romain Perier

Clearly a NAK here. I don't want yet another image for this, that's a bsp meta layer, it is supposed to contain the recipes and rules to propose support for Rockchip SocS in in yocto/oe and its reference distros. But it is also supposed to be minimal, I don't want "all the world" in meta-rockchip, to be honest :)

I am not fan to have recipes or rules for development...

Trevor, as a co-maintainer, what is your point about this ? (always welcome)

Quoted 8 lines

It's not uncommon for BSP layers to include sample image recipes (meta-raspberrypi, for example, includes rpi-test-image, rpi-basic-image, and rpi-hwup-image). These sample images act as a sort of example, or documentation for others to follow. They're a way to show off what can be done.

This recipe could act as an example should anyone want to integrate gstreamer support for a rockchip in their image (assuming this image builds and works).

you could also make a packagegroup and leave it there and let end user to include the packagegroup in his/her image

Quoted 7 lines

I'm not opposed to it being there, as long as it's benign and works. --
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#11 lore raw

Re: [meta-rockchip] [PATCH v2 3/3] recipes-multimedia: images: rockchip media image

Quoted 18 lines · Khem Raj
Quoted 17 lines · Trevor Woerner
Quoted 9 lines · Romain Perier

Clearly a NAK here. I don't want yet another image for this, that's a bsp meta layer, it is supposed to contain the recipes and rules to propose support for Rockchip SocS in in yocto/oe and its reference distros. But it is also supposed to be minimal, I don't want "all the world" in meta-rockchip, to be honest :)

I am not fan to have recipes or rules for development...

Trevor, as a co-maintainer, what is your point about this ? (always welcome)

It's not uncommon for BSP layers to include sample image recipes (meta-raspberrypi, for example, includes rpi-test-image, rpi-basic-image, and rpi-hwup-image). These sample images act as a sort of example, or documentation for others to follow. They're a way to show off what can be done.

Quoted 5 lines
Quoted 2 lines

This recipe could act as an example should anyone want to integrate gstreamer support for a rockchip in their image (assuming this image builds and works).

you could also make a packagegroup and leave it there and let end user to include the packagegroup in his/her image

It looks like the COMMERCIAL_AUDIO_PLUGINS and COMMERCIAL_VIDEO_PLUGINS hooks could be used to add machine specific plugins to the existing gstreamer1.0-meta-audio and gstreamer1.0-meta-video package groups?

Quoted 12 lines
Quoted 7 lines

I'm not opposed to it being there, as long as it's benign and works. --
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#12 lore raw
In reply to ayaka

Hello,

Android video codec driver ? could you be more precise ? yocto/poky is linux-based, we don't want

stuffs for android...

Trevor: what do you think about integrating this ?

ayaka: Please Use a real name in the author of each commit and signed-off-by your commits with You real name.

Thanks,

Romain

Quoted 26 lines · ayaka

Those packages are the userspace libraries for the Rockchip Android video codec driver.

Also a minimal image used for verified the media framework is included.

ayaka (3):
recipes-multimedia: add Rockchip MPP library
recipes-multimedia: add gstreamer rockchip support
recipes-multimedia: images: rockchip media image

 .../gstreamer/gstreamer1.0-rockchip.inc            | 40 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-rockchip_20170412.bb    |  9 +++++
 .../gstreamer/gstreamer1.0-rockchip_git.bb         | 13 +++++++
 recipes-multimedia/images/rockchip-media-image.bb  | 21 ++++++++++++
 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc   | 21 ++++++++++++
 .../rockchip-mpp/rockchip-mpp_20170412.bb          |  9 +++++
 .../rockchip-mpp/rockchip-mpp_git.bb               | 16 +++++++++
 7 files changed, 129 insertions(+)
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip.inc
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_20170412.bb
 create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-rockchip_git.bb
 create mode 100644 recipes-multimedia/images/rockchip-media-image.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp.inc
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_20170412.bb
 create mode 100644 recipes-multimedia/rockchip-mpp/rockchip-mpp_git.bb