|
List Info
Thread: RE: FFmpeg DLL's and Linphone-C
|
|
| RE: FFmpeg DLL's and Linphone-C |
  United States |
2007-02-13 13:23:56 |
Simon,
Thanks for the help. This is probably what I need. I am
thinking that I do not understand the phrase
"configured ffmpeg to have no dependency". I
looked at './configure --help' and did not find an option
that seemed to be obviously the right thing. Can you tell
me what options you give configure? At the moment, I am
using the following options:
./configure --enable-memalign-hack --enable-mingw32
--enable-mp3lame --extra-cflags=-I/local/include
--extra-ldflags=-L/local/lib
Thank you again,
-Adrian
-----Original Message-----
From: Simon Morlat [mailto:simon.morlat linphone.org]
Sent: Tuesday, February 13, 2007 5:20 AM
To: linphone-developers nongnu.org
Cc: Adrian Kaehler
Subject: Re: [Linphone-developers] FFmpeg DLL's and
Linphone-C
Hi,
Actually I build ffmpeg using mingw without any
dependencies. This generates libavcodec.a, libavutil.a and
libavformat.a.
Only the first two are needed by linphone and those
libraries don't require any other library if you configured
ffmpeg to have no dependency. (use the ./configure
options)
libogg is necessary to build libtheora, however libtheora is
not a mandatory dependency of linphone. You just need to
remove theora.c from the compilation in mediastreamer2 and
remove ms_theora_enc_desc and ms_theora_dec_desc from
alldescs.h.
In any case libvorbis isn't necessary at all.
Hope this helps !
Simon
Le vendredi 9 février 2007 19:09, Adrian Kaehler a écrit :
> Hi all,
>
> So my quest to build Linphone on windows continues.
I am trying to
> build Linphone-C, the console App, becuase I want to be
able to build
> everything in Visual Studio. After a whole lot of
tinkering around, I
> am able to build all of the libraries, and build and
link the code.
> Readline caused some trouble, but that seems to be
resolved as well.
> I am compiling and linking all of the linphone
libraries statically.
> But now when I try to actually _run_ the compiled
application, I get
> errors about missing DLL's, all of them from various
parts of ffmpeg.
> I can not tell you which all they are, because as you
all probably
> know, on windows you are only told about the first
missing DLL, and
> you have to find that one to know what the next one
will be.
> Generally, I need things like vorbis.dll, as well as
things with names
> like libvorbis-0.dll. The ones of the former type I
can find here or
> there pretty easily, I have never seen the ones of the
latter type.
> Does anyone know what these are?
> I tried to build ffmpeg under MinGW, and though I
could bulid ffmpeg
> and ogg, I was not able to build vorbis (build crashes
on a bunch of
> linker errors). Foraging around the net, I was able to
find
> libogg-0.dll, libvorbis-0.dll, and now I need
libvorbisenc-2.dll.. who
> knows what is next. So, I have two questions:
>
> 1) Does anyone have these libraries or can point me to
someplace on
> the web where I can get them?
>
> 2) I have the windoes build of Linphone, why does it
not need these
> libraries? It runs just fine without them. Can anyone
explain this?
>
> Thanks in advance, I would so very much appreciate any
help anyone
> can give.
>
> -Adrian
>
>
>
> (ps, if anyone is curious, libvorbis build is crashing
on a bunch of
> undefined rederences to things with names like
ogg_***_***. I did run
> configure with what I believe to be the
"correct" options "./configure
> --with-ogg=/usr/local
--with-ogg-libraries=/usr/local/lib
> --with-ogg-includes=/usr/local/include" to tell
vorbis where to find
> the ogg headers and libraries).
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
| Re: FFmpeg DLL's and Linphone-C |
  France |
