Thanks Tomas! I appreciate it.

I did use ldd to check it but somehow I could not see any libvpx library 
information. Here is the procedures I took:
1.
 1. Configure, build and install libvpx0.9.1 and libvpx0.9.5 and generate 
libvpx.a under both libvpx0.9.1(0.9.5) folder and /usr/local/lib folder.

2. 2. Go to FFMPEG folder. Type the following configure command:
---------------------------------------------------------------------------------
“./configure --extra-cflags=-I/users/itsou/libvpx-0.9.1 
--extra-libs=-L/users/itsou/libvpx-0.9.1/libvpx.a 
--extra-ldflags=-L/users/itsou/libvpx-0.9.1 --enable-libvpx --enable-libvorbis 
--enable-pthreads”
---------------------------------------------------------------------------------

3. 3. “make” under the FFMPEG folder. libavcodec.a is created under 
/ffmpeg-0.6/libavcodec folder.

4. 4. Use “ldd ffmpeg” to check the library linkage and got the following 
information:
---------------------------------------------------------------------------------
“bash-3.2$ ldd ffmpeg
 libz.so.1 => /usr/lib64/libz.so.1 (0x00000038c3e00000)
 libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00000038d7600000)
 libm.so.6 => /lib64/libm.so.6 (0x00000038c3200000)
 libvorbisenc.so.2 => /usr/lib64/libvorbisenc.so.2 (0x00002b18e63a3000)
 libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x00000038ce800000)
 libasound.so.2 => /lib64/libasound.so.2 (0x00000038d2200000)
 libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038c3a00000)
 libc.so.6 => /lib64/libc.so.6 (0x00000038c2e00000)
 libogg.so.0 => /usr/lib64/libogg.so.0 (0x00000038ce000000)
 libdl.so.2 => /lib64/libdl.so.2 (0x00000038c3600000)
 librt.so.1 => /lib64/librt.so.1 (0x00000038c8600000)
 /lib64/ld-linux-x86-64.so.2 (0x00000038c2a00000)”
---------------------------------------------------------------------------------
I thought I could see some libvpx.a linking information but somehow I couldn’t 
see it. Is there anything wrong with the command I used? It would be great if 
anybody can give me some hints on this issue. Thank you in advance!

Best,
Ivan
----- Original Message -----
From: Tomas Härdin
Sent: 12/02/10 12:07 AM
To: Libav* user questions and discussions
Subject: Re: [libav-user] Change libvpx library in FFMPEG

On Wed, 2010-12-01 at 14:43 -0500, Ivan Tsou wrote: > Hi, > Does anybody know 
how to replace the libvpx libraray in FFMPEG? I have got libvpx 0.9.1 and 
libvpx 0.9.5 and would like to compare the performance between them using 
ffmpeg0.6.1. But I couldn't find the proper library file to replace in the 
ffmpeg folder. Executing make in libvpx would only generate libvpx.a. Any 
suggestion is highly appreciated! > > Best, > Ivan Run ldd on ffmpeg to see 
whether it dynamically links to libvpx (ldd ffmpeg | grep vpx or something). If 
so, then configure libvpx so it builds dynamic libraries and simply install it. 
If not, then you need to rebuild ffmpeg after installing said libraries, since 
the linker default to choosing dynamic libraries over static ones. /Tomas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to