All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: yocto@yoctoproject.org
Subject: Re: Adding mp3 support to gstreamer
Date: Fri, 14 Oct 2011 09:17:39 -0700	[thread overview]
Message-ID: <4E9860A3.1070107@linux.intel.com> (raw)
In-Reply-To: <6660D129-DDBB-4EC7-B99D-2EB728D1A00E@keylevel.com>

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


  reply	other threads:[~2011-10-14 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-10-14 19:25       ` Chris Tapp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E9860A3.1070107@linux.intel.com \
    --to=josh@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.