All of lore.kernel.org
 help / color / mirror / Atom feed
* RTMP plugin for gstreamer
@ 2015-07-04 19:12 Mehdi Sarkeshi
  2015-07-06 14:43 ` Alexander Shashkevych
  0 siblings, 1 reply; 5+ messages in thread
From: Mehdi Sarkeshi @ 2015-07-04 19:12 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 314 bytes --]

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

* Re: RTMP plugin for gstreamer
  2015-07-04 19:12 RTMP plugin for gstreamer Mehdi Sarkeshi
@ 2015-07-06 14:43 ` Alexander Shashkevych
  2015-07-06 18:22   ` Mehdi Sarkeshi
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Shashkevych @ 2015-07-06 14:43 UTC (permalink / raw)
  To: Mehdi Sarkeshi; +Cc: meta-freescale

> 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.

--
Alexander


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

* Re: RTMP plugin for gstreamer
  2015-07-06 14:43 ` Alexander Shashkevych
@ 2015-07-06 18:22   ` Mehdi Sarkeshi
  2015-07-06 20:17     ` Alexander Shashkevych
  0 siblings, 1 reply; 5+ messages in thread
From: Mehdi Sarkeshi @ 2015-07-06 18:22 UTC (permalink / raw)
  To: Alexander Shashkevych; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

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/
<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@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.
>
> --
> Alexander
>

[-- Attachment #2: Type: text/html, Size: 2132 bytes --]

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

* Re: RTMP plugin for gstreamer
  2015-07-06 18:22   ` Mehdi Sarkeshi
@ 2015-07-06 20:17     ` Alexander Shashkevych
  2015-07-07 15:00       ` Mehdi Sarkeshi
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Shashkevych @ 2015-07-06 20:17 UTC (permalink / raw)
  To: Mehdi Sarkeshi; +Cc: meta-freescale

> 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@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


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

* Re: RTMP plugin for gstreamer
  2015-07-06 20:17     ` Alexander Shashkevych
@ 2015-07-07 15:00       ` Mehdi Sarkeshi
  0 siblings, 0 replies; 5+ messages in thread
From: Mehdi Sarkeshi @ 2015-07-07 15:00 UTC (permalink / raw)
  To: Alexander Shashkevych; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]

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@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@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
>

[-- Attachment #2: Type: text/html, Size: 3347 bytes --]

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

end of thread, other threads:[~2015-07-07 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-04 19:12 RTMP plugin for gstreamer Mehdi Sarkeshi
2015-07-06 14:43 ` Alexander Shashkevych
2015-07-06 18:22   ` Mehdi Sarkeshi
2015-07-06 20:17     ` Alexander Shashkevych
2015-07-07 15:00       ` Mehdi Sarkeshi

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.