RTSP到RTMP使用Xuggler和red5 - Outstream无法在Container.cpp中打开

时间:2012-09-28 00:14:40

标签: red5 vlc rtmp ip-camera xuggler

我的要求是将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 OS
  • Java 1.6
  • Xuggler 5.4
  • red5-0.9.1

我遵循了本教程http://flance.onego.ru/2010/08/02/238

1 个答案:

答案 0 :(得分:2)

我是那篇文章的作者...... 8) 我不得不使用SVN的Red5版本3894。下一版本的Red5对我不起作用。