Motion - Support Question 2011x 05x 21x 195959

cannot compile motion 3.2.12 with latest ffmpeg

Question

I was able to compile motion 3.2.12 before I upgraded my debian 5 to 6 (squeeze) and ffmpeg to the latest git. Now I get:

ffmpeg.c: In function 'ffmpeg_open':

ffmpeg.c:380: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)

I tried the latest motion 3.2 and the trunk: same results.

Attached are:

config.log
session log of configure and make

Environment

Motion version: 3.2.12
ffmpeg version: git-N-30120-ge6ec921
Libraries: ffmpeg
Server OS: Debian Squeeze, kernel 2.6.32
-- JarekCzekalski - 21 May 2011

Answer

Motion works with ffmpeg-0.6.3 the current release of ffmpeg , it's very tough to make it work for every single change of ffmpeg API .

So probably it will never work with GIT version of ffmpeg. But it will with ffmpeg 0.7

Cheers,

-- AngelCarpintero - 01 Jun 2011

Comment

The problem is that if one uses GIT version of mplayer, it forces him to use GIT version of ffmpeg. I thought the usual way is to compile GIT with GIT, as vlc does.

JarekCzekalski, 17 Jul 2011


Try GIT or SVN trunk version of motion.

-- AngelCarpintero - 31 Oct 2011
Topic attachments
I Attachment Action Size Date Who Comment
config.log.gzgz config.log.gz manage 4 K 01 Jun 2011 - 14:51 AngelCarpintero config.log
make.log.gzgz make.log.gz manage 2 K 01 Jun 2011 - 14:51 AngelCarpintero make log
Topic revision: r4 - 31 Oct 2011, AngelCarpintero
Copyright © 1999-2017 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.