Results 1 to 6 of 6

Thread: HLS from live camera

  1. #1
    Join Date
    Oct 2011
    Posts
    7

    Wink HLS from live camera

    I am streaming from a camera, live, transcoded to H.264, and sent via RTMP to Wowza. RTSP seems to work just fine, but HLS has a significant delay. The stream is live and will not be rewound, I would like to try and minimize the delay. I tried to change the duration to one second

    <Name>cupertinoChunkDurationTarget</Name>
    	<Value>1000</Value>
    This resulted in unreliable video and streaming on the client would occasionally abort. Is there any way I can reduce how long HLS needs to buffer before it begins to stream? Thanks!

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Changes to cupertinoChunkDuration have to done in conjunction with key frame frequency, as described in the note in the cupertino settings article:
    http://www.wowza.com/forums/content....arameters-(iOS)

    It is a high latency type of streaming. These settings and key frame frequency can help, but might take some experimenting.

    Richard

  3. #3
    Join Date
    Oct 2011
    Posts
    7

    Default

    One thing I found strange is that even when I change the cupertinoChunkDurationTarget, it still gives me ten second chunks. Wowza doesn't seem to care if I set it to 1000 ms, I still get 10kms. Is this a limitation of the software?

  4. #4
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    If you set it chunkDurationTarget to 1000 but key frame frequency is 10 seconds, chunk size will still be 10 seconds. Change key frame frequency to 1 second. Because Wowza has to start a chunk on key frame. There is a note in the article.

    Richard

  5. #5
    Join Date
    Oct 2011
    Posts
    7

    Default

    I'm using ffmpeg for the transcoding and had set the GoP to 15, which I thought would give me 500ms/key frame, but I was still getting 10s. I'll do more research. Perhaps ffmpeg is not generating the output I am expecting.

  6. #6
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Use -r and -g. Theses ffmpeg examples
    http://www.wowza.com/forums/content....ideo-on-Demand

    Use "-r 24" and "-g 48" for a 2 second key frame frequency.

    Richard

Similar Threads

  1. Axis IP Camera -> Wowza 4.1 -> HLS -> JW Player..... Buffering......
    By mactheintern in forum Live Streaming and Encoders
    Replies: 6
    Last Post: 09-30-2014, 09:59 AM
  2. What IP camera should I use in order to publish audio back to the camera
    By mwallace in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 06-03-2014, 09:34 AM
  3. Live Streaming from IP Camera to HLS protocol
    By wellingtoncruz in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 01-02-2014, 10:05 AM
  4. how to start publishing of a live camera stream (rtp-live) from iphone/ipad?
    By bingo_jake in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 08-06-2012, 12:06 PM
  5. Video Chat Multiple Camera Not Streaming For Second Camera
    By emreVeriyaz in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 06-01-2012, 02:39 AM

Posting Permissions

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