Skip to main content
Participant
September 30, 2007
Question

Keyframes on FLV file

  • September 30, 2007
  • 1 reply
  • 440 views
Hello.
I can record my webcam and generate an FLV file on the server. But, depending on my bandwidth, the resulting FLV has more or less keyframes.
I need my FLV to have at least 2 keyframes every 1 second.
I need the keyframes IN the FLV file, not while streaming, because I need the FLV to be downloaded via HTTP.

Is there a way to force the number of keyframes to be generated when recording? regardless of those keyframes the client is sending, thus regardless bandwidth?
Alternatively. Is there a way to generate keyframes after saving the file?

I tried changing this value on the Application.xml file: [KeyFrameInterval]500[/KeyFrameInterval]. Then I restarted the server. But I didn't seem to work. Actually I'm not sure if I need to place this Aplication.xml inside my application folder or not.

Thanks in advance,
JulianG
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    October 1, 2007
    Keyframe interval must be setted with camera.setKeyframeInterval method. Further more, use only setQuality(Q,0) or setQuality(0,B) because setQuality(Q,B) tends to change the interval on the fly depending by you bandwidth.

    Fabio Sonnati
    http://flashvideo.progettosinergia.com