On Thu, Mar 27, 2008 at 3:38 AM, Mayank Agarwal <[EMAIL PROTECTED]>
wrote:

>  Still i  am not clear how to generate the libavcodec.so file.
>
> In libavcodec folder there is one makfile and two other files are
> config.makand
> common.mak
>

I suppose that you are not used to compile under linux.

You have to run ./configure in the root ffmpeg directory.
If you give no parameter, default values will be taken for every parameter.
If you run ./configure without any parameter, the dynamic library
libavcodec.so will not be generated. Instead, a static library
libavcodec.ais generated (in folder libavcodec).
If you want to generate dynamic libraries (for libavcodec libavformat,
etc.), you have to run ./configure --enable-shared. If you have other
parameters, you can keep them (--enable-libx264, --enable-libfaac, etc.)

Obviously, once configure script has been launched, you have to run make to
generate the files and "make install" if you want to install libraries on
your system. This may require root privileges, if you employed default
installation directories.

What is your distrib ? If it's debian, you can add your user to staff group.

hope this helps,

yohann
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to