Motion + pwcbsd + FreeBSD 8.1p2 amd64 + USB Quickcam 4000 Express
Question
Hi,
From ports, I compiled motion with pwcbsd support, apparently configured it fine and when it is launched, it cant open video0 device (unable to open reported in picture). pwcview opens it & display image properly. I see this mmap vs read issue but since motion keeps running, I cant tell if it is related. Can you help ? motion.conf is the one provided by default but the listed lines. thx
# motion -d 9 -n
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Motion 3.2.11.1 Started
[0] ffmpeg LIBAVCODEC_BUILD 3439104 LIBAVFORMAT_BUILD 3436032
[0] Thread 1 is from /usr/local/etc/motion.conf
[1] Thread 1 started
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] Retrying until successful connection with camera
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] vid_return_code 1
[1] vid_return_code 1
################################
libv4l-0.8.4_1 Video4Linux library
v4l_compat-1.0.20110603 Video4Linux IOCTL header files
motion-3.2.11.1_5 A motion detection application
pwcbsd-1.4.1_8 The Linux pwc webcam driver ported to FreeBSD
ffmpeg-0.7.1_4,1 Realtime audio/video encoder/converter and streaming server
ffmpegthumbnailer-2.0.4_2 Lightweight video thumbnailer that can be used by file mana
################################
# cat /usr/local/etc/motion.conf
# Rename this distribution example file to motion.conf
#
# This config file was generated by motion "3.2.11.1"
############################################################
videodevice /dev/video0
framerate 2
minimum_frame_time 1
webcam_port 8081
control_port 0
Environment
Motion version: |
3.2.11 |
ffmpeg version: |
0.7.1 |
Libraries: |
ffmpeg |
Server OS: |
FreeBSD 8.2p2 amd64 |
--
B3r3N - 31 Aug 2011
Answer