H264
[Video Codecs]

Defines

#define FE2_CODEC_H264
 Codec name for use with Flix2_AddCodec().
#define FE2_H264_BITRATE
 Alias for FE2_CODECPARAM_BITRATE.
#define FE2_H264_KFINTTYPE
 Alias for FE2_VCODECPARAM_KFINTTYPE.
#define FE2_H264_KFFREQ
 Alias for FE2_VCODECPARAM_KFFREQ.
#define FE2_H264_RC_MODE
 Alias for FE2_VCODECPARAM_RC_MODE.
#define FE2_H264_PROFILE
 Codec parameter for encoding profile.
#define FE2_H264_B_FRAME_RATE
 Codec parameter for B frame rate.
#define FE2_H264_SPEED
 Controls frame analysis, affecting encoder speed and inversely output quality.

Typedefs

typedef enum h264profile h264profile_t
 Valid profiles for use with the FE2_H264_PROFILE parameter.

Enumerations

enum  h264profile {
  BASE_H264PROFILE,
  MAIN_H264PROFILE,
  HIGH_H264PROFILE
}
 

Valid profiles for use with the FE2_H264_PROFILE parameter.

More...

Detailed Description

The H264 video codec.

Example Usage:

   sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_H264);
   // Use 450kbit
   if(sc == ON2_OK)
       sc = Flix2_CodecSetParam(codec, FE2_H264_BITRATE, 450.0);
Attention:
Both width and height MUST be multiples of 4 for codec setup to succeed
Additional References:

Apple device support

As of version 8.0.10.1 preliminary support for the iPhone has been added.
The following settings are required to enable video playback:


Define Documentation

#define FE2_CODEC_H264

Codec name for use with Flix2_AddCodec().

Attention:
Both width and height MUST be multiples of 4

Definition at line 57 of file h264.h.

#define FE2_H264_B_FRAME_RATE

Codec parameter for B frame rate.

Specifies number of B frames between I/P and next P frame.

Note:
Default: 0

Definition at line 102 of file h264.h.

#define FE2_H264_BITRATE

Alias for FE2_CODECPARAM_BITRATE.

Codec parameter for stream bitrate. Compressed stream bitrate in kbits/sec.

Note:
Default: 448

Definition at line 63 of file h264.h.

#define FE2_H264_KFFREQ

Alias for FE2_VCODECPARAM_KFFREQ.

Video codec parameter for keyframe frequency. Value is in video frames. The interpretation depends on the setting of FE2_VCODECPARAM_KFINTTYPE

See also:
FE2_VideoKeyframeTypes

Note:
Default: $12.0 \times fps$ or 360 frames if the framerate is unknown

Definition at line 77 of file h264.h.

#define FE2_H264_KFINTTYPE

Alias for FE2_VCODECPARAM_KFINTTYPE.

Video codec parameter for the keyframe interval type. Valid values are defined by FE2_VideoKeyframeTypes.

Note:
Default: MAX_KEYFRAMES
Attention:
Only MAX_KEYFRAMES is supported at this time

Definition at line 70 of file h264.h.

#define FE2_H264_PROFILE

Codec parameter for encoding profile.

Note:
Valid values are defined by h264profile_t
Default: MAIN_H264PROFILE

Definition at line 89 of file h264.h.

#define FE2_H264_RC_MODE

Alias for FE2_VCODECPARAM_RC_MODE.

Note:
Default: VBR_1PASSControl
Attention:
Only VBR_1PASSControl or CBR_1PASSControl are supported at this time

Definition at line 84 of file h264.h.

#define FE2_H264_SPEED

Controls frame analysis, affecting encoder speed and inversely output quality.

Lower values will will produce faster overall encode times, with the potential for quality loss, depending on the input material. A value of 1 provides a good balance between speed and quality, 2 or above will begin to perceptibly lengthen the encode.

Note:
Default: Valid Range: [0,5]

Definition at line 116 of file h264.h.


Typedef Documentation

typedef enum h264profile h264profile_t

Valid profiles for use with the FE2_H264_PROFILE parameter.


Enumeration Type Documentation

Valid profiles for use with the FE2_H264_PROFILE parameter.

Enumerator:
BASE_H264PROFILE 
MAIN_H264PROFILE 
HIGH_H264PROFILE 

Definition at line 92 of file h264.h.


On2 Technologies, Inc Flix Engine Windows documentation, generated on Tue Nov 2 15:38:07 2010 by doxygen 1.6.1