All of lore.kernel.org
 help / color / mirror / Atom feed
* How to enable bad plugins on gstreamer1.0 (dizzy)
@ 2015-02-05 17:50 Nikolay Dimitrov
  2015-02-06 10:51 ` Daiane Angolini
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Dimitrov @ 2015-02-05 17:50 UTC (permalink / raw)
  To: meta-freescale

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).

How I'm supposed to add the bad plugins to my build?

Thanks in advance. Regards,
Nikolay


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-05 17:50 How to enable bad plugins on gstreamer1.0 (dizzy) Nikolay Dimitrov
@ 2015-02-06 10:51 ` Daiane Angolini
  2015-02-06 11:21   ` Nikolay Dimitrov
  0 siblings, 1 reply; 7+ messages in thread
From: Daiane Angolini @ 2015-02-06 10:51 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org

On Thu, Feb 5, 2015 at 3:50 PM, Nikolay Dimitrov <picmaster@mail.bg> 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.

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.)


Daiane
>
> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-06 10:51 ` Daiane Angolini
@ 2015-02-06 11:21   ` Nikolay Dimitrov
  2015-02-06 12:19     ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Dimitrov @ 2015-02-06 11:21 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org

Hi Daiane,

On 02/06/2015 12:51 PM, Daiane Angolini wrote:
> On Thu, Feb 5, 2015 at 3:50 PM, Nikolay Dimitrov <picmaster@mail.bg> 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-06 11:21   ` Nikolay Dimitrov
@ 2015-02-06 12:19     ` Otavio Salvador
  2015-02-06 13:15       ` Nikolay Dimitrov
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2015-02-06 12:19 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org

On Fri, Feb 6, 2015 at 9:21 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 02/06/2015 12:51 PM, Daiane Angolini wrote:
>> 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.

This happens here:

http://git.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc#n15

>> 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.

We have this in fsl-image-multimedia since long time ago.

I double checked the meta package:

dpkg -I ~/.../tmp/deploy/ipk/cortexa9hf-vfp-neon-mx6qdl/gstreamer1.0-plugins-bad-meta_1.4.5-r0.1_cortexa9hf-vfp-neon-mx6qdl.ipk
| grep Depends: | tr ',' '\n' | grep mpegts
 gstreamer1.0-plugins-bad-mpegtsmux
 libgstmpegts-1.0-0
 gstreamer1.0-plugins-bad-mpegtsdemux

So it seems alright.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-06 12:19     ` Otavio Salvador
@ 2015-02-06 13:15       ` Nikolay Dimitrov
  2015-02-06 13:22         ` Otavio Salvador
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolay Dimitrov @ 2015-02-06 13:15 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

Hi Otavio,

On 02/06/2015 02:19 PM, Otavio Salvador wrote:
> On Fri, Feb 6, 2015 at 9:21 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> On 02/06/2015 12:51 PM, Daiane Angolini wrote:
>>> 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.
>
> This happens here:
>
> http://git.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc#n15
>

Thanks.

>>> 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.
>
> We have this in fsl-image-multimedia since long time ago.

Well, here's the content of fsl-image-multimedia.bb:


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-fsl-gstreamer \
     packagegroup-fsl-tools-gpu \
     ${@base_contains('DISTRO_FEATURES', 'directfb', 
'packagegroup-core-directfb', '', d)} \
     ${@base_contains('DISTRO_FEATURES', 'x11', '', \
                       base_contains('DISTRO_FEATURES', 'wayland', \
                                     'weston weston-init weston-examples \
                                          gtk+3-demo 
clutter-1.0-examples', '', d), d)} \
"


It seems like it's using gstreamer-0.10, and not gstreamer1.0. Please
tell me if I'm looking at the wrong place.

> I double checked the meta package:
>
> dpkg -I ~/.../tmp/deploy/ipk/cortexa9hf-vfp-neon-mx6qdl/gstreamer1.0-plugins-bad-meta_1.4.5-r0.1_cortexa9hf-vfp-neon-mx6qdl.ipk
> | grep Depends: | tr ',' '\n' | grep mpegts
>   gstreamer1.0-plugins-bad-mpegtsmux
>   libgstmpegts-1.0-0
>   gstreamer1.0-plugins-bad-mpegtsdemux
>
> So it seems alright.
>

Regards,
Nikolay


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-06 13:15       ` Nikolay Dimitrov
@ 2015-02-06 13:22         ` Otavio Salvador
  2015-02-06 14:08           ` Daiane Angolini
  0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2015-02-06 13:22 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org

Hello Nikolay,

On Fri, Feb 6, 2015 at 11:15 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 02/06/2015 02:19 PM, Otavio Salvador wrote:
>> We have this in fsl-image-multimedia since long time ago.
>
> Well, here's the content of fsl-image-multimedia.bb:
>
...
> CORE_IMAGE_EXTRA_INSTALL += " \
>     packagegroup-fsl-gstreamer \
>     packagegroup-fsl-tools-gpu \
>     ${@base_contains('DISTRO_FEATURES', 'directfb',
> 'packagegroup-core-directfb', '', d)} \
>     ${@base_contains('DISTRO_FEATURES', 'x11', '', \
>                       base_contains('DISTRO_FEATURES', 'wayland', \
>                                     'weston weston-init weston-examples \
>                                          gtk+3-demo clutter-1.0-examples',
> '', d), d)} \
> "
>
>
> It seems like it's using gstreamer-0.10, and not gstreamer1.0. Please
> tell me if I'm looking at the wrong place.
...

You found a error :-)

Can you prepare an update for it? We should really move to the 1.0 as
0.10 is mostly dead from development perspective.

Daiane, do you agree?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to enable bad plugins on gstreamer1.0 (dizzy)
  2015-02-06 13:22         ` Otavio Salvador
@ 2015-02-06 14:08           ` Daiane Angolini
  0 siblings, 0 replies; 7+ messages in thread
From: Daiane Angolini @ 2015-02-06 14:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

On Fri, Feb 6, 2015 at 11:22 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Nikolay,
>
> On Fri, Feb 6, 2015 at 11:15 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> On 02/06/2015 02:19 PM, Otavio Salvador wrote:
>>> We have this in fsl-image-multimedia since long time ago.
>>
>> Well, here's the content of fsl-image-multimedia.bb:
>>
> ...
>> CORE_IMAGE_EXTRA_INSTALL += " \
>>     packagegroup-fsl-gstreamer \
>>     packagegroup-fsl-tools-gpu \
>>     ${@base_contains('DISTRO_FEATURES', 'directfb',
>> 'packagegroup-core-directfb', '', d)} \
>>     ${@base_contains('DISTRO_FEATURES', 'x11', '', \
>>                       base_contains('DISTRO_FEATURES', 'wayland', \
>>                                     'weston weston-init weston-examples \
>>                                          gtk+3-demo clutter-1.0-examples',
>> '', d), d)} \
>> "
>>
>>
>> It seems like it's using gstreamer-0.10, and not gstreamer1.0. Please
>> tell me if I'm looking at the wrong place.
> ...
>
> You found a error :-)
>
> Can you prepare an update for it? We should really move to the 1.0 as
> 0.10 is mostly dead from development perspective.
>
> Daiane, do you agree?

Absolutely agree


Daiane
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-06 14:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 17:50 How to enable bad plugins on gstreamer1.0 (dizzy) Nikolay Dimitrov
2015-02-06 10:51 ` Daiane Angolini
2015-02-06 11:21   ` Nikolay Dimitrov
2015-02-06 12:19     ` Otavio Salvador
2015-02-06 13:15       ` Nikolay Dimitrov
2015-02-06 13:22         ` Otavio Salvador
2015-02-06 14:08           ` Daiane Angolini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.