Skip to main content
Inspiring
Aug 5, 2011 12:37 AM UTC
Question

NetStream.receiveVideoFPS() requirements?

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 is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participant
    Nov 7, 2012 12:51 AM UTC

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

    Translate
    Inspiring
    Nov 7, 2012 12:54 AM UTC

    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.

    Translate
    Participating Frequently
    Apr 9, 2013 11:14 AM UTC

    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?

    Translate