我的要求是将 IPCamera RTSP 流传输到 RTMP 流。我已经使用 livemedia 555 + VLC + Red5 + Xuggler 设置了一个应用程序。我在本地成功地使用 vlc 作为 sdp 文件进行多流处理。现在问题出在red5 + xuggler方面
我正在使用steamStream red5 应用程序进行重新调整。错误如下
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - SsPlaybackSecurity isPlaybackAllowed() called. name is: guest
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - streamSubscriberStart() called... stream: 2d5fd53d-ab1d-46b2-ac23-a60d9e9c7d8e
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - streamPlaylistItemPlay() called... stream: 2d5fd53d-ab1d-46b2-ac23-a60d9e9c7d8e | item: guest | isLive?: Yes
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - Stream subscriber count is zero; starting a new ReStreamer. Stream: guest
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - ReStreamer constructor called.
[INFO] [NioProcessor-1] net.arulraj.ipcam.Application - Client connecting; incrementing stream count for stream 'guest' from 0 to 1.
[INFO] [Thread-3] net.arulraj.ipcam.Application - ReStreamer thread starting. ID: 38
[DEBUG] [Thread-3] net.arulraj.ipcam.Application - ReStreamer: About to register output stream with provider service: guest
[DEBUG] [Thread-3] net.arulraj.ipcam.Application - ReStreamer: Successfully registered and started output stream: guest
[INFO] [Thread-3] net.arulraj.ipcam.Application - Publishing stream from input: /opt/red5-0.9.1/webapps/IPcameraStreamer/sdpdescriptors/guest.sdp
[DEBUG] [Thread-3] net.arulraj.ipcam.Application - Publishing stream to output: redfive:guest
[DEBUG] [Thread-3] net.arulraj.ipcam.Application - Got packet with key frame data; setting up coders: guest
[ERROR] [Thread-3] com.xuggle.xuggler - URL: redfive:guest; Error: could not open file (../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:513)
[INFO] [Thread-3] net.arulraj.ipcam.Application - Parameters: com.xuggle.xuggler.IMetaData@739036864[]
[INFO] [Thread-3] net.arulraj.ipcam.Application - Parameters Rejected: com.xuggle.xuggler.IMetaData@738595792[]
[ERROR] [Thread-3] net.arulraj.ipcam.Application - Exception occurred during restreaming: java.lang.RuntimeException: Could not open output container at URL: redfive:guest
[INFO] [Thread-3] net.arulraj.ipcam.Application - ReStreamer thread exiting. ID: 38
- 本地多重流是使用 vlc 服务器完成的
- 使用 vlc 创建的 sdp 文件
- Red5 读取 sdp 文件作为输入
- 现在我在将 sdp 输入写入 rtmp 输出时遇到了错误。
Container.cpp文件第 513 行错误。
我在用
- CentOS 6 x86_64 操作系统
- Java 1.6
- Xuggler 5.4
- 红色5-0.9.1