Bonjour,
je ne parviens pas à afficher le flux de ma webcam sur ma machine Ubuntu 10.10, avec un petit programme qui fonctionne parfaitement sous Windows.
L'erreur que j'obtiens est:
1 2 3
| HIGHGUI ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
Unable to stop the stream.: Bad file descriptor
HIGHGUI ERROR: V4L: Pixel format of incoming image is unsupported by OpenCV |
Après avoir parcouru le web pas mal, j'ai lu que la libv4l pouvait aider, malheureusement quand je fais
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so ./CVHomeView
J'obtiens:
Insufficient buffer memory on /dev/video0 -- decreaseing buffers
Insufficient buffer memory on /dev/video0 -- decreaseing buffers
select timeout
select timeout
Erreur de segmentation
Je désespère de pouvoir tirer ça au clair... C'est un problème connu, mais je n'ai pas trouvé la solution sur le web.
Quelqu'un connait la solution???
Merci d'avance pour toute aide!!
Partager