Actually, the video seems to play only the buffer amount and then pauses
to reload the buffer. Any ideas why this may be happening?
I assume you're talking about RTMP streaming and you encoded your dynamic streams correctly:
- constant keyframe interval
- synchronized keyframes
- known constant bitrate
Did you set the buffer time to 2x the keyframe interval?
Have you tried using your streams in StrobeMediaPlayback, to play with the buffer length?
Thanks for your response. Yes. I am talking about RTMP streaming and I
encoded them correctly: constant keyframe interval, synchronized keyframes,
The keyframe interval was 15 frames ( and I am running tests for different
intervals). I am not sure what 2x the frame rate means in your question: 2x
15 frames would be 1 second (30 frames), I am assuming, but these encodings
are at 29.97 fps. I have also tried 30 seconds of buffering. I still get the
same results: the movie plays only for the duration of the buffer time and
then stops to re-buffer.
I have been looking through StrobeMediaPlayback, but don't see where I can
play with the buffer length and optimizations. Is this in one of the
The usual buffer for DS should be ~2.5x the keyframe interval, in order to not lead to a bad switching experience. On the other hand, if you have very frequent keyframes, you could chose a larger value to prevent network interruptions effects.
Sorry for not providing a link to SMP. You could download and set it up your webserver (even local) from:
...or use directly the setup page on our install at:
You can chose different values for buffertime and you can use the debug page to inspect different internal parameters (it's easier to use by using the button on the bottom o fthe setup page).
Can you try to see if you encounter the same behavior?
Thank you for your response.
If my keyframe interval is 15, then the buffer time at 2.5 times that would
be 1.25, is this correct? (15 x 2.5 / 29.97).
Also, do you know if there is a way to integrate the SMP swf into Flex? I
have successfully integrated OSMF into Flex, and someone posted an example
of integrating strobe into AIR, so it seems like it should be possible, but
I have made many attempts with smp, all unsuccessfully, so I just wondered
if there is an inherent difficulty that I am unaware of. I am interested in
the optimization routines of SMP.
Once again, thank you for your response.
This is correct, but I suggest raising it to 5s to take into account other possible network problems (it should not have a significant impact on the switching time).
Regarding the flex question, you should follow the same approach as for the AIR application.
Thank you Silviu,
I am getting the same results: it plays the buffer, then stops to refill the
bufffer, then plays that amount. It is as though the system is not filling
the buffer while playing. Can you imagine a setting somewhere that would
produce that particular result?
I think I will start over and built it back up, bit by bit. Something is
obviously wrong somewhere: a needle in the haystack.
Thanks again for your notes.