| Summary: | Yahoo webcam stream is almost completely grey (bad contrast/brightness). | ||
|---|---|---|---|
| Product: | [Unmaintained] kopete | Reporter: | Jesse Litton <kde.org> |
| Component: | Yahoo Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jesse Litton
2006-05-12 23:59:43 UTC
There are several discussions on the web describing this problem even on webcam connections with the official Yahoo Messenger on both ends (e.g. http://www.wackyb.com/zzub/lofiversion/index.php/t8225.html ). So i assume that's a Yahoo Messenger problem and not a kopete one. If anybody knows better, please let me know. I'm willing to entertain the possibility that it's a client side bug in Yahoo's own messenger. But, if so, why does sending from Gyache always work? I'll do some testing between two copies of kopete running on separate systems and report back with the results. You're right. I had a look at the sourcecode of Gyach and after adopting their jasper options it works now on my test setup. Commit will follow soon. SVN commit 541921 by duffeck:
Fix strange grey images shown by the official Yahoo Messenger.
BUG: 127223
M +2 -1 yahoowebcam.cpp
--- branches/kopete/0.12/kopete/protocols/yahoo/yahoowebcam.cpp #541920:541921
@@ -99,8 +99,9 @@
KProcess p;
p << "jasper";
- p << "--input" << origImg->name() << "--output" << convertedImg->name() << "--output-format" << "jpc" << "-O" << "rate=0.02" ;
+ p << "--input" << origImg->name() << "--output" << convertedImg->name() << "--output-format" << "jpc" << "-O" <<"cblkwidth=64\ncblkheight=64\nnumrlvls=4\nrate=0.0165\nprcheight=128\nprcwidth=2048\nmode=real";
+
p.start( KProcess::Block );
if( p.exitStatus() != 0 )
{
That's great news! Thanks for your effort and quick response, Andre! The fix worked... sort of. It got rid of the grey, but revealed another (possibly related?) problem: I went into the configure menu, adjust my cam settings, closed the config dialog, re-open it, and verified that the setting were still there and everything looked good. No problem so far... However, when I next try to open a yahoo conversation, both the preview window and the receiving window show super high brightness/contrast - as if the yahoo plugin is not initializing them with the values from the configuration dialog. Even more - I tried turning auto-brightness/contrast on before-hand and it seems to have no effect on the preview or stream. I can go to the configuration dialog and adjust the values while I have a stream going. If I do, the preview and reception window will then show the correct vid. But, the next time I start a test session (without the configuration dialog up), the exact same thing happens (window starts out ultra-bright/contrast). This wouldn't be so much of a problem, but there seems to be a second bug: If you start a stream, then adjust the video with the configuration dialog (fixing the stream), then *close* the *configuration* dialog, the sending stream (and preview window) continues streaming only the last frame captured before you hit the close button. Re-opening the configuration dialog seems to get the stream going again, but kopete seems to run dog-slow if you keep both a cam stream and the configuration dialog open at the same time. Closing the configuration dialog, again seems to stop it from capturing frames. It seems as if the configuration dialog is sending a command to V4L to quit capturing frames when you close it - regardless of the capture state when you opened the configuration dialog. If that's the case, it shouldn't be too hard to save the initial state and restore it at close, yes? Thanks again for your time, -J since those are different bugs, I believe you're supposed to file separate bug reports for them :) please do so & re-close this one. Consider it done. |