|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a Control for specifying the parameters for key frame interval.
Method Summary | |
int |
getKeyFrameInterval()
Returns the current value of the keyFrameInterval. |
int |
getPreferredKeyFrameInterval()
Returns the keyFrameInterval value preferred by the encoder. |
int |
setKeyFrameInterval(int frames)
Set the desired interval between key frames, if such a parameter is relevant to the encoder. |
Methods inherited from interface javax.media.Control |
getControlComponent |
Method Detail |
public int setKeyFrameInterval(int frames)
frames-1
indicates the number of
non-key frames that are encoded between key frames.
This value is
only a hint, and the encoder may choose to override this value if
needed.
frames
- key frame interval. It should be greater than or
equals to 1.
The key frame interval is specified in output frames.
getPreferredKeyFrameInterval
returns the default.
public int getKeyFrameInterval()
public int getPreferredKeyFrameInterval()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |