BUG: Can't compile with V4L2
It would be nice if Motion worked with an up-to-date
V4L2. Please refactor code to utilize
V4L2, or
V4L1 as a fallback option.
My first problem was a segmentation fault (core dumped) after a recent Ubuntu update. Now motion won't start, it fails after a few minutes. I followed the instructions to retrieve the latest trunk from subversion and attempted to install it. That's when I got the errors below.
motion.c:585:26: error: ?VIDEO_PALETTE_YUV420P? undeclared (first use in this function)
cnt->imgs.type = VIDEO_PALETTE_YUV420P;
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
2.7.4-0ubuntu0.15.10.1 |
Shared libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Ubuntu 15.10, kernel 4.2.0-23-generic |
--
AllanBogh - 16 Jan 2016
Follow up
Workaround: use "./configure --without-v4l" during compilation if the system is only using network cameras.
Fix record