Motion - Support Question 2007x 11x 14x 142357

Unknown config option from FFmpeg

Question

My problem is that, it fails to create videos because motion not found FFmpeg libraries. I installed FFmpeg with "svn checkout svn: / / svn.mplayerhq.hu / ffmpeg / trunk ffmpeg". I followed the directions found in "http://www.lavrsen.dk/twiki/bin/view/Motion/MpegFilmsFFmpeg" but the error continues to be, what should I do?

Thanks

stefano@stefano-linux:/usr/local/etc$ sudo motion
[0] Processing thread 0 - config file motion.conf
[0] Unknown config option "ffmpeg_cap_new"
[0] Unknown config option "ffmpeg_cap_motion"
[0] Unknown config option "ffmpeg_timelapse"
[0] Unknown config option "ffmpeg_timelapse_mode"
[0] Unknown config option "ffmpeg_bps"
[0] Unknown config option "ffmpeg_variable_bitrate"
[0] Unknown config option "ffmpeg_video_codec"
[0] Unknown config option "ffmpeg_deinterlace"
[0] Unknown config option "movie_filename"
[0] Unknown config option "timelapse_filename"
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Thread 1 is from motion.conf
[1] Thread started

Environment

Motion version: 3.2.8
ffmpeg version: SVN-r11019
Libraries: ffmpeg
Server OS: Kubuntu 7.10
-- StefanoAprile - 14 Nov 2007

Answer

You need to provide more details on the installation of ffmpeg.

The SVN download of ffmpeg is followed up by configure, make and make install.

During this a ton of messages are given to you. Your problem is in these messages because obviously you have not managed to get ffmpeg correctly built and installed.

Some of the Debian/Ubunto experts may also guide you to a package based installation of ffmpeg. Building ffmpeg from sources is not in itself difficult but it does require some other libraries pre-installed to build with mpeg support.

-- KennethLavrsen - 14 Nov 2007

EDIT: This can also happen if you have an outdated config file. By default, a config file with up-to-date options will be installed to /usr/local/etc/motion-dist.conf when you run `sudo make install`.

Attached below is a config file which is current as of 23 April 2014. -- DavidWales - 23 Apr 2014
Topic revision: r4 - 23 Apr 2014, DavidWales
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.