Hi guys
this evening I’ve been trying yo get a webcam working in Jitsi but no cam is detected I have 2 cams and both are the same, however they will both work in Cheese and VLC but refuse to work in Jitsi, Hello (the new firefox web based client) or Team Viewer that said Team Viewer will list them but is reporting them as in use by another application, but I have no idea what application that might be, I’m running Peppermint 5 64bit
Any help would be much appreciated
Graeme
With jitsi closed, try running
LD_PRELOAD=/usr/lib/X86_64-linux-gnu/libv4l/v4l1compat.so jitsi
or
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so jitsi
did jitsi start and does the webcam work ?
if that doesn’t work, post the output from:
locate v4l1compat.so
Jitsi opened ok but still no cam
graeme@Linux1 ~ $ LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so jitsi
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
org.osgi.framework.BundleException: Unresolved constraint in bundle net.java.sip.communicator.plugin.propertieseditor [82]: Unable to resolve 82.0: missing requirement [82.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.lang3)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:745)
graeme@Linux1 ~ $ locate v4l1compat.so
/timeshift/snapshots/.sync/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2014-06-24_21-10-24/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-01-09_20-03-36/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-02-26_22-49-39/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-03-08_00-00-04/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-03-15_00-00-03/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-03-20_18-11-39/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/timeshift/snapshots/2015-03-22_00-00-02/localhost/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
graeme@Linux1 ~ $
Thanks
Graeme
Try:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so jitsi
Once again Jitsi opened up but no devices detected here’s the output
graeme@Linux1 ~ $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so jitsi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
org.osgi.framework.BundleException: Unresolved constraint in bundle net.java.sip.communicator.plugin.propertieseditor [82]: Unable to resolve 82.0: missing requirement [82.0] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.lang3)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:745)
Graeme
Is the webcam recognised in Skype … and if so, if you open Skype BEFORE opening Jitsi (both running but Skype first) is the webcan then detected by Jitsi ?
Skype is not detecting the webcam either
Graeme
Does skype recognise it if you start skype with:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so skype
?
Skype is detecting the webcams but not playing anything, Jitsi is still not detecting any devices
graeme
Jitsi is a Java app isn’t it ?
which java RE are you using … openjava or the Oracle Java runtime environment
What’s the output from:
update-alternatives --display java
What happens if you (with Jitsi closed) run cheese … then with Cheese open start Jitsi … then in jitsi go to
Tools > Options > Video > Devices tab
is anything listed in the “Camera” drop menu ?
graeme@Linux1 ~ $ update-alternatives --display java
java - auto mode
link currently points to /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java - priority 1061
slave java.1.gz: /usr/lib/jvm/java-6-openjdk-amd64/jre/man/man1/java.1.gz
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java - priority 1071
slave java.1.gz: /usr/lib/jvm/java-7-openjdk-amd64/jre/man/man1/java.1.gz
Current 'best' version is '/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'.
graeme@Linux1 ~ $
What happens if you (with Jitsi closed) run cheese .. then with Cheese open start Jitsi .. then in jitsi go to
Tools > Options > Video > Devices tab
is anything listed in the “Camera” drop menu ?
Still not listing any devices, I did try this earlier and it’s the same with VLC
Thanks for your patience
Graeme