Motion - Support Question 2007x 11x 15x 151829

Unknown config option...

Question

Hi, after many attempts have finally managed to install FFmpeg (ffmpeg-0.4.9-pre1 with ./Configure --enable-shared,

make, make install). In /usr/local/lib there are are libavcodec.so and libavformat.so files, but the problem remains, the output of the

launching of Motion is always the same and the videos are not generated. What I can see? What I can do?

OUTPUT FFmpeg install:

./configure --enable-shared

Install prefix   /usr/local
Source path      /home/stefano/download/ffmpeg-0.4.9-pre1
C compiler       gcc
make             make
CPU              x86 (generic)
Big Endian       no
inttypes.h       yes
broken inttypes.h no
MMX enabled      yes
Vector Builtins  yes
gprof enabled    no
zlib enabled     yes
mp3lame enabled  no
vorbis enabled   no
faad enabled     no
faadbin enabled  no
faac enabled     no
a52 support      no
a52 dlopened     no
pp support       no
debug symbols    yes
optimize         yes
shared pp        no
Video hooking    yes
SDL support      no
risky / patent encumbered codecs yes
Imlib2 support   yes
freetype support yes
Sun medialib support no
pthreads support no
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
License: LGPL
Creating config.mak and config.h
config.h is unchanged







make

make -C libavcodec all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
make -C vhook all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'








make install

make -C libavcodec all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
make -C vhook all
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'
if [ -f /home/stefano/download/ffmpeg-0.4.9-pre1/doc/ffmpeg.1 ] ; then \
            install -d "/usr/local/man/man1" ; \
            install -m 644 /home/stefano/download/ffmpeg-0.4.9-pre1/doc/ffmpeg.1 

/home/stefano/download/ffmpeg-0.4.9-pre1/doc/ffserver.1 "/usr/local/man/man1" ; \
        fi
make -C vhook install
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'
install -d "/usr/local/lib/vhook"
install -m 755 null.so fish.so ppm.so imlib2.so drawtext.so "/usr/local/lib/vhook"
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/vhook'
make -C libavcodec install
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
mkdir -p "/usr/local/include/ffmpeg"
install -m 644 /home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec/avcodec.h \
                       /home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec/common.h \
                       /home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec/rational.h \
                "/usr/local/include/ffmpeg"
install -d /usr/local/lib
install -s -m 755 libavcodec.so /usr/local/lib/libavcodec-0.4.9-pre1.so
ln -sf libavcodec-0.4.9-pre1.so /usr/local/lib/libavcodec.so
ldconfig || true
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavcodec'
make -C libavformat install
make[1]: Entering directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
mkdir -p "/usr/local/include/ffmpeg"
install -m 644 /home/stefano/download/ffmpeg-0.4.9-pre1/libavformat/avformat.h 

/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat/avio.h \
                /home/stefano/download/ffmpeg-0.4.9-pre1/libavformat/rtp.h 

/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat/rtsp.h \
                /home/stefano/download/ffmpeg-0.4.9-pre1/libavformat/rtspcodes.h \
                "/usr/local/include/ffmpeg"
install -d /usr/local/lib
install -s -m 755 libavformat.so /usr/local/lib/libavformat-0.4.9-pre1.so
ln -sf libavformat-0.4.9-pre1.so /usr/local/lib/libavformat.so
ldconfig || true
make[1]: Leaving directory `/home/stefano/download/ffmpeg-0.4.9-pre1/libavformat'
install -d "/usr/local/bin"
install -c -s -m 755 ffmpeg ffserver "/usr/local/bin"

Environment

Motion version: 3.2.8
ffmpeg version: 0.4.9-pre1
Libraries: ffmpeg
Server OS: Kubuntu 7.10, kernel 2.6.22-14-generic

-- StefanoAprile - 15 Nov 2007

Answer

Stefano,

that's a good start, but you have to compile motion again in order to include ffmpeg support.

Just do './configure' and 'make clean all' in the motion source directory again and it should work.

-- JoergWeber - 16 Nov 2007
Topic revision: r2 - 16 Nov 2007, JoergWeber
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.