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!
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
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-20100108use 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
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: %.4s", (char *)x->x_v4l2_format.fmt.pix.pixelformat); break; }
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
2010/7/22 Mathieu Bouchard matju@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
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 Bouchardmatju@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
On Thu, 22 Jul 2010, xà wrote:
2010/7/22 Mathieu Bouchard matju@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