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 ?
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.
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 ?