Results 1 to 3 of 3

Thread: Stream not healthy - RTSP streaming bunny video with VLC

  1. Default Stream not healthy - RTSP streaming bunny video with VLC

    Hi,

    I have opened the bunny example video from VLC and I am trying to re-stream it with Wowza. What I do is start broadcasting it with VLC, with this settings:

    :sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=rtp{sdp=rtsp://:8554/bunny},dst=display} :sout-all :sout-keep
    Also tried adding mux=ts to the rtp{} part.

    I can open it from an other VLC instance and watch the movie. Then I created an application, and set it up based on the articles (rtp), add the stream file (rtsp://localhost:8554/bunny), connect to the stream successfully, etc.

    Then I try to open it from the FLASH test player and it's only black. Says successfully published stream, but nothing gets played. This is what I see in the logs:

    INFO stream publish bunny.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2096477826:childcare/_definst_:bunny.stream]: done: 6
    INFO server comment - MediaCasterStreamValidator.getMonitor[childcare/_definst_] create:bunny.stream
    INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[childcare/_definst_] Stream not healthy [stream startup timeout]: mp4:bunny.stream
    INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[childcare/_definst_] Reset stream [mediaCaster]: mp4:bunny.stream
    INFO server comment - RTPMediaCaster.resetConnection[2096477826:childcare/_definst_:bunny.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[2096477826:childcare/_definst_:bunny.stream]
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    INFO server comment - RTPSessionTracker.remove[rtsp://localhost:8554/bunny]: 0:true
    INFO stream unpublish bunny.stream -
    INFO stream destroy bunny.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2096477826:childcare/_definst_:bunny.stream]: start: 7
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: rtsp://localhost[127.0.0.1]:8554/bunny
    INFO server comment - RTPSessionTracker.add[rtsp://localhost:8554/bunny]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:null sessionTimeout:0
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[childcare/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish bunny.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2096477826:childcare/_definst_:bunny.stream]: done: 7
    INFO server comment - MediaCasterStreamValidator.getMonitor[childcare/_definst_] create:bunny.stream
    INFO server comment - MediaCasterStreamValidator.onValidateMediaCaster[childcare/_definst_] Stream not healthy [stream startup timeout]: mp4:bunny.stream
    INFO server comment - MediaCasterStreamValidator.onValidateMediaCastersStop[childcare/_definst_] Reset stream [mediaCaster]: mp4:bunny.stream
    INFO server comment - RTPMediaCaster.resetConnection[2096477826:childcare/_definst_:bunny.stream]:
    INFO server comment - RTPMediaCaster.closeRTPSession[2096477826:childcare/_definst_:bunny.stream]
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    INFO stream unpublish bunny.stream -
    INFO stream destroy bunny.stream -
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    INFO server comment - RTPSessionTracker.remove[rtsp://localhost:8554/bunny]: 0:true
    INFO server comment - RTPMediaCaster.Reconnector[2096477826:childcare/_definst_:bunny.stream]: start: 8
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: rtsp://localhost[127.0.0.1]:8554/bunny
    INFO server comment - RTPSessionTracker.add[rtsp://localhost:8554/bunny]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:null sessionTimeout:0
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[childcare/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish bunny.stream -
    Can you tell me what's this stream not healthy thing?

    I have seen this very old thread, http://www.wowza.com/forums/showthre...om-VLC-problem but this is not serious support, saying "you may have more success with that", and not explaining based on the specs and docs why this would not work and why that would work. And finally the thread ends without any resolution.

    Thanks,
    wtb

  2. #2

    Default

    Hi,

    It appears from the output there are a couple of things going on here

    - Your encoder is sending to port 8544, but Wowza Streaming Engine is not listening on the this port, it will not by default.

    - You have configured Wowza to connect to port 8554 and attempt to pull in the stream using a TCP connection, based on the command line I dont think this correct

    I would do the following

    - Use the following tutorial to set up the VLC command line, I assume you have seen this, but if you go back to this setup

    How-to-use-VLC-as-a-live-stream-encoder-with-Wowza-Media-Server-(MPEG-TS)

    - In your bunny.stream file enter

    udp://0.0.0.0:10000


    If you then start Wowza and the stream it should connect and make the stream available.

    Andrew.

  3. Default

    Hi Andrew,

    thanks for helping me. Looks like I don't fully understand the conception.

    So if VLC has the "rtsp://:8554/bunny" setting, that means VLC listens on that port for RTSP commands, right? So why do you say that "Wowza Streaming Engine is not listening on the this port" ? Isn't Wowza the client in this case making the RTSP primitive calls to VLC?

    I see that on the thread you refer to there is an other setup, but what I actually was trying to achieve is trying to simulate an IP webcam. With Wowza the current way to connect to that webcam is creating a stream file and entering an url that follows this "rtsp://userass:ip.ip.ip.iport" pattern. So I am trying to force VLC to act in a way that the IP webcam does.

    Regards,
    wtb

Similar Threads

  1. multicast stream and "Stream not healthy [stream startup timeout]"
    By romain.a in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 09-08-2015, 08:23 AM
  2. Stream Video playing in VLC Media to Xsplit via RTSP
    By ipengineer78 in forum General Forum
    Replies: 0
    Last Post: 04-12-2013, 11:52 AM
  3. RTSP stream works in VLC but not HLC in VLC
    By craigvansant in forum Live Streaming and Encoder Discussion
    Replies: 10
    Last Post: 01-11-2013, 04:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •