Skip to main content
Inspiring
August 5, 2011
Question

NetStream.receiveVideoFPS() requirements?

  • August 5, 2011
  • 1 reply
  • 1375 views

Is there a set of compression factors in H.264 video that is necessary for VOD files to utilize the NetStream.receiveVideoFPS() client-side call to change the frame rate on the fly? I'd like to reduce playback to half (30 fps to 15fps), but I've tested a range of H.264 MP4 files as well as older Spark and VP6 files on FMS 4 without any change in frame rate on playback after calling the method. Any suggestions would be appreciated. Thanks!

-Robert

    This topic has been closed for replies.

    1 reply

    Participant
    November 7, 2012

    Has anyone figured this out? RecieveVideoFPS just doesn't seem to have any effect.

    Inspiring
    November 7, 2012

    NetStream.receiveFPS() will only work on Spark/H.263 streams, not on newer H.264 streams. Something regarding the structure of I and P frames in Spark compression is easier for FMS to drop frames/alter frame rate than the more complicated GoP sequences in H.264 video. It may not even be supported on the newer releases of FMS. I pretty much gave up on this approach to help manage low bandwidth situations.

    Participating Frequently
    April 9, 2013

    Robert, if the above is so, and it seems we'll never be able to manage the fps via that function call, did you come up w/ another solution ?

    My issue is I have multiple cameras from users and some are on mobile devices, so I want the mobile users to receive a different quality feed.

    Is that possible using some other method I'm unawaare of?