Results 1 to 8 of 8

Thread: RTMP FLV streaming from FFMPEG to Wowza with low frame rate

  1. #1
    Join Date
    Dec 2011
    Posts
    7

    Default RTMP FLV streaming from FFMPEG to Wowza with low frame rate

    Hello All,

    I am trying to send a stream from FFMPEG to WOWZA with very low fps( 3 frames per second). The Wowza is able to receive the stream correctly but the problem is when I try to play the stream, the out put is not consistent. It is taking very long time to play the stream (I tried with live stream play application) and then some times it is playing faster and some times it get freeze. I checked at both FFMPEG end and Wowza end to see if it is a network issue(I am streaming in LAN), but Wowza able to receive the stream in correct Interval (I printed PTS and DTS at Wowza).
    Then I recorded the stream into an FLV and played it in VLC and it worked well.

    If I change the fps from 3 to 15 then the live playing is working fine.

    I am not quite sure what is the issue. Can any one have Idea about this problem ?

    Thanks In Advance

  2. #2

    Default

    Hello,

    You could post your ffmpeg command so others can take a look at it.

    Have you set your keyframe interval accordingly? For a keyframe interval of 2-4 seconds at 3fps you need to set it between 6-12 frames per keyframe.

  3. #3
    Join Date
    Jan 2011
    Posts
    4

    Default

    Thanks for the quick reply.

    Actually I am not using direct FFMPEG command line but using static library on iOS. I am also not using x264. I am using iOS h264 encoder api and feeding the encoded frames into FFMPEG.
    I set the key frames interval as 1 which means every frame is a key frame.

  4. #4

    Default

    That means a keyframe every .3 seconds, but the recommended is every 2-4 seconds.

  5. #5
    Join Date
    Jan 2011
    Posts
    4

    Default

    Tried with key frame 10 but no luck

  6. #6

    Default

    Try with a multiple of your fps. So: 6, 9 12.

  7. #7
    Join Date
    Jan 2011
    Posts
    4

    Default

    I just tried with RTSP play from VLC and it worked. It seems Input RTMP -> WOWZA -> Out put RTMP with low FPS is not working but Input RTMP -> WOWZA -> Out put RTSP is working fine.
    But we really need RTMP output to be work. any thoughts ?

  8. #8

    Default

    Ok - we solved the delay in the RTMP h.264 stream in the flash player by setting the bufferTime of the NetStream to zero

    _ns.bufferTime = 0.1

Similar Threads

  1. Replies: 3
    Last Post: 12-05-2013, 05:32 PM
  2. Replies: 1
    Last Post: 02-13-2012, 03:48 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
  •