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
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