2012-09-28 32 views
0

我的要求是將IPCamera RTSP流流式傳輸到RTMP流。我已經使用livemedia 555 + VLC + Red5 + Xuggler安裝了一個應用程序。我在本地成功使用vlc作爲sdp文件多數據流。現在問題出現在red5 + xuggler側使用Xuggler和red5的RTSP到RTMP - 無法在Container.cpp中打開流出

我正在使用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: [email protected][] 
[INFO] [Thread-3] net.arulraj.ipcam.Application - Parameters Rejected: [email protected][] 
[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
  • Red5的讀取SDP文件作爲輸入
  • 現在我在寫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

回答

2

我是那篇文章的作者... 8)。
我不得不使用SVN的Red5修訂版3894。 Red5的下一個版本不適合我。