<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>923</bug_id>
          
          <creation_ts>2011-03-22 05:15:12 +0000</creation_ts>
          <short_desc>Easier enabling and configuration of multimedia components</short_desc>
          <delta_ts>2012-04-18 00:44:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Has a dependency on &quot;Proposal: recipe feature switches&quot; merging</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12902</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-03-22 05:15:12 +0000</bug_when>
    <thetext>Building Yocto systems with multimedia components is hard, current pain points include:

1. To enable building extra gstreamer plugins from the main plugin recipes we have to edit the recipe itself or have a copy of the recipe in our layer which adds the desired plugins
2. libva is supported on some architectures but we have to enable it by hand.
3. Knowledge of gstreamer is required to translate desired formats to codecs and then further to gstreamer plugins.

I&apos;m not sure what the total solution is right now but I think this is definitely an area worth some effort to simplify. Some initial thoughts follow:

1 can be addressed through setting a configuration variable for enabled plugins which a distro can override
2 could be addressed with a MACHINE_FEATURE for libva and a &quot;multimedia&quot; task that further adds gstreamer-vaapi on systems with that MACHINE_FEATURE, this of course requires we add the gstreamer-vaapi to a layer other than the meta-demo.
It may be that for three we add some magic to the multimedia task to translate desired codecs into appropriate package combinations?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12905</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-03-22 05:22:33 +0000</bug_when>
    <thetext>For reference.

VAAPI homepage: http://www.freedesktop.org/wiki/Software/vaapi
gstreamer-vaapi homepage: http://www.splitted-desktop.com/~gbeauchesne/gstreamer-vaapi/
gstreamer-vaapi recipe (untested): http://git.yoctoproject.org/cgit/cgit.cgi/meta-demo/commit/?id=a33dd433b629f08bc6517ef2ad3bdd36814ebe85</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16655</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-10-04 07:39:18 +0000</bug_when>
    <thetext>There is a patch in the thread Proposal: recipe feature switches on the mailing list which if we merge would go a long way to helping with this kind of problem. This would also allow COMMERCIAL_LICENSE to work better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16781</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-10-07 06:10:52 +0000</bug_when>
    <thetext>A patch along the lines of the one I was referring to has merged:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=70acc4f45f53a0f163b0301576e576c62dd877f8

I think this will allow the functionality required by this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20606</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-04-18 00:44:56 +0000</bug_when>
    <thetext>Verify merged patch allows finer tuned control over configuration flags.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>