La webcam est une logitech quickcam express.
J'ai testé motion, mais cet erreur :
[0] Processing thread 0 - config file /opt/etc/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3356160 LIBAVFORMAT_BUILD 3411200
[0] Thread 1 is from /opt/etc/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8082
[1] Thread 1 started
[1] cap.driver: "STV06xx"
[1] cap.card: "Camera"
[1] cap.bus_info: "usb-orion-ehci.0-1.2.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] Failed with YUV420P, trying YUV422 palette:
[1] Failed with YUV422, trying YUYV palette:
[1] Failed with YUYV, trying RGB24 palette:
[1] Failed with RGB24, trying GREYSCALE palette:
[1] Failed with all supported palettes - giving up:
[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] cap.driver: "STV06xx"
[1] cap.card: "Camera"
[1] cap.bus_info: "usb-orion-ehci.0-1.2.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] MAP_FAILED:
^C[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[1] Thread exiting
[0] Motion terminating
J'ai compilé mjpg_streamer, j'ai une erreur avec le lib :
Joenas> ./mjpg_streamer -i "input_uvc.so" -o "output_http.so -w ./www -p 8099 -c utilisateur:motdepasse"
MJPG Streamer Version.: 2.0
ERROR: could not find input plugin
Perhaps you want to adjust the search path with:
# export LD_LIBRARY_PATH=/path/to/plugin/folder
dlopen: input_uvc.so: wrong ELF class: ELFCLASS64