Hi,
I'm sorry but your email wasn't very clear, but I'll try to answer from
what I understood.
Answers are embedded in your original email
On Fri, 25 Nov 2005 16:21:41 -0500, Mounir AITTAHAR <[EMAIL PROTECTED]>
wrote:
Good evening,
Please forgive me if I'm not writing to the right persons.
it's ok, but you should use the [EMAIL PROTECTED] mailing list next
time.
I've tryed to add to aMSN support of webcam wich are managed
by pwc module like my Quickcam Pro and others. You know, this module
(without proprietary patch pwcx) manage only low resolution. Therefore,
on aMSN,
it doesn't work (horrible green screen). I'm also asking about allowing
user to set up **webcam resolution*.*
what is the problem you're having with the pwc driver ? the pwc driver
shouldn't accept a high resolution and therefore the resolution used by
amsn will be the low resolution, you don't need to modify anything.
I've seen it wasn't an easy work, because I've the feeling this data is
not set in one point and
in the same way for all webcam related code : msncam.tcl, camshot.tcl
plugin and test.tcl. I'm reading webcamsn.tcl in order to find it's
purpose...
There is only one place you have to modify in the code to force it to use
a certain resolution (I'm talking here for linux users only) :
msncam.tcl -> line 1698 (from latest CVS)
the {::Capture::Grab $grabber $img} should become {::Capture::Grab
$grabber $img LOW} or {::Capture::Grab $grabber $img HIGH}
My questions are also :
1) Why it is not the same way and set up in only one point ? :)
I don't understand this question but I'll try to answer the best I can :
The camshot is a plugin, it doesn't interfere with webcam functionality,
and test.tcl is not used at all it is only for testing the extension works
(execute it as if it was an application itself)
also it's not set up in one point in msncam.tcl because you have code for
linux, for windows and for mac, also, you have to open the webcam in low
or high resolution but also create the codec encoder in low or high
resolution. Also, there is a decoder and an encoder for the codec, which
makes it a lot of different places, but still for the same thing, and we
have no choice.
2) Can webcam sessions be sized as wanted on MSN Messenger, or high
resolution is forced by the protocol ?
no, the codec used by microsoft doesn't allow this, but you can choose
either a LOW or a HIGH resolution (160x120 or 320x240)
3) Do you plan to add the resolution setup as a feature ?
Yes, it is planned to be added, but it's not possible to change this for
the moment
3) Is there a documentation for developper ? I don't know Tcl/Tk very
well, I need some help :)
There is documentation, but not for what you're looking for I think,
tcl/tk is simple enough as a language, you can look at http://tcl.tk and
go to the tcl and tk commands manual page to understand how it works. Once
you understand tcl/tk, you can just read the code and figure it out all
alone. For the C capture extension, there are enough comments through the
code to understand how it works.
Friendly,
--
KaKaRoTo
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel