[jitsi-users] Unreliable webcam access


#1

Hi,

I am using Jitsi version 2.3.20131229 (build from AUR) on a x86_46 Manjaro
Linux. Unfortunately, I am also experiencing the problem that I get a black
screen instead of a video from the webcam most of the time. Only a few times
Jitsi successfully displayed the webcam picture. This affects webcam preview as
well as video calls. Jitsi didn't display any suspicious debug messages or log
entries (see jitsi0.log.1 in the appendix) out of the box. When launching
Jitsi with LD_PRELOAD set to the path of v4l2compat.so there is an error
message (see jitsi0.log.0). Do you have any suggestions what could be the
cause of this problem?
In hope that it will be helpful, I also put the output of the v4l2-compliance
tool into the appendix (see v4l2.txt).

In my opinion, Jitsi is becoming a great alternative to Skype! So if I can
somehow help you, please let me know. :slight_smile: I wish you all the best for year
2014!

Regards,
Martin

jitsi0.log.0 (29.9 KB)

jitsi0.log.1 (20.9 KB)

v4l2.txt (2.57 KB)


#2

Hi,

I believe I might have the same (or a very similar) issue with my
webcam. I can reliably reproduce the problem by going to: Options ->
Video -> Tab: Devices. Then open up (click) the combobox "Camera:".

Now if I use the arrow keys to select 'No Device' (video disappears, as
expected) then move back to the camera (video reappears, as expected)
then if I press 'ENTER', to select the device, I get a solid black box
and an exception in the background that is very similar, the last part
(w.r.t. video4linux2) is exactly the same.
The next time I select the device it works again.

Do you have the same behavior?

My first impression was that the device can't handle simultaneous access
or something.
Anyways, I may be able to help debugging, so I'll keep an eye on the thread.

Danny

···

On Thu 02 Jan 2014 10:21:26 PM CET, Martin Byrenheid wrote:

Hi,

I am using Jitsi version 2.3.20131229 (build from AUR) on a x86_46
Manjaro
Linux. Unfortunately, I am also experiencing the problem that I get a
black
screen instead of a video from the webcam most of the time. Only a few
times
Jitsi successfully displayed the webcam picture. This affects webcam
preview as
well as video calls. Jitsi didn't display any suspicious debug
messages or log
entries (see jitsi0.log.1 in the appendix) out of the box. When launching
Jitsi with LD_PRELOAD set to the path of v4l2compat.so there is an error
message (see jitsi0.log.0). Do you have any suggestions what could be the
cause of this problem?
In hope that it will be helpful, I also put the output of the
v4l2-compliance
tool into the appendix (see v4l2.txt).

In my opinion, Jitsi is becoming a great alternative to Skype! So if I
can
somehow help you, please let me know. :slight_smile: I wish you all the best for
year
2014!

Regards,
Martin

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Hi Danny,

Now if I use the arrow keys to select 'No Device' (video disappears, as
expected) then move back to the camera (video reappears, as expected)
then if I press 'ENTER', to select the device, I get a solid black box
and an exception in the background that is very similar, the last part
(w.r.t. video4linux2) is exactly the same.

Sadly, after selecting the webcam again via clicking with the mouse I also get
a black box. Curiously, only when selecting the webcam via keyboard and
pressing ENTER, jitsi additionally displays the same exception as sent in the
appendix of my last message (this time without any LD_PRELOAD):

23:27:34.140 Schwerwiegend: [39]
org.jitsi.impl.neomedia.MediaServiceImpl.error() Failed to create video
preview
java.io.IOException: ioctl: request= VIDIOC_S_FMT, size= 640x480, pixelformat=
1196444237
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFdFormat(Video4Linux2Stream.java:727)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFdFormat(Video4Linux2Stream.java:686)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.Video4Linux2Stream.setFd(Video4Linux2Stream.java:595)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.video4linux2.DataSource.doConnect(DataSource.java:127)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice$1.doConnect(AbstractPullBufferCaptureDevice.java:62)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractBufferCaptureDevice.connect(AbstractBufferCaptureDevice.java:124)
        at
org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice.connect(AbstractPullBufferCaptureDevice.java:152)
        at javax.media.Manager.createDataSource(Manager.java:384)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.getVideoPreviewComponent(MediaServiceImpl.java:1045)
[...]

Selecting "No Device" again and switching back to webcam does not help.

Regards,
Martin