Bug 923

Summary: Easier enabling and configuration of multimedia components
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Joshua Lock - Disabled <josh>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.2   
Hardware: x86   
OS: Multiple   
Whiteboard: Has a dependency on "Proposal: recipe feature switches" merging
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Joshua Lock - Disabled 2011-03-22 05:15:12 UTC
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'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 "multimedia" 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?
Comment 2 Richard Purdie 2011-10-04 07:39:18 UTC
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.
Comment 3 Richard Purdie 2011-10-07 06:10:52 UTC
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.
Comment 4 Joshua Lock - Disabled 2012-04-18 00:44:56 UTC
Verify merged patch allows finer tuned control over configuration flags.