Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#1 Le 13/06/2013, à 15:03

yann458

Probléme avec l'utilitaire Motion

Bonjour,

L'utilitaire Motion fonctionne bien avec ma webcam.

Mais J'ai changer de webcam en passant à la marque Logitech c270 (edition limité) ,
l'utilitaire gucsview , à l'air de bin fonctionner.

Par contre avec l'utilitaire motion , ça ne marche pas et aucune mise à jour de cet
utilitaire.

L'erreur cité :
[1] Using palette MJPG (544x288) bytesperlines 0 sizeimage 170666 colorspace 00000008
[1] VIDIOC_G_JPEGCOMP not supported but it should be (does your webcam driver support this ioctl?)

je peux répondre qu'à partir de 21h00.


Merci de votre aide.

:~$ motion -n motion.conf
[0] Processing thread 0 - config file /home/eimayann/motion.conf
[0] Motion 3.2.11 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /home/eimayann/motion.conf
[1] Thread 1 started
[0] motion-httpd/3.2.11 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8081
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:02.1-10"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] VIDIOC_TRY_FMT failed for format MJPG: 
[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 8082
[1] Retrying until successful connection with camera
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:02.1-10"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] index_format 2 Test palette MJPG (800x288)
[1] Adjusting resolution from 800x288 to 544x288.
[1] Using palette MJPG (544x288) bytesperlines 0 sizeimage 170666 colorspace 00000008
[1] VIDIOC_G_JPEGCOMP not supported but it should be (does your webcam driver support this ioctl?)
[1] found control 0x00980900, "Brightness", range 0,255 
[1] 	"Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,255 
[1] 	"Contrast", default 32, current 32
[1] found control 0x00980902, "Saturation", range 0,255 
[1] 	"Saturation", default 32, current 32
[1] found control 0x00980913, "Gain", range 0,255 
[1] 	"Gain", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=170666
[1] 1 length=170666
[1] 2 length=170666
[1] 3 length=170666
[1] Using V4L2
[1] Camera has finally become available
[1] Camera image has different width and height from what is in the config file. You should fix that
[1] Restarting Motion thread to reinitialize all image buffers to new picture dimensions
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
[0] Motion thread 1 restart
[1] Thread 1 started
[1] cap.driver: "uvcvideo"
[1] cap.card: "UVC Camera (046d:0825)"
[1] cap.bus_info: "usb-0000:00:02.1-10"
[1] cap.capabilities=0x04000001
[1] - VIDEO_CAPTURE
[1] - STREAMING
[1] Supported palettes:
[1] 0: YUYV (YUV 4:2:2 (YUYV))
[1] 1: MJPG (MJPEG)
[1] index_format 2 Test palette MJPG (544x288)
[1] Using palette MJPG (544x288) bytesperlines 0 sizeimage 170666 colorspace 00000008
[1] VIDIOC_G_JPEGCOMP not supported but it should be (does your webcam driver support this ioctl?)
[1] found control 0x00980900, "Brightness", range 0,255 
[1] 	"Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,255 
[1] 	"Contrast", default 32, current 32
[1] found control 0x00980902, "Saturation", range 0,255 
[1] 	"Saturation", default 32, current 32
[1] found control 0x00980913, "Gain", range 0,255 
[1] 	"Gain", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=170666
[1] 1 length=170666
[1] 2 length=170666
[1] 3 length=170666
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
Corrupt JPEG data: 1 extraneous bytes before marker 0xd2
[1] mjpegtoyuv420p: Corrupt image ... continue
Corrupt JPEG data: 1 extraneous bytes before marker 0xd2
[1] mjpegtoyuv420p: Corrupt image ... continue
Corrupt JPEG data: 1 extraneous bytes before marker 0xd2
[1] mjpegtoyuv420p: Corrupt image ... continue
Corrupt JPEG data: 1 extraneous bytes before marker 0xd5
[1] mjpegtoyuv420p: Corrupt image ... continue
Corrupt JPEG data: 1 extraneous bytes before marker 0xd3
[1] mjpegtoyuv420p: Corrupt image ... continue
[0] httpd quit
[0] httpd - Read from client
[0] httpd Closing
[0] httpd thread exit
[1] Error capturing first image
[1] Started stream webcam server in port 8082
Corrupt JPEG data: 1 extraneous bytes before marker 0xd2
[1] mjpegtoyuv420p: Corrupt image ... continue
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
[0] Motion terminating

Hors ligne

Haut de page ↑