problems compiling ffmpeg-gstreamer plugin for ARM

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

problems compiling ffmpeg-gstreamer plugin for ARM

Norbert Leder
Hi,

first of all I hope that belongs here, sorry if not.

I am a student on TU-Wien and I've got a problem with my current project.
Today I tried to build and install the ffmpeg-gstreamer plugins for the
iMx31 Freescale
board we are using for our current project.
I tried to build the sourcepackage using ./configure --host=arm and the
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
compiler.
It compiled/installed without an error but it didn't create me .so
files automatically
and I wasn't able to make it work on the iMx31.

I am really lost! Please give me some advice!

with best regards
Norbert LEDER


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problems compiling ffmpeg-gstreamer plugin for ARM

John Faith-2
Hi Norbert,
I've built gst-ffmpeg 0.10.3 for the i.MX31ADS using the ltib tool
(http://www.bitshrine.org).  The build did something like this:

./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
--without-check --disable-altivec
make
make install DESTDIR=/path/to/rootfs
find /path/to/rootfs/usr/lib/ -name '*.la' | xargs rm -f

The target files created in my environment were:
/path/to/rootfs/usr/lib/gstreamer-0.10/libgstffmpeg.a
/path/to/rootfs/usr/lib/gstreamer-0.10/libgstffmpeg.so
/path/to/rootfs/usr/lib/gstreamer-0.10/libgstpostproc.a
/path/to/rootfs/usr/lib/gstreamer-0.10/libgstpostproc.so

Did you save the output when you did 'make install' to see where files
were put?

,
John


Norbert Leder wrote:

> Hi,
>
> first of all I hope that belongs here, sorry if not.
>
> I am a student on TU-Wien and I've got a problem with my current project.
> Today I tried to build and install the ffmpeg-gstreamer plugins for the
> iMx31 Freescale
> board we are using for our current project.
> I tried to build the sourcepackage using ./configure --host=arm and the
> /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
> compiler.
> It compiled/installed without an error but it didn't create me .so
> files automatically
> and I wasn't able to make it work on the iMx31.
>
> I am really lost! Please give me some advice!
>
> with best regards
> Norbert LEDER
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: problems compiling ffmpeg-gstreamer plugin for ARM

Damien Lespiau
Hi Norbert,

I've also build gst-ffmpeg for an i.mx31 board, here are my notes in case they
can be of any help:

export CC="arm-none-linux-gnueabi-gcc"
./configure --prefix=/opt/sagem/emotion/arm-linux --host=arm-linux
cd gst-libs/ext/ffmpeg
./configure --cross-prefix=arm-none-linux-gnueabi- --cross-compile
--arch=armv6l --prefix=/opt/lespiau/emotion/arm-linux  --enable-static
--enable-shared --disable-ffserver --disable-ffplay --enable-pp
--enable-gpl
make
cd ../../..
make
sudo make install

HTH,

--
Damien Lespiau

On Thu, Mar 13, 2008 at 1:15 AM, John Faith <[hidden email]> wrote:

> Hi Norbert,
>  I've built gst-ffmpeg 0.10.3 for the i.MX31ADS using the ltib tool
>  (http://www.bitshrine.org).  The build did something like this:
>
>  ./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
>  --without-check --disable-altivec
>  make
>  make install DESTDIR=/path/to/rootfs
>  find /path/to/rootfs/usr/lib/ -name '*.la' | xargs rm -f
>
>  The target files created in my environment were:
>  /path/to/rootfs/usr/lib/gstreamer-0.10/libgstffmpeg.a
>  /path/to/rootfs/usr/lib/gstreamer-0.10/libgstffmpeg.so
>  /path/to/rootfs/usr/lib/gstreamer-0.10/libgstpostproc.a
>  /path/to/rootfs/usr/lib/gstreamer-0.10/libgstpostproc.so
>
>  Did you save the output when you did 'make install' to see where files
>  were put?
>
>  ,
>  John
>
>
>
>
>  Norbert Leder wrote:
>  > Hi,
>  >
>  > first of all I hope that belongs here, sorry if not.
>  >
>  > I am a student on TU-Wien and I've got a problem with my current project.
>  > Today I tried to build and install the ffmpeg-gstreamer plugins for the
>  > iMx31 Freescale
>  > board we are using for our current project.
>  > I tried to build the sourcepackage using ./configure --host=arm and the
>  > /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
>  > compiler.
>  > It compiled/installed without an error but it didn't create me .so
>  > files automatically
>  > and I wasn't able to make it work on the iMx31.
>  >
>  > I am really lost! Please give me some advice!
>  >
>  > with best regards
>  > Norbert LEDER
>  >
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  _______________________________________________
>  gstreamer-devel mailing list
>  [hidden email]
>  https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



--
Damien Lespiau

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel