cannot compile motion 3.2.12 with latest ffmpeg
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.
session log of configure and make
| Motion version:
| ffmpeg version:
| Server OS:
|| Debian Squeeze, kernel 2.6.32
- 21 May 2011
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
- 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.
, 17 Jul 2011
Try GIT or SVN trunk version of motion.
- 31 Oct 2011