From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0A2B7E00809; Fri, 6 Feb 2015 03:21:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [193.201.172.118 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (picmaster[at]mail.bg) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mx2.mail.bg (mx2.mail.bg [193.201.172.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3A14E00757 for ; Fri, 6 Feb 2015 03:21:41 -0800 (PST) Received: from [192.168.0.123] (unknown [93.152.143.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx2.mail.bg (Postfix) with ESMTPSA id 9C1986000DBA; Fri, 6 Feb 2015 13:21:40 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mail.bg; s=default; t=1423221700; bh=mS1Weft2mGslHKbZiEv09tBLVqu8nmbmoFiMpfp3qLw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=imDEIs8E+BbGwDoT4AyBMt9VfaEADj3fNviVWsiHhR8EuvOWrsxjfp1DdPCGQ9pOd cRX/PCL8Z4QVM+6LT9TQt6tXC/MQeaTZBmXUGXPtmMR1H0i/J/Pe8tEpjXuJybrQQb Ro84Ykquz8x1ecZ67dUbo0RUiLTrn01vgKM3/KUE= Message-ID: <54D4A3C4.4040402@mail.bg> Date: Fri, 06 Feb 2015 13:21:40 +0200 From: Nikolay Dimitrov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Daiane Angolini References: <54D3AD62.1000204@mail.bg> In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: How to enable bad plugins on gstreamer1.0 (dizzy) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 11:21:50 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Daiane, On 02/06/2015 12:51 PM, Daiane Angolini wrote: > On Thu, Feb 5, 2015 at 3:50 PM, Nikolay Dimitrov wrote: >> Hi guys, >> >> I'm trying to build and use gstreamer1.0 for sabresd, and "bad" plugins >> specifically (for the mpegtsdemux plugin). The "bad" plugins are not >> included in the build. I'm now looking at recipe packagegroup- >> fslc-gstreamer1.0-full.bb, which looks like this: >> >> >> DESCRIPTION = "Freescale package group which provides all GStreamer plugins >> from the \ >> base, good, and bad packages, as well as the ugly and libav ones if >> commercial packages \ >> are whitelisted, and plugins for the required hardware acceleration (if >> supported by the SoC)." >> SUMMARY = "Freescale package group - full set of all GStreamer 1.0 plugins" >> LICENSE = "MIT" >> LIC_FILES_CHKSUM = >> "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ >> >> file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" >> >> inherit packagegroup >> >> RDEPENDS_${PN} = " \ >> packagegroup-fslc-gstreamer1.0 \ >> ${@base_contains('LICENSE_FLAGS_WHITELIST', 'commercial', >> 'packagegroup-fslc-gstreamer1.0-commercial', '', d)} \ >> gstreamer1.0-plugins-base-meta \ >> gstreamer1.0-plugins-good-meta \ >> gstreamer1.0-plugins-bad-meta \ >> ${@base_contains('LICENSE_FLAGS_WHITELIST', 'commercial', >> 'gstreamer1.0-plugins-ugly-meta', '', d)} \ >> ${@base_contains('LICENSE_FLAGS_WHITELIST', 'commercial', >> 'gstreamer1.0-libav', '', d)} \ >> " >> >> >> Please note the line containing "gstreamer1.0-plugins-bad-meta". I can't >> find any recipe or file that has this name (find/grep didn't help). > > As I understand, any *-meta is not supposed to be a recipe, but a > sub-package instead. Yes, I found the same this morning. I'm still not sure of all the complications of marking a recipe with "-meta", this "requires more thinking" :D. > And, I'm not sure if 'mpegtsdemux' would be part of bad-meta, as > bad-meta only have a set of plugins, some of them are not included in > -meta (due to license, e.g.) Well, it should be there - it's available in the upstream repo, and also I just was able to add it to my build. It turned out that in my edit/build cycle I somehow had the wrong configuration (packagegroup- fslc-gstreamer1.0-full was not enabled), so thus my issue. Here's my recipe for testing gstreamer1.0 (it's copied/edited from the other recipes in meta-fsl-demos): diff --git a/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gstreamer1.0.bb b/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gstreamer1.0.bb new file mode 100644 index 0000000..90e2715 --- /dev/null +++ b/sources/meta-fsl-demos/recipes-fsl/images/fsl-image-gstreamer1.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "A console-only image that includes gstreamer packages and \ +Freescale's multimedia packages (VPU and GPU) when available for the specific \ +machine." + +IMAGE_FEATURES += "\ + ${@base_contains('DISTRO_FEATURES', 'x11', 'x11-base', '', d)} \ +" + +LICENSE = "MIT" + +inherit core-image + +CORE_IMAGE_EXTRA_INSTALL += " \ + packagegroup-fslc-gstreamer1.0-full \ + packagegroup-fsl-tools-gpu \ +" So I guess this solves my issue. >> How I'm supposed to add the bad plugins to my build? >> >> Thanks in advance. Regards, >> Nikolay >> -- >> _______________________________________________ >> meta-freescale mailing list >> meta-freescale@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-freescale Regards, Nikolay