[jitsi-dev] [libjitsi] java.net.MalformedURLException: unknown protocol: directshow


#1

Perhaps I sent this mail to the wrong list (users). I resend it to dev. My apologies.

I've a problem running MediaStream#start() on Windows 7-64 (I tried on Ubuntu and it works). I get the following error:

AVVERTENZA: java.net.MalformedURLException: unknown protocol: directshow
java.net.MalformedURLException: unknown protocol: directshow
at java.net.URL.<init>(URL.java:593)
at java.net.URL.<init>(URL.java:483)
at java.net.URL.<init>(URL.java:432)
at javax.media.MediaLocator.getURL(MediaLocator.java:75)
at javax.media.Manager.createDataSource(Manager.java:415)
at org.jitsi.impl.neomedia.device.MediaDeviceImpl.createCaptureDevice(MediaDeviceImpl.java:221)
at org.jitsi.impl.neomedia.device.MediaDeviceImpl.createOutputDataSource(MediaDeviceImpl.java:273)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.createCaptureDevice(MediaDeviceSession.java:423)
at org.jitsi.impl.neomedia.device.VideoMediaDeviceSession.createCaptureDevice(VideoMediaDeviceSession.java:372)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getCaptureDevice(MediaDeviceSession.java:786)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getConnectedCaptureDevice(MediaDeviceSession.java:801)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.createProcessor(MediaDeviceSession.java:521)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getProcessor(MediaDeviceSession.java:1128)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getOutputDataSource(MediaDeviceSession.java:956)
at org.jitsi.impl.neomedia.MediaStreamImpl.createSendStreams(MediaStreamImpl.java:671)
at org.jitsi.impl.neomedia.MediaStreamImpl.startSendStreams(MediaStreamImpl.java:2122)
at org.jitsi.impl.neomedia.MediaStreamImpl.start(MediaStreamImpl.java:1986)
at org.jitsi.impl.neomedia.MediaStreamImpl.start(MediaStreamImpl.java:1949)
at MyApp.runWebcam(SystemForm.java:81)
...

mar 21, 2014 10:59:59 AM org.jitsi.util.Logger error
GRAVE: Failed to create CaptureDevice from CaptureDeviceInfo CyberLink Webcam Splitter : directshow:CyberLink Webcam Splitter
AVFRAME, class org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt 1, deviceSystemPixFmt 0x32595559
AVFRAME, class org.jitsi.impl.neomedia.codec.video.AVFrame, pixFmt 3, deviceSystemPixFmt 0xe436eb7d

javax.media.NoDataSourceException
at javax.media.Manager.createDataSource(Manager.java:419)
at org.jitsi.impl.neomedia.device.MediaDeviceImpl.createCaptureDevice(MediaDeviceImpl.java:221)
at org.jitsi.impl.neomedia.device.MediaDeviceImpl.createOutputDataSource(MediaDeviceImpl.java:273)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.createCaptureDevice(MediaDeviceSession.java:423)
at org.jitsi.impl.neomedia.device.VideoMediaDeviceSession.createCaptureDevice(VideoMediaDeviceSession.java:372)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getCaptureDevice(MediaDeviceSession.java:786)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getConnectedCaptureDevice(MediaDeviceSession.java:801)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.createProcessor(MediaDeviceSession.java:521)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getProcessor(MediaDeviceSession.java:1128)
at org.jitsi.impl.neomedia.device.MediaDeviceSession.getOutputDataSource(MediaDeviceSession.java:956)
at org.jitsi.impl.neomedia.MediaStreamImpl.createSendStreams(MediaStreamImpl.java:671)
at org.jitsi.impl.neomedia.MediaStreamImpl.startSendStreams(MediaStreamImpl.java:2122)
at org.jitsi.impl.neomedia.MediaStreamImpl.start(MediaStreamImpl.java:1986)
at org.jitsi.impl.neomedia.MediaStreamImpl.start(MediaStreamImpl.java:1949)
at MyApp.runWebcam(SystemForm.java:81)
...

LibJitsi 368

Regards, Alfio