Hi.,
I installed FFMPEG in Ubuntu 10.04LTS 32bit as per your instruction on this thread. I think installation is okay.,
karim@desktop:~$ ls -l /usr/local/include/
total 76
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libavcodec
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libavdevice
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libavfilter
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libavformat
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libavutil
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libpostproc
drwxr-xr-x 2 root root 4096 2010-07-14 15:37 libswscale
drwxr-xr-x 2 root root 4096 2010-07-07 15:47 libusb-1.0
drwxr-xr-x 2 root root 4096 2010-07-08 11:45 SDL
drwxr-xr-x 2 root root 4096 2010-07-14 15:24 vpx
-rw-r--r-- 1 root root 36460 2010-07-14 15:22 x264.h
karim@desktop:~$ ls -l /usr/local/lib/
total 46216
-rw-r--r-- 1 root root 29157798 2010-07-14 15:36 libavcodec.a
-rw-r--r-- 1 root root 481196 2010-07-14 15:36 libavdevice.a
-rw-r--r-- 1 root root 353020 2010-07-14 15:36 libavfilter.a
-rw-r--r-- 1 root root 8756786 2010-07-14 15:36 libavformat.a
-rw-r--r-- 1 root root 285456 2010-07-14 15:36 libavutil.a
-rw-r--r-- 1 root root 79428 2010-07-14 15:36 libpostproc.a
lrwxrwxrwx 1 root root 20 2010-07-08 11:45 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.3
-rwxr-xr-x 1 root root 2098338 2010-07-08 11:45 libSDL-1.2.so.0.11.3
-rw-r--r-- 1 root root 3313590 2010-07-08 11:45 libSDL.a
-rwxr-xr-x 1 root root 986 2010-07-08 11:45 libSDL.la
-rw-r--r-- 1 root root 3330 2010-07-08 11:45 libSDLmain.a
lrwxrwxrwx 1 root root 20 2010-07-08 11:45 libSDL.so -> libSDL-1.2.so.0.11.3
-rw-r--r-- 1 root root 595136 2010-07-14 15:36 libswscale.a
-rw-r--r-- 1 root root 201874 2010-07-07 15:47 libusb-1.0.a
-rwxr-xr-x 1 root root 955 2010-07-07 15:47 libusb-1.0.la
lrwxrwxrwx 1 root root 19 2010-07-07 15:47 libusb-1.0.so -> libusb-1.0.so.0.0.0
lrwxrwxrwx 1 root root 19 2010-07-07 15:47 libusb-1.0.so.0 -> libusb-1.0.so.0.0.0
-rwxr-xr-x 1 root root 156673 2010-07-07 15:47 libusb-1.0.so.0.0.0
-rw-r--r-- 1 karim karim 765920 2010-07-14 15:23 libvpx.a
-rw-r--r-- 1 root root 1035970 2010-07-14 15:22 libx264.a
Thanks for your effort. But when I tried to compile some samples
http://dranger.com/ffmpeg/ffmpeg.html based on ffmpeg libraries, I'm getting linking error. Even I linked the proper libraries in the gcc.
I knew that those samples are little bit outdated. so I did some changes in his samples like
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/avutil.h>
#include <SDL/SDL.h>
#include <SDL/SDL_thread.h> ... etc.
In his sample program he mentioned that how to compile his samples? And some changes in FFMPEG. I followed his instruction., but I'm getting some linking error:
/usr/local/lib/libavformat.a(concat.o): In function `concat_open':
/home/karim/ffmpeg/libavformat/concat.c:67: undefined reference to `av_strstart'
/home/karim/ffmpeg/libavformat/concat.c:99: undefined reference to `av_strlcpy'
/usr/local/lib/libavformat.a(rl2.o): In function `rl2_read_seek':
/home/karim/ffmpeg/libavformat/rl2.c:277: undefined reference to `av_rescale_q'
/usr/local/lib/libavcodec.a(alsdec.o): In function `revert_channel_correlation':
/home/karim/ffmpeg/libavcodec/alsdec.c:1205: undefined reference to `av_log'
/usr/local/lib/libavcodec.a(alsdec.o): In function `read_var_block_data':
/home/karim/ffmpeg/libavcodec/alsdec.c:628: undefined reference to `av_log'
/usr/local/lib/libavcodec.a(alsdec.o): In function `decode_blocks':
/home/karim/ffmpeg/libavcodec/alsdec.c:1111: undefined reference to `av_log'
/usr/local/lib/libavcodec.a(alsdec.o): In function `read_channel_data':
/home/karim/ffmpeg/libavcodec/alsdec.c:1148: undefined reference to `av_log'
/usr/local/lib/libavcodec.a(alsdec.o): In function `read_frame_data':
/home/karim/ffmpeg/libavcodec/alsdec.c:1329: undefined reference to `av_log'
/usr/local/lib/libavcodec.a(alsdec.o):/home/karim/ffmpeg/libavcodec/alsdec.c:1173: more undefined references to `av_log' foll
That message is so big.., so I just pasted few lines. Even I tried
export LD_INCLUDE_PATH=/usr/local/include:$LD_INCLUDE_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
in .bashrc file, still I'm getting those errors. Do you have any idea about this?
Thanks...
Bookmarks