Google Flix Engine Linux Reference Manual Instrukcja Użytkownika Strona 270

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 545
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 269
264 Flix Engine Linux Module Documentation
5.56.2.17 on2sc video_options_SetKeyframeIntervalType (FLIX2HANDLE flix, const
FE2_VideoKeyframeTypes keyframeIntervalType)
Set the keyframe interval type.
Two keyframe modes are supported, MAX_KEYFRAMES (the default) and FIXED_KEYFRAMES.
These specify that the keyframe interval set using video_options_SetKeyframeInterval() is either the max-
imum interval between keyframes or a fixed interval, respectively. In general, the compression codec does
the best job of deciding when keyframes should be used, so setting the maximum interval is usually more
appropriate.
Parameters:
flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
keyframeIntervalType Keyframe interval type (one of FE2_VideoKeyframeTypes)
Return values:
ON2_OK The keyframe interval was successfully set in the engine.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Note:
The default value is MAX_KEYFRAMES
Deprecated
Use the Codec Interface along with the FE2_VCODECPARAM_KFINTTYPE parameter. This func-
tion will be removed in a future release. See also: Video Codecs.
5.56.2.18 on2sc video_options_SetMaximumBitrate (FLIX2HANDLE flix, const int32_t
lMaximumBitrate)
Set the maximum bitrate target.
Sets the bitrate the compressor will target when encoding the video.
Parameters:
flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
lMaximumBitrate Bitrate target (in Kbps)
Return values:
ON2_OK The target bitrate was successfully set in the engine.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Note:
This bitrate should be a reasonable number with respect to the other video parameters. To determine
if a particular value is reasonable or not, first calculate the number of bits per pixel it represents, given
the bitrate in Kbps, framerate in frames per second, and width and height in pixels, using this equation:
bpp =
bitrate 1024
width height framerate
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Przeglądanie stron 269
1 2 ... 265 266 267 268 269 270 271 272 273 274 275 ... 544 545

Komentarze do niniejszej Instrukcji

Brak uwag