2007-02-17 04:21:58 |
You can remove --enable-mp3lame. Linphone does not need this
feature.
ffmpeg integrates various external codecs (for example x264,
mp3lame) among
with its built-in codecs (h263/mpeg4...).
You just need a ffmpeg with its built-in codecs.
Simon
Le mardi 13 février 2007 20:23, Adrian Kaehler a écrit :
> Simon,
>
> Thanks for the help. This is probably what I need. I
am thinking that I
> do not understand the phrase "configured ffmpeg to
have no dependency". I
> looked at './configure --help' and did not find an
option that seemed to be
> obviously the right thing. Can you tell me what
options you give
> configure? At the moment, I am using the following
options:
>
> ./configure --enable-memalign-hack --enable-mingw32
--enable-mp3lame
> --extra-cflags=-I/local/include
--extra-ldflags=-L/local/lib
>
> Thank you again,
>
> -Adrian
>
>
>
>
> -----Original Message-----
> From: Simon Morlat [mailto:simon.morlat linphone.org]
> Sent: Tuesday, February 13, 2007 5:20 AM
> To: linphone-developers nongnu.org
> Cc: Adrian Kaehler
> Subject: Re: [Linphone-developers] FFmpeg DLL's and
Linphone-C
>
> Hi,
>
> Actually I build ffmpeg using mingw without any
dependencies. This
> generates libavcodec.a, libavutil.a and libavformat.a.
Only the first two
> are needed by linphone and those libraries don't
require any other library
> if you configured ffmpeg to have no dependency. (use
the ./configure
> options)
>
> libogg is necessary to build libtheora, however
libtheora is not a
> mandatory dependency of linphone. You just need to
remove theora.c from the
> compilation in mediastreamer2 and remove
ms_theora_enc_desc and
> ms_theora_dec_desc from alldescs.h.
>
> In any case libvorbis isn't necessary at all.
>
> Hope this helps !
>
> Simon
>
> Le vendredi 9 février 2007 19:09, Adrian Kaehler a
écrit :
> > Hi all,
> >
> > So my quest to build Linphone on windows
continues. I am trying to
> > build Linphone-C, the console App, becuase I want
to be able to build
> > everything in Visual Studio. After a whole lot of
tinkering around, I
> > am able to build all of the libraries, and build
and link the code.
> > Readline caused some trouble, but that seems to be
resolved as well.
> > I am compiling and linking all of the linphone
libraries statically.
> > But now when I try to actually _run_ the
compiled application, I get
> > errors about missing DLL's, all of them from
various parts of ffmpeg.
> > I can not tell you which all they are, because as
you all probably
> > know, on windows you are only told about the first
missing DLL, and
> > you have to find that one to know what the next
one will be.
> > Generally, I need things like vorbis.dll, as well
as things with names
> > like libvorbis-0.dll. The ones of the former type
I can find here or
> > there pretty easily, I have never seen the ones of
the latter type.
> > Does anyone know what these are?
> > I tried to build ffmpeg under MinGW, and though
I could bulid ffmpeg
> > and ogg, I was not able to build vorbis (build
crashes on a bunch of
> > linker errors). Foraging around the net, I was
able to find
> > libogg-0.dll, libvorbis-0.dll, and now I need
libvorbisenc-2.dll.. who
> > knows what is next. So, I have two questions:
> >
> > 1) Does anyone have these libraries or can point
me to someplace on
> > the web where I can get them?
> >
> > 2) I have the windoes build of Linphone, why does
it not need these
> > libraries? It runs just fine without them. Can
anyone explain this?
> >
> > Thanks in advance, I would so very much
appreciate any help anyone
> > can give.
> >
> > -Adrian
> >
> >
> >
> > (ps, if anyone is curious, libvorbis build is
crashing on a bunch of
> > undefined rederences to things with names like
ogg_***_***. I did run
> > configure with what I believe to be the
"correct" options "./configure
> > --with-ogg=/usr/local
--with-ogg-libraries=/usr/local/lib
> > --with-ogg-includes=/usr/local/include" to
tell vorbis where to find
> > the ogg headers and libraries).
>
> _______________________________________________
> Linphone-developers mailing list
> Linphone-developers nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
_______________________________________________
Linphone-developers mailing list
Linphone-developers nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers
|
|
[1-2]
|
|