[meta-freescale] RTMP plugin for gstreamer

Mehdi Sarkeshi mehdi at sensies.com
Tue Jul 7 08:00:04 PDT 2015


Thanks for this clarification.  Doing a  "bitbake -c clean
gstreamer1.0-plugins-bad" did the job and the subsequently built image
populated the plugin. Thanks again.

On Mon, Jul 6, 2015 at 3:17 PM, Alexander Shashkevych <alex at stunpix.com>
wrote:

> > Tried it with no luck. The image bakes with no error but libgstrtmp.so is
> > not populated.
>
> > I saw in the README for rtmp plugin says :
> >
> > "This plugin requires librtmp from http://rtmpdump.mplayerhq.hu/
> >
> > You have to build librtmp with -fPIC to be able to use it
> > with the GStreamer plugin: make XCFLAGS="-fPIC""
> >
> > I am fairly new to YOCTO. Not sure if I should modify the recipe (or any
> > other file for that matter ) to address this.
>
> > On Mon, Jul 6, 2015 at 9:43 AM, Alexander Shashkevych <alex at stunpix.com>
> > wrote:
> >>
> >> > I have been trying to add RTMP plugin to my image. In particular, I
> need
> >> > the
> >> > rtmpsink element. I have tried adding gst-plugins-bad-meta to my
> >> > local.conf
> >> > but this does not generate the libgstrtmp.so. Is there a special
> >> > procedure
> >> > to add this plugin to my image? Any help is much appreciated.
> >>
> >> Have you tried to add in your local.conf:
> >>
> >> PACKAGECONFIG_append_pn-gstreamer1.0-plugins-bad = " rtmp"
> >>
> >> This enables rtmp plugin in "gstreamer1.0-plugins-bad" recipe.
> >>
> >> PS: Extra space in quotes is required.
>
> You shouldn't modify any recipes to build your own custom image: this
> isn't a yocto way. Usually only recipe's developers modify them. Many
> packages in yocto could be configured using config file(s). When
> config files are not enough for your goals, you can override/extend
> recipes (or their parts) with .bbappend files. Original recipes should
> be modified by you in very rare cases when your goal can't be achieved
> with above steps (errors, missing functionality, etc.). Please refer
> to yocto/bitbake documentation to understand their core principles.
>
> For gstreamer's rtmp plugin yocto already have support in recipes and
> all you need is just enable it in your config files as I proposed. For
> example in config/local.conf in your build dir. I've checked this with
> mine image and I got rtmpsink plugin built. Please, double check your
> config file.
>
> If you still unlucky, you could try to do a clean build of gstreamer's
> plugins only:
>
>    bitbake -c clean gstreamer1.0-plugins-bad
>    bitbake <your_image_name_here>
>
> --
> Alexander
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150707/ddf77ad9/attachment.html>


More information about the meta-freescale mailing list