[jitsi-dev] Re: [jitsi-users] No webcam picture in Jitsi


#1

Hi there,

I'm having the same trouble as mentioned in this thread:
  http://java.net/projects/jitsi/lists/users/archive/2011-06/message/6

I'm running Debian/stable (squeeze) on amd64, which is not dissimilar
to the Debian/wheezy from way back when that post was made.

When I try to activate the webcam in the Tools > Options > Video config
it starts on <no device> but I can select my UVC Camera (.usb id.) (/dev/video0)
from the list. When I do that the "in use" LED on the webcam turns on and
a black rectangle is shown in the config preview window, but no video comes
through, just blackness.

The drop down menu is hidden behind the black rectangle so I can't click on
it to go back to <no device> to turn off the camera, I have to use the arrow
keys instead.

The preview window is never at 640x480, even if I set that in
the "more settings" tab, it always follows the width of the
config window.

The Logitech usb cue-ball webcam works fine from luvcview and in skype.
The built in microphone seems to work fine too if I select it as the "audio
in" device in the jitsi Options > Audio tab.

Here is the output from v4l-info, luvcview -l, and luvcview -L:

http://paste.debian.net/240445/
http://paste.debian.net/240446/
http://paste.debian.net/240447/

I'm using the 2.0.4506.10553 .deb package, but I've had the same trouble
using various nightly .deb builds from the last couple of months.

the log file shows this:

[...]
11:55:10.235 INFO: [10] org.jitsi.impl.neomedia.device.DeviceSystem.info() Initializing audio devices
11:55:10.884 INFO: [10] org.jitsi.impl.neomedia.device.DeviceSystem.info() Initializing video devices
11:55:11.070 INFO: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.info() Looking for configured audio devices.
11:55:11.071 INFO: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.info() Scanning for configured Video Devices.
11:55:11.071 INFO: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.info() Found Desktop Streaming 0 as a AVFRAME, class org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt= -1 vide
o capture device.
11:55:11.074 SEVERE: [10] org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRender
er with JMF.
java.lang.IllegalStateException: pulseAudioSystem
        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:102)
        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:93)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[...]

(but again, the audio seems to respond ok in the level meter if I tap on the mic, so I think that later pulseAudio error is harmless)

any ideas?

thanks,
Hamish