Dear All
I have a Logitech Communicator STX camera. I am able to take snapshots with motion and would like to stream using ffmpeg. Here is what I did so far.
Step 1: Modified motion
vi package/feeds/packages/motion/Makefile
CONFIGURE_ARGS+= \
--with-ffmpeg \
--with-jpeg-mmx \
--without-mysql \
--without-pgsql \
Step 2: make clean
Step 3: make V=99
warning: libfaad.so.2 not found
Linking Motion...
--------------------------------------------------------------------------------
mipsel-openwrt-linux-uclibc-gcc -L/home/yaad/asus-111709/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/venkatesh/asus-111709/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/yaad/asus-111709/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/yaad/asus-111709/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib -L/usr/local/lib -o motion motion.o conf.o draw.o jpegutils.o video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm -lpthread -ljpeg -L/usr/local/lib -lavformat -lavcodec -lavutil -lm -lz
/home/yaad/asus-111709/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: warning: libfaad.so.2, needed by /home/yaad/asus-111709/trunk/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libavcodec.so, not found (try using -rpath or -rpath-link)
~/asus-111709/trunk$ find . -name *.so -print|grep libfaad
./build_dir/target-mipsel_uClibc-0.9.30.1/faad2-2.7/ipkg-install/usr/lib/libfaad.so
./build_dir/target-mipsel_uClibc-0.9.30.1/faad2-2.7/libfaad/.libs/libfaad.so
./staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/libfaad.so
Any clues will be much appreciated.