motion

Fórumok

Sziasztok.

Telepítettem a motion programot, de sajnos nem indul el. A logokbol a következőket szedtem ki:

syslog

Oct 16 18:14:47 krsoft motion: [1] ioctl (VIDIOCGCAP): Invalid argument
Oct 16 18:14:47 krsoft motion: [1] Capture error calling vid_start

messages
Oct 16 18:15:33 krsoft motion: [0] Processing thread 0 - config file motion.conf
Oct 16 18:15:33 krsoft motion: [0] Created process id file /var/run/motion.pid. Process ID is 17914
Oct 16 18:15:33 krsoft motion: [0] Motion running as daemon process
Oct 16 18:15:33 krsoft motion: [0] Thread 1 is from motion.conf
Oct 16 18:15:33 krsoft motion: [1] Removed process id file (pid file).

### v4l2 device info [/dev/video0] ###
general info
VIDIOC_QUERYCAP
driver : "zc0301"
card : "ZC0301[P] PC Camera"
bus_info : "usb-0000:00:07.2-1"
version : 1.1.7
capabilities : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
VIDIOC_ENUMINPUT(0)
index : 0
name : "Camera"
type : CAMERA
audioset : 0
tuner : 0
std : 0x0 []
status : 0x0 []

video capture
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 1
description : "JPEG"
pixelformat : 0x4745504a [JPEG]
VIDIOC_G_FMT(VIDEO_CAPTURE)
type : VIDEO_CAPTURE
fmt.pix.width : 640
fmt.pix.height : 480
fmt.pix.pixelformat : 0x4745504a [JPEG]
fmt.pix.field : NONE
fmt.pix.bytesperline : 0
fmt.pix.sizeimage : 307200
fmt.pix.colorspace : unknown
fmt.pix.priv : 8

controls

Gondolom a hiba az amit a syslog mutat.
Tudna valaki segíteni a hiba elhárításában?

Köszönöm előre is.

Hozzászólások

Az lehet-e probléma, hogy amikor fordítottam a configure státusba a V4L2 supported: No ?

************************
* Configure status *
************************

OS : Linux
pthread Support: Yes
jpeg Support: Yes
V4L included: Yes
V4L2 supported: No
FFmpeg Support: Yes
MYSQL Support: Yes
PostgreSQL Support: No