All of lore.kernel.org
 help / color / mirror / Atom feed
* Adding mp3 support to gstreamer
@ 2011-10-13 23:36 Chris Tapp
  2011-10-14  0:26 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Tapp @ 2011-10-13 23:36 UTC (permalink / raw)
  To: yocto

I'm trying to add mp3 support to gstreamer.

I've got a task that RDEPENDS on gst-meta-audio. The image produced  
includes gstreamer, as expected.

However, there is no mp3 decoder included. I've tried setting:

COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad", but there was still  
no mp3 support.

I then tried adding an RDEPENDS on gst-ffmpeg. gst-inspect -b showed  
this as 'blacklisted'.

So, I then tried gst-fluendo-mp3, but I get a "nothing provides" error  
at build time.

What do I need to do to get mp3 decoding added to the image?

Chris Tapp

opensource@keylevel.com
www.keylevel.com





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

* Re: Adding mp3 support to gstreamer
  2011-10-13 23:36 Adding mp3 support to gstreamer Chris Tapp
@ 2011-10-14  0:26 ` Khem Raj
  2011-10-14  7:18   ` Chris Tapp
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2011-10-14  0:26 UTC (permalink / raw)
  To: Chris Tapp; +Cc: yocto

On Thu, Oct 13, 2011 at 4:36 PM, Chris Tapp <opensource@keylevel.com> wrote:
> I'm trying to add mp3 support to gstreamer.
>
> I've got a task that RDEPENDS on gst-meta-audio. The image produced includes
> gstreamer, as expected.
>
> However, there is no mp3 decoder included. I've tried setting:
>
> COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad", but there was still no
> mp3 support.
>
> I then tried adding an RDEPENDS on gst-ffmpeg. gst-inspect -b showed this as
> 'blacklisted'.
>
> So, I then tried gst-fluendo-mp3, but I get a "nothing provides" error at
> build time.
>
> What do I need to do to get mp3 decoding added to the image?

what does COMMERCIAL_LICENSE has in it ?
You might want to see that package is part of this variable or not

>
> Chris Tapp
>
> opensource@keylevel.com
> www.keylevel.com
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


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

* Re: Adding mp3 support to gstreamer
  2011-10-14  0:26 ` Khem Raj
@ 2011-10-14  7:18   ` Chris Tapp
  2011-10-14 16:17     ` Joshua Lock
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Tapp @ 2011-10-14  7:18 UTC (permalink / raw)
  To: yocto

On 14 Oct 2011, at 01:26, Khem Raj wrote:

> On Thu, Oct 13, 2011 at 4:36 PM, Chris Tapp  
> <opensource@keylevel.com> wrote:
>> I'm trying to add mp3 support to gstreamer.
>>
>> I've got a task that RDEPENDS on gst-meta-audio. The image produced  
>> includes
>> gstreamer, as expected.
>>
>> However, there is no mp3 decoder included. I've tried setting:
>>
>> COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad", but there was  
>> still no
>> mp3 support.
>>
>> I then tried adding an RDEPENDS on gst-ffmpeg. gst-inspect -b  
>> showed this as
>> 'blacklisted'.
>>
>> So, I then tried gst-fluendo-mp3, but I get a "nothing provides"  
>> error at
>> build time.
>>
>> What do I need to do to get mp3 decoding added to the image?
>
> what does COMMERCIAL_LICENSE has in it ?
> You might want to see that package is part of this variable or not

bitbake -e reports:

COMMERCIAL_LICENSE="lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"

Chris Tapp

opensource@keylevel.com
www.keylevel.com





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

* Re: Adding mp3 support to gstreamer
  2011-10-14  7:18   ` Chris Tapp
@ 2011-10-14 16:17     ` Joshua Lock
  2011-10-14 19:25       ` Chris Tapp
  0 siblings, 1 reply; 5+ messages in thread
From: Joshua Lock @ 2011-10-14 16:17 UTC (permalink / raw)
  To: yocto

On 10/14/2011 12:18 AM, Chris Tapp wrote:
> On 14 Oct 2011, at 01:26, Khem Raj wrote:
> 
>> On Thu, Oct 13, 2011 at 4:36 PM, Chris Tapp <opensource@keylevel.com>
>> wrote:
>>> I'm trying to add mp3 support to gstreamer.
>>>
>>> I've got a task that RDEPENDS on gst-meta-audio. The image produced
>>> includes
>>> gstreamer, as expected.
>>>
>>> However, there is no mp3 decoder included. I've tried setting:
>>>
>>> COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad", but there was
>>> still no
>>> mp3 support.
>>>
>>> I then tried adding an RDEPENDS on gst-ffmpeg. gst-inspect -b showed
>>> this as
>>> 'blacklisted'.
>>>
>>> So, I then tried gst-fluendo-mp3, but I get a "nothing provides"
>>> error at
>>> build time.
>>>
>>> What do I need to do to get mp3 decoding added to the image?
>>
>> what does COMMERCIAL_LICENSE has in it ?
>> You might want to see that package is part of this variable or not
> 
> bitbake -e reports:
> 
> COMMERCIAL_LICENSE="lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"

Right, I'm struggling to find documentation further than what's in the
code[1] and bugzilla[2] (there's probably stuff in the mail archives
too) but, COMMERCIAL_LICENSE is a blacklist - so you have to remove
items from that list to acknowledge that there are likely commercial
implications of using those recipes.

Furthermore, there are white lists of permitted commercially licensed
packages, to which you need to add the output of COMMERCIAL_LICENSE
recipes that you want to include in images (by way of appending them to
default installation targets in various recipes).

COMMERCIAL_AUDIO_PLUGINS, COMMERCIAL_VIDEO_PLUGINS, and COMMERCIAL_QT

Hope this helps,

Joshua

1.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/distro/include/default-distrovars.inc#n29
2. http://bugzilla.pokylinux.org/show_bug.cgi?id=576
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


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

* Re: Adding mp3 support to gstreamer
  2011-10-14 16:17     ` Joshua Lock
@ 2011-10-14 19:25       ` Chris Tapp
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Tapp @ 2011-10-14 19:25 UTC (permalink / raw)
  To: yocto

On 14 Oct 2011, at 17:17, Joshua Lock wrote:

> On 10/14/2011 12:18 AM, Chris Tapp wrote:
>> On 14 Oct 2011, at 01:26, Khem Raj wrote:
>>
>>> On Thu, Oct 13, 2011 at 4:36 PM, Chris Tapp  
>>> <opensource@keylevel.com>
>>> wrote:
>>>> I'm trying to add mp3 support to gstreamer.
>>>>
>>>> I've got a task that RDEPENDS on gst-meta-audio. The image produced
>>>> includes
>>>> gstreamer, as expected.
>>>>
>>>> However, there is no mp3 decoder included. I've tried setting:
>>>>
>>>> COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad", but there was
>>>> still no
>>>> mp3 support.
>>>>
>>>> I then tried adding an RDEPENDS on gst-ffmpeg. gst-inspect -b  
>>>> showed
>>>> this as
>>>> 'blacklisted'.
>>>>
>>>> So, I then tried gst-fluendo-mp3, but I get a "nothing provides"
>>>> error at
>>>> build time.
>>>>
>>>> What do I need to do to get mp3 decoding added to the image?
>>>
>>> what does COMMERCIAL_LICENSE has in it ?
>>> You might want to see that package is part of this variable or not
>>
>> bitbake -e reports:
>>
>> COMMERCIAL_LICENSE="lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"
>
> Right, I'm struggling to find documentation further than what's in the
> code[1] and bugzilla[2] (there's probably stuff in the mail archives
> too) but, COMMERCIAL_LICENSE is a blacklist - so you have to remove
> items from that list to acknowledge that there are likely commercial
> implications of using those recipes.
>
> Furthermore, there are white lists of permitted commercially licensed
> packages, to which you need to add the output of COMMERCIAL_LICENSE
> recipes that you want to include in images (by way of appending them  
> to
> default installation targets in various recipes).
>
> COMMERCIAL_AUDIO_PLUGINS, COMMERCIAL_VIDEO_PLUGINS, and COMMERCIAL_QT
>
> Hope this helps,


It does. Thanks.

However, I'm now even more confused ;-)

I've got it working by using the gstreamer recipe from 5.0.1 (I'm  
building under 4.0.1). However, bitbake -e still reports as above and  
I can't see ffmpeg in any context other than

RECIPE_STATUS_pn-gst-ffmpeg="red".

Still, it's working :-)

Chris Tapp

opensource@keylevel.com
www.keylevel.com





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

end of thread, other threads:[~2011-10-14 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 23:36 Adding mp3 support to gstreamer Chris Tapp
2011-10-14  0:26 ` Khem Raj
2011-10-14  7:18   ` Chris Tapp
2011-10-14 16:17     ` Joshua Lock
2011-10-14 19:25       ` Chris Tapp

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.