从命令行启动red5pro服务器时出现java.nio.file.InvalidPathException

时间:2018-10-21 15:15:33

标签: java red5pro

我正在玩red5pro。我在Windows 10上安装了服务器。已经在PC上安装了Java 8和Visual Studio。

在命令提示符下启动服务器时,出现以下错误,同时也无法在“订户”选项卡中的localhost上看到已发布的流。

java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/software/red5pro-server-5.2.2.b278-release/lib/red5pro-cauldron-5.2.3-dist.jar
        at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
        at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
        at java.nio.file.Paths.get(Paths.java:84)
        at com.red5pro.media.transform.codec.LibraryLoader.extractShared(LibraryLoader.java:198)
        at com.red5pro.media.transform.codec.LibraryLoader.loadLibrary(LibraryLoader.java:77)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.b(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.doStartProPlugin(Unknown Source)
        at com.red5pro.activation.b.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[WARN] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Exception testing: AVCEncoder
java.lang.UnsatisfiedLinkError: com.red5pro.media.transform.codec.AVCEncoder.open(IIIII)J
        at com.red5pro.media.transform.codec.AVCEncoder.open(Native Method)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.b(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.doStartProPlugin(Unknown Source)
        at com.red5pro.activation.b.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Decoder check completed: com.red5pro.webrtc.codec.AVCifCauldron
[INFO] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Decoder check completed: com.red5pro.webrtc.codec.AACifCauldron
[INFO] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Decoder check completed: com.red5pro.webrtc.codec.MP3ifCauldron
[WARN] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Exception testing: com.red5pro.jmfext.codec.video.h264.CauldronH264Encoder
java.lang.UnsatisfiedLinkError: com.red5pro.media.transform.codec.OpenH264Encoder.open(IIIII)J
        at com.red5pro.media.transform.codec.OpenH264Encoder.open(Native Method)
        at com.red5pro.jmfext.codec.video.h264.CauldronH264Encoder.open(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.b(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.doStartProPlugin(Unknown Source)
        at com.red5pro.activation.b.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [pool-12-thread-2] com.red5pro.jmfext.codec.audio.opus.CauldronOpusEncoder - Settings - bandwidth: auto bitrate: 64000 DTX: false FEC: false
[WARN] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Exception testing: com.red5pro.jmfext.codec.audio.opus.CauldronOpusEncoder
java.lang.UnsatisfiedLinkError: com.red5pro.media.transform.codec.NOpusEncoder.open(III)J
        at com.red5pro.media.transform.codec.NOpusEncoder.open(Native Method)
        at com.red5pro.jmfext.codec.audio.opus.CauldronOpusEncoder.doOpen(Unknown Source)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.b(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.doStartProPlugin(Unknown Source)
        at com.red5pro.activation.b.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[WARN] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Exception testing: com.red5pro.jmfext.codec.audio.opus.CauldronOpusDecoder
java.lang.UnsatisfiedLinkError: com.red5pro.media.transform.codec.NOpusDecoder.open(II)J
        at com.red5pro.media.transform.codec.NOpusDecoder.open(Native Method)
        at com.red5pro.jmfext.codec.audio.opus.CauldronOpusDecoder.doOpen(Unknown Source)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.b(Unknown Source)
        at com.red5pro.webrtc.plugin.WebRTCPlugin.doStartProPlugin(Unknown Source)
        at com.red5pro.activation.b.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[INFO] [pool-12-thread-2] com.red5pro.webrtc.plugin.WebRTCPlugin - Codec preflight check completed
[WARN] [pool-12-thread-2] com.red5pro.crypto.CryptoLoader - Exception extracting shared libraries
java.nio.file.InvalidPathException: Illegal char <:> at index 2: 

在订阅页面上播放流时,后端出现以下错误

[ERROR] [QuePush@video:3090656589] com.red5pro.jmfext.renderer.rtmp.RTMPVideoRenderer - Exception in video render
java.lang.UnsatisfiedLinkError: com.red5pro.media.Cauldron.avcodec_alloc_frame()J
        at com.red5pro.media.Cauldron.avcodec_alloc_frame(Native Method)
        at org.jitsi.impl.neomedia.codec.video.AVFrame.<init>(Unknown Source)
        at org.jitsi.impl.neomedia.codec.video.vp8.VPXDecoder.makeAVFrame(Unknown Source)
        at org.jitsi.impl.neomedia.codec.video.vp8.VPXDecoder.doProcess(Unknown Source)
        at com.red5pro.jmfext.renderer.rtmp.RTMPVideoRenderer.process(Unknown Source)
        at com.red5pro.jmfext.media.protocol.rtmp.RTMPVideoOutputDevice.onReceive(Unknown Source)
        at org.jitsi.impl.neomedia.VideoMediaStreamImpl.processPacket(Unknown Source)
        at org.jitsi.impl.neomedia.VideoMediaStreamImpl$2.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

我不确定我到底缺少什么,现在在网上搜索了四个多小时,仍然没有任何线索。

0 个答案:

没有答案