gst-dsp plugin --> getting started

24 views
Skip to first unread message

ORB

unread,
Dec 7, 2009, 2:37:47 PM12/7/09
to gst-dsp
Hello all,

I am trying to get gst-dsp up and running on a zoom2
(www.omapzoom.org) running with Maemo5. To be frankly honest, I am not
sure where to start. I see there are two different branches, Maemo
(http://maemo.gitorious.org/maemo-multimedia/gst-dsp) and git hub
(http://gitorious.org/~felipec/linux-omap/felipec). I am assuming that
Maemo would be the best one to start with... I have read some of the
older posts but I feel that I am a bit lost still.

Currently I am playing with both repositories in the mean time. I have
downloaded tiopenmax-0.3.5 and ensured that gst is installed on
target. Currently I am working with the following version of gst which
seem to be the same on the N900.

GStreamer plugins from the "bad" set
gstreamer0.10-plugins-bad 0.10.13-git209-0maemo16+0m5

GStreamer plugins from the "base" set
gstreamer0.10-plugins-base 0.10.23-git246-0maemo6+0m5

GStreamer plugins from the "good" set
gstreamer0.10-plugins-good 0.10.15-git180-0maemo8+0m5

From the look of it I do not have "gst-plugin-ugly". (also not
included in n900)

I would like to add the following but I am not sure exactly how to do
it.

GStreamer plug-in for TI's OMAP DSP (taken from n900)
gstreamer0.10-dsp 0.5.0-0maemo16+0m5

I have built the modules from 2.6.31-rc7 kernel from (http://
dev.omapzoom.org/?p=integration/kernel-omap3.git) and added them in
lib modules along with the socket nodes placed in /lib/dsp now the
only part don't seem to understand is "how to install the gst-dsp
plugin". Is there something I am missing? Do I need to build it in the
rootfs/target? Can I just drop it in (replace /gst/lib with one
provided by beagle roortfs)? Any help or suggests on this would be
greatly appreciated.

By no means do I concerned myself a expert in this area I would just
like to understand the process so that I can continue to try and get
this up and running and maybe help out others that are in the same
position I am currently in.

For more information regarding our progress please visit:
http://www.omappedia.com/wiki/Main_Page and select the Maemo
distribution

Thanks
orb

Ballesio Marco (Nokia-D/Helsinki)

unread,
Dec 8, 2009, 3:01:29 AM12/8/09
to ext ORB, gst-dsp
Hi,

On Mon, 2009-12-07 at 20:37 +0100, ext ORB wrote:
> Hello all,
>
> I am trying to get gst-dsp up and running on a zoom2
> (www.omapzoom.org) running with Maemo5. To be frankly honest, I am not
> sure where to start. I see there are two different branches, Maemo
> (http://maemo.gitorious.org/maemo-multimedia/gst-dsp) and git hub
> (http://gitorious.org/~felipec/linux-omap/felipec). I am assuming that

github's gst-dsp is here:

http://gitorious.org/gst-dsp

> Maemo would be the best one to start with... I have read some of the
> older posts but I feel that I am a bit lost still.

mmhh.. it appears maemo is more up-to-date than gitorius, so I agree
with your choice ;)

>
> Currently I am playing with both repositories in the mean time. I have
> downloaded tiopenmax-0.3.5 and ensured that gst is installed on
> target. Currently I am working with the following version of gst which
> seem to be the same on the N900.
>
> GStreamer plugins from the "bad" set
> gstreamer0.10-plugins-bad 0.10.13-git209-0maemo16+0m5
>
> GStreamer plugins from the "base" set
> gstreamer0.10-plugins-base 0.10.23-git246-0maemo6+0m5
>
> GStreamer plugins from the "good" set
> gstreamer0.10-plugins-good 0.10.15-git180-0maemo8+0m5
>
> From the look of it I do not have "gst-plugin-ugly". (also not
> included in n900)

you don't need it for gst-dsp.

>
> I would like to add the following but I am not sure exactly how to do
> it.
>
> GStreamer plug-in for TI's OMAP DSP (taken from n900)
> gstreamer0.10-dsp 0.5.0-0maemo16+0m5

if you've already built gst-dsp maemo/gitoris (and I've not missed
something) this step is not needed (gstreamer0.10-dsp is the long name
for gst-dsp).

>
> I have built the modules from 2.6.31-rc7 kernel from (http://
> dev.omapzoom.org/?p=integration/kernel-omap3.git) and added them in
> lib modules along with the socket nodes placed in /lib/dsp now the
> only part don't seem to understand is "how to install the gst-dsp
> plugin". Is there something I am missing? Do I need to build it in the
> rootfs/target? Can I just drop it in (replace /gst/lib with one
> provided by beagle roortfs)? Any help or suggests on this would be
> greatly appreciated.

after compiling gst-dsp with your favorite arm toolchain you just need
to copy libgstdsp.so to the standard gstreamer lib location of your
platform or BSP, usually under /usr/lib/gstreamer-0.10

>
> By no means do I concerned myself a expert in this area I would just
> like to understand the process so that I can continue to try and get
> this up and running and maybe help out others that are in the same
> position I am currently in.

This is the spirit! I hope my reply was of some help.

Regards,
Marco

orb

unread,
Dec 8, 2009, 7:58:17 PM12/8/09
to marco.b...@nokia.com, gst-dsp
Marco,
Thanks for the input...

All,
Looks like we made some progress today. We were able to build gst-dsp in a
scratchbox env. We installed libgstdsp.so in usr/lib/gstreamer-0.10 dir on
target. We also added the modules needed for 2.6.31 and /lib/dsp/
socketnodes however we are now stuck. I am wondering how 2.6.32 version
works on beagle. I was asking around and I found out that the ioctl were
change at some point. I compared them to the beagle's env kernel and found
out that CMD_BASE =1 while on my env it is CMD_BASE=101. I am assuming
that I need to update the gst-dsp on maemo env with new ioctl's. Will try
this and post what happens. Let me know if someones as hit any of this
before....

Thanks again
orb
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Felipe Contreras

unread,
Dec 9, 2009, 4:32:47 AM12/9/09
to marco.b...@nokia.com, ext ORB, gst-dsp
Hello,

Marco already explained, but I have a few corrections.

On Tue, Dec 8, 2009 at 10:01 AM, Ballesio Marco (Nokia-D/Helsinki)
<marco.b...@nokia.com> wrote:
> On Mon, 2009-12-07 at 20:37 +0100, ext ORB wrote:
>> I am trying to get gst-dsp up and running on a zoom2
>> (www.omapzoom.org) running with Maemo5. To be frankly honest, I am not
>> sure where to start. I see there are two different branches, Maemo
>> (http://maemo.gitorious.org/maemo-multimedia/gst-dsp) and git hub
>> (http://gitorious.org/~felipec/linux-omap/felipec). I am assuming that
>
> github's gst-dsp is here:
>
> http://gitorious.org/gst-dsp

That's gitorious, not github, the "official" one is here:
http://github.com/felipec/gst-dsp

I created the one in gitorious because since it doesn't have my name
on it sounds more official, but haven't decided nor announced anything
yet (and i'ts probably not up-to-date).

>> Maemo would be the best one to start with... I have read some of the
>> older posts but I feel that I am a bit lost still.
>
> mmhh.. it appears maemo is more up-to-date than gitorius, so I agree
> with your choice ;)

The branch we use is 'maemo5-patches' and yeah, it's a bit more
up-to-date than 'master', because it has unreviewed patches, but also
some hacks.

Cheers.

--
Felipe Contreras

Felipe Contreras

unread,
Dec 9, 2009, 4:40:49 AM12/9/09
to orb, marco.b...@nokia.com, gst-dsp
Hello orb,

On Wed, Dec 9, 2009 at 2:58 AM, orb <orbar...@gmail.com> wrote:
> Looks like we made some progress today. We were able to build gst-dsp in a
> scratchbox env. We installed libgstdsp.so in usr/lib/gstreamer-0.10 dir on
> target. We also added the modules needed for 2.6.31 and /lib/dsp/
> socketnodes however we are now stuck. I am wondering how 2.6.32 version
> works on beagle. I was asking around and I found out that the ioctl were
> change at some point. I compared them to the beagle's env kernel and found
> out that CMD_BASE =1 while on my env it is CMD_BASE=101. I am assuming that
> I need to update the gst-dsp on maemo env with new ioctl's. Will try this
> and post what happens. Let me know if someones as hit any of this before....

It's probably easier to revert the commit that changes the ioctls, but
I found that's not enough to get the dspbridge working.

The Maemo 5 branch of the dspbridge works fine though, so I'm
proposing a different branch that's more inline with Nokia's one:
http://marc.info/?l=linux-omap&m=126002036215370&w=2

If you use my proposal branch (dspbridge-0.1), then you should be able
to run gst-dsp (or gst-openmax), on 2.6.32 (or any other kernel with
minor modifications); I've tested it both on beagleboard and N900.

What I did was take 2.6.32 upstream (not the one in Tony's tree), and
merge the dspbridge-0.1 branch; it works fine on beagleboard.

I hope that helps. Cheers.

--
Felipe Contreras

orb

unread,
Dec 15, 2009, 5:22:35 PM12/15/09
to Felipe Contreras, marco.b...@nokia.com, gst-dsp
Update...

We were able to get gst-dsp working on MaemoUI with Zoom2 3430 based on
2.6.31-rc7. We were targeting 2.6.32-rc7 however we were running into some
issues that are currently being addressed. Kernel is based on lo-sync tree
from TI (http://dev.omapzoom.org/?p=integration/kernel-omap3.git).

I'll update www.omappedia.org with my updates and patches later on this
week. (need to learn how to upload files to maemo-garage first) For more
information visit: http://www.omappedia.com/wiki/Maemo_Getting_Started

Thanks again for the help...

--orb--
Reply all
Reply to author
Forward
0 new messages