Re: [PD] problems with pdp_v4l2
On Thu, 22 Jul 2010, xà wrote: 2010/7/22 Mathieu Bouchard ma...@artengine.ca: On Thu, 22 Jul 2010, xà wrote: use this shell command : perl -e 'print pack i, 1431918169; print \n' or ruby -e 'puts [1431918169].pack i' and it tells you : therefore, pdp_v4l2 is trying to tell you that it doesn't support the YVYU codec of your camera. the strange point is that also with pdp_v4l doesnt render the cam, and the same camera with pd extended 0.41 and ubun2.hardy worked fine :S Was any version of PDP linked with a libv4l component ? did it change ? It's also possible that some drivers change behaviour from one linux version to another. Linux kernel decisions have been pretty careless about the need of applications for pixel conversions to simple standard formats, and that's why libv4l had to be created. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problems with pdp_v4l2
On Thu, 22 Jul 2010, Hans-Christoph Steiner wrote: Seems like pdp_v4l2 should so that little conversion in its error message. YVYU is a lot easier to understand than 1431918169 === --- pdp_v4l2.c (révision 13653) +++ pdp_v4l2.c (copie de travail) @@ -830,7 +830,7 @@ break; default: - post(pdp_v4l2: unsupported color model: %d, x-x_v4l2_format.fmt.pix.pixelformat); + post(pdp_v4l2: unsupported color model: %.4s, (char *)x-x_v4l2_format.fmt.pix.pixelformat); break; } _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] problems with pdp_v4l2
Hi List im playing with pdp_v4l2 opening the webcam via open /dev/video0 -activating the cam's led-,... but doesnt show any output at all (black screen in the pdp viewport) pdp_v4l2: unsupported color model: 1431918169 any suggestions? pltfrm Ubuntu Karmic // Pd version 0.42.5-extended-20100108 salut x! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problems with pdp_v4l2
On Thu, 22 Jul 2010, xà wrote: im playing with pdp_v4l2 opening the webcam via open /dev/video0 -activating the cam's led-,... but doesnt show any output at all (black screen in the pdp viewport) pdp_v4l2: unsupported color model: 1431918169 pltfrm Ubuntu Karmic // Pd version 0.42.5-extended-20100108 use this shell command : perl -e 'print pack i, 1431918169; print \n' or ruby -e 'puts [1431918169].pack i' and it tells you : YVYU therefore, pdp_v4l2 is trying to tell you that it doesn't support the YVYU codec of your camera. (well, I hope I didn't make a mistake in those commands) salut bonne journée _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problems with pdp_v4l2
On Jul 22, 2010, at 1:49 PM, Mathieu Bouchard wrote: On Thu, 22 Jul 2010, xà wrote: im playing with pdp_v4l2 opening the webcam via open /dev/video0 - activating the cam's led-,... but doesnt show any output at all (black screen in the pdp viewport) pdp_v4l2: unsupported color model: 1431918169 pltfrm Ubuntu Karmic // Pd version 0.42.5-extended-20100108 use this shell command : perl -e 'print pack i, 1431918169; print \n' or ruby -e 'puts [1431918169].pack i' and it tells you : YVYU therefore, pdp_v4l2 is trying to tell you that it doesn't support the YVYU codec of your camera. (well, I hope I didn't make a mistake in those commands) salut bonne journée Seems like pdp_v4l2 should so that little conversion in its error message. YVYU is a lot easier to understand than 1431918169 .hc A cellphone to me is just an opportunity to be irritated wherever you are. - Linus Torvalds ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problems with pdp_v4l2
2010/7/22 Mathieu Bouchard ma...@artengine.ca: On Thu, 22 Jul 2010, xà wrote: im playing with pdp_v4l2 opening the webcam via open /dev/video0 -activating the cam's led-,... but doesnt show any output at all (black screen in the pdp viewport) pdp_v4l2: unsupported color model: 1431918169 pltfrm Ubuntu Karmic // Pd version 0.42.5-extended-20100108 use this shell command : perl -e 'print pack i, 1431918169; print \n' or ruby -e 'puts [1431918169].pack i' and it tells you : YVYU Tried Mathieu and is YVYU therefore, pdp_v4l2 is trying to tell you that it doesn't support the YVYU codec of your camera. the strange point is that also with pdp_v4l doesnt render the cam, and the same camera with pd extended 0.41 and ubun2.hardy worked fine :S thanx anyway salut x! (well, I hope I didn't make a mistake in those commands) salut bonne journée _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 -- dAAX! http://noconventions.mobi/x! tAZ http://noconventions.mobi/nvisible.taz/ HTDj! http://hackthedj.wordpress.com/ GDT http://noconventions.mobi/graficantsDtrisseny/ :::..::...:.. : .. .. .:: . ..:.. .. . .. . .:.. ... rm -rf / i ens ho carreguem tot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problems with pdp_v4l2
ola, your camera have surely more formats than this one, so see what format are there when you send an open message to pdp_v4l2 you can then switch formats with [format #number( and reopen the cam.. all of this is in the help file ciao, sevy xà wrote: 2010/7/22 Mathieu Bouchardma...@artengine.ca: On Thu, 22 Jul 2010, xà wrote: im playing with pdp_v4l2 opening the webcam via open /dev/video0 -activating the cam's led-,... but doesnt show any output at all (black screen in the pdp viewport) pdp_v4l2: unsupported color model: 1431918169 pltfrm Ubuntu Karmic // Pd version 0.42.5-extended-20100108 use this shell command : perl -e 'print pack i, 1431918169; print \n' or ruby -e 'puts [1431918169].pack i' and it tells you : YVYU Tried Mathieu and is YVYU therefore, pdp_v4l2 is trying to tell you that it doesn't support the YVYU codec of your camera. the strange point is that also with pdp_v4l doesnt render the cam, and the same camera with pd extended 0.41 and ubun2.hardy worked fine :S thanx anyway salut x! (well, I hope I didn't make a mistake in those commands) salut bonne journée _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list