hello,
Roman Haefeli a écrit :
hi cyrille
thanks a lot for your effort. the object does instantiate without any troubles. first, when i banged it, i got:
VIDIOCPWCRUSER: Invalid argument
then i realized, that the video device must be hardcoded somewhere and is probably hardcoded to /dev/video0. actually my cam is running on /dev/video1. so i changed it in the code and compiled the object myself.
this could easilly be fixed if a clean object was needed.
when banging, i get now:
VIDIOCPWCRUSER: Bad file descriptor
unfortunately, i don't have a clue at all, what this means.
me neither.
did you try it before and after creation ot the pix_video object? did you try with gem rendering on and off?
the idea of having such an object is a genius idea, since it makes the cam usuable for all video externals at the same time without having to change the code of the externals. actually, i didn't know, that it could be done outside of gem, but it seems like that it could.
in fact, i realize that this object would do exactly the same than starting setpwc on a terminal afer pd is starded. did you try using setpwc afer starting pd?
yo, cyrille... i'd understand, if you wouldn't want to investigate this any further, but i would be very glad and would appreciate a lot, if you are still interested.
well, i don't have anymore idea, and i can't test anything. so, i give up, but i'm sur a developer could do it for you quite easilly.
cyrille
roman
On Thu, 2007-09-20 at 00:39 +0200, cyrille henry wrote:
yep, sorry, here it is.
cyrille
Roman Haefeli a écrit :
On Thu, 2007-09-20 at 00:18 +0200, cyrille henry wrote:
hello,
here is a very quick try to make a pd object to control the pwc. i don't have one, so i can't test. but the code is quite simple, i hope it can work.
is your mail supposed to have an attachment?
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de