How can we compile GStreamer for ARM

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

How can we compile GStreamer for ARM

learning gst
Hello,

I hope to compile GStreammer for ARM. But I don't know how to compile? Please help me.

Thanks


Connect to the next generation of MSN Messenger  Get it now!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can we compile GStreamer for ARM

Vincent Torri


On Fri, 12 Sep 2008, learning gst wrote:

> I hope to compile GStreammer for ARM. But I don't know how to compile? Please help me.

use a cross-compilation toolchain. I'm sure google can help you (for
example http://www.scratchbox.org/, but there are certainly other
toolchain)

So, I think that you have to:

1) set up the toolchain
2) compile the dependencies (iconv, glib, etc...) for the arm target
3) compile gstreamer for the arm target

As an example, I plan to have gstreamer on Windows CE devices with cegcc.

regards

Vincent Torri

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can we compile GStreamer for ARM

Stefan Sauer
Vincent Torri schrieb:

>
> On Fri, 12 Sep 2008, learning gst wrote:
>
>> I hope to compile GStreammer for ARM. But I don't know how to compile? Please help me.
>
> use a cross-compilation toolchain. I'm sure google can help you (for
> example http://www.scratchbox.org/, but there are certainly other
> toolchain)
>
> So, I think that you have to:
>
> 1) set up the toolchain
> 2) compile the dependencies (iconv, glib, etc...) for the arm target
> 3) compile gstreamer for the arm target
>
> As an example, I plan to have gstreamer on Windows CE devices with cegcc.

Is glib buildable on WinCE therese days?

Stefan

>
> regards
>
> Vincent Torri
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can we compile GStreamer for ARM

Vincent Torri


On Fri, 12 Sep 2008, Stefan Kost wrote:

> Vincent Torri schrieb:
>>
>> On Fri, 12 Sep 2008, learning gst wrote:
>>
>>> I hope to compile GStreammer for ARM. But I don't know how to compile? Please help me.
>>
>> use a cross-compilation toolchain. I'm sure google can help you (for
>> example http://www.scratchbox.org/, but there are certainly other
>> toolchain)
>>
>> So, I think that you have to:
>>
>> 1) set up the toolchain
>> 2) compile the dependencies (iconv, glib, etc...) for the arm target
>> 3) compile gstreamer for the arm target
>>
>> As an example, I plan to have gstreamer on Windows CE devices with cegcc.
>
> Is glib buildable on WinCE therese days?

I've not tried yet. I'm stick on another set of libs before i go to
gstreamer. Which means iconv then glib.

I wonder which settings are best for embedded (configure options)

Vincent

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can we compile GStreamer for ARM

Edward Hervey
Administrator
On Fri, 2008-09-12 at 12:20 +0200, Vincent Torri wrote:

> I wonder which settings are best for embedded (configure options)

  For testing... I wouldn't disable much else you'll find it hard to
debug.

  Otherwise for production usage:
  --disable-gst-debug (you'll save some cpu/memory)
  --disable-loadsave (really not needed)
  --disable-parse  (remove gst_parse_* features)
  --disable-option-parsing (not needed if you're going to be using just
the library).

  That should slim it down enough. Oh, and CFLAGS="-Os" will optimize
the resulting library size.
  And obviously only compile/install the plugins you need :)


    Edward

>
> Vincent
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can we compile GStreamer for ARM

learning gst
In reply to this post by Vincent Torri
Hello,

Thanks for your reply.

Now, the problem is that we do not use X server at all in our embedded system. In this case, is it possible for us to compile without any errors?

Thanks!

> Date: Fri, 12 Sep 2008 08:31:27 +0200
> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [gst-devel] How can we compile GStreamer for ARM
>
>
>
> On Fri, 12 Sep 2008, learning gst wrote:
>
> > I hope to compile GStreammer for ARM. But I don't know how to compile? Please help me.
>
> use a cross-compilation toolchain. I'm sure google can help you (for
> example http://www.scratchbox.org/, but there are certainly other
> toolchain)
>
> So, I think that you have to:
>
> 1) set up the toolchain
> 2) compile the dependencies (iconv, glib, etc...) for the arm target
> 3) compile gstreamer for the arm target
>
> As an example, I plan to have gstreamer on Windows CE devices with cegcc.
>
> regards
>
> Vincent Torri
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-embedded] How can we compile GStreamer for ARM

Stefan Sauer
In reply to this post by Edward Hervey
Edward Hervey schrieb:

> On Fri, 2008-09-12 at 12:20 +0200, Vincent Torri wrote:
>
>> I wonder which settings are best for embedded (configure options)
>
>   For testing... I wouldn't disable much else you'll find it hard to
> debug.
>
>   Otherwise for production usage:
>   --disable-gst-debug (you'll save some cpu/memory)
>   --disable-loadsave (really not needed)
>   --disable-parse  (remove gst_parse_* features)
>   --disable-option-parsing (not needed if you're going to be using just
> the library).
>

only one to add:
--disable-nls (if you don't mind english eror messages)

Stefan

>   That should slim it down enough. Oh, and CFLAGS="-Os" will optimize
> the resulting library size.
>   And obviously only compile/install the plugins you need :)
>
>
>     Edward
>
>> Vincent
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gstreamer-embedded mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-embedded] How can we compile GStreamer for ARM

Stefan Sauer
In reply to this post by learning gst
learning gst schrieb:
> Hello,
>
> Thanks for your reply.
>
> Now, the problem is that we do not use X server at all in our embedded
> system. In this case, is it possible for us to compile without any errors?
>
It should be. Please let us know about errors you encounter (best via bugzilla).
Most of us who build on linux have X and there might be error that we simply
never get.

Stefan


> Thanks!
>
>  > Date: Fri, 12 Sep 2008 08:31:27 +0200
>  > From: [hidden email]
>  > To: [hidden email]
>  > CC: [hidden email]
>  > Subject: Re: [gst-devel] How can we compile GStreamer for ARM
>  >
>  >
>  >
>  > On Fri, 12 Sep 2008, learning gst wrote:
>  >
>  > > I hope to compile GStreammer for ARM. But I don't know how to
> compile? Please help me.
>  >
>  > use a cross-compilation toolchain. I'm sure google can help you (for
>  > example http://www.scratchbox.org/, but there are certainly other
>  > toolchain)
>  >
>  > So, I think that you have to:
>  >
>  > 1) set up the toolchain
>  > 2) compile the dependencies (iconv, glib, etc...) for the arm tar get
>  > 3) compile gstreamer for the arm target
>  >
>  > As an example, I plan to have gstreamer on Windows CE devices with cegcc.
>  >
>  > regards
>  >
>  > Vincent Torri
>  >
>  > -------------------------------------------------------------------------
>  > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
>  > Build the coolest Linux based applications with Moblin SDK & win
> great prizes
>  > Grand prize is a trip for two to an Open Source event anywhere in the
> world
>  > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>  > _______________________________________________
>  > gstreamer-devel mailing list
>  > [hidden email]
>  > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
> ------------------------------------------------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!
> <http://spaces.live.com/spacesapi.aspx?wx_action= 
> create&wx_url=/friends.aspx&mkt=en-us>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gstreamer-embedded mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-embedded] How can we compile GStreamer for ARM

Vincent Torri
In reply to this post by learning gst


On Fri, 12 Sep 2008, learning gst wrote:

>
> Hello,
>
> Thanks for your reply.
>
> Now, the problem is that we do not use X server at all in our embedded system. In this case, is it possible for us to compile without any errors?

as I plan to port gst to Windows CE (and as gst compiles on Windows), you
can compile it without having X11 at all. Some sinks requires X11
(x*imagesink, the opengl one, maybe others).

Vincent Torri

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [gst-embedded] How can we compile GStreamer for ARM

Felipe Contreras
In reply to this post by learning gst
On Fri, Sep 12, 2008 at 9:15 AM, learning gst <[hidden email]> wrote:
> Hello,
>
> I hope to compile GStreammer for ARM. But I don't know how to compile?
> Please help me.

I've added a page in the wiki with my notes for compiling in ARM.

http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded

I use --with-html-dir=/tmp/dump to avoid installing the documentation
on the target, and --disable-static to avoid static libraries.

Since I'm using this build for development purposes I keep the debugging stuff.

Best regards.

--
Felipe Contreras

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel