Tring to user a webcam acessed with v4l2 driver in the studio, we get an error with unknown or unsupported format: 1448695129. The jvm hangs after this error.
# ./fmjstudio-linux-x86.sh
INFO: javax.media.Manager version: FMJ 20070928-0938
INFO: FMJStudio preferences document version 0.1
opened v4l2 device
Found HP Webcam card with uvcvideo v4l2 driver
discover_inputs()
Found sources: 1
0 - Camera (2)
unknown or unsupported format: 1448695129
WARNING: com.lti.civil.CaptureException: unknown or unsupported format: 1448695129
com.lti.civil.CaptureException: unknown or unsupported format: 1448695129
at com.lti.civil.impl.jni.NativeCaptureSystem.openCaptureDeviceStream(Native Method)
at net.sf.fmj.media.protocol.civil.DataSource.connect(DataSource.java:100)
at javax.media.Manager.createPlayer(Manager.java:102)
at net.sf.fmj.ui.application.ContainerPlayer.createNewPlayer(ContainerPlayer.java:357)
at net.sf.fmj.ui.application.ContainerPlayer.setMediaLocation(ContainerPlayer.java:218)
at net.sf.fmj.ui.application.PlayerPanel.onLoadButtonClick(PlayerPanel.java:174)
at net.sf.fmj.ui.application.PlayerPanel.access$100(PlayerPanel.java:50)
at net.sf.fmj.ui.application.PlayerPanel$1.itemStateChanged(PlayerPanel.java:133)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1162)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1219)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1266)
at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:551)
at net.sf.fmj.ui.application.PlayerPanel.addMediaLocatorAndLoad(PlayerPanel.java:83)
at net.sf.fmj.ui.application.PlayerPanel.onOpenCaptureDevice(PlayerPanel.java:454)
at net.sf.fmj.ui.application.PlayerPanel$5.actionPerformed(PlayerPanel.java:440)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
WARNING: java.io.IOException: com.lti.civil.CaptureException: unknown or unsupported format: 1448695129
java.io.IOException: com.lti.civil.CaptureException: unknown or unsupported format: 1448695129
at net.sf.fmj.media.protocol.civil.DataSource.connect(DataSource.java:111)
at javax.media.Manager.createPlayer(Manager.java:102)
at net.sf.fmj.ui.application.ContainerPlayer.createNewPlayer(ContainerPlayer.java:357)
at net.sf.fmj.ui.application.ContainerPlayer.setMediaLocation(ContainerPlayer.java:218)
at net.sf.fmj.ui.application.PlayerPanel.onLoadButtonClick(PlayerPanel.java:174)
at net.sf.fmj.ui.application.PlayerPanel.access$100(PlayerPanel.java:50)
at net.sf.fmj.ui.application.PlayerPanel$1.itemStateChanged(PlayerPanel.java:133)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1162)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1219)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1266)
at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:551)
at net.sf.fmj.ui.application.PlayerPanel.addMediaLocatorAndLoad(PlayerPanel.java:83)
at net.sf.fmj.ui.application.PlayerPanel.onOpenCaptureDevice(PlayerPanel.java:454)
at net.sf.fmj.ui.application.PlayerPanel$5.actionPerformed(PlayerPanel.java:440)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb7ebf564, pid=2158, tid=2366573456
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_13-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x66564]
#
# An error report file with more information is saved as hs_err_pid2158.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
./fmjstudio-linux-x86.sh: line 1: 2158 Aborted java -classpath fmj.jar:lib/jdom.jar:lib/lti-civil-no_s_w_t.jar:lib/jl1.0.jar:lib/tritonus_share.jar:lib/mp3spi1.9.4.jar:lib/jorbis-0.0.15.jar:lib/jogg-0.0.7.jar:lib/vorbisspi1.0.2.jar:lib/jspeex.jar:lib/gstreamer-java.jar:lib/jna.jar:lib/ffmpeg-java.jar:lib/theora-java.jar:lib/jheora-patch.jar -Djava.library.path="native/linux-x86" net.sf.fmj.ui.FmjStudio
Operating System: openSUE 10.3 x86
Hardware: HP Pavillion dv6000 (Model dv6500)
WebCam: Integrated USB webcam that comes with the laptop. Camere works on ekiga using the vl42 driver
Java: Sun J2SE 1.5.0_13
Also testes with Sun Java SE 6 Update 3, same problem
Also, sometimes we het another error with:glibc detected *** java: double free or corruption
# ./fmjstudio-linux-x86.sh
INFO: javax.media.Manager version: FMJ 20070928-0938
INFO: FMJStudio preferences document version 0.1
opened v4l2 device
Found HP Webcam card with uvcvideo v4l2 driver
discover_inputs()
Found sources: 1
0 - Camera (2)
unknown or unsupported format: 1448695129
*** glibc detected *** java: double free or corruption (!prev): 0x082a51c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ea24b6]
/lib/libc.so.6(cfree+0x89)[0xb7ea4179]
/usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so[0x62e5e80]
/home/bantunes/tmp/fmj/native/linux-x86/libcivil.so(_ZN7JNIEnv_18ReleaseStringCharsEP8_jstringPKt+0x1f)[0x8f4e3a5f]
/home/bantunes/tmp/fmj/native/linux-x86/libcivil.so(Java_com_lti_civil_impl_jni_NativeCaptureSystem_openCaptureDeviceStream+0x12e)[0x8f4e2c74]
[0xb4d2ab7b]
regards,
--
Bruno Antunes
Hi I am too having the same problem . The camera works well in XP professional but not in Debian based Moblin system