
5.11 H264 35
5.11 H264
5.11.1 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:
• ISO - International Organization for Standardization
• ISO/IEC 14496-10: Advanced Video Coding
• ITU - International Telecommunication Union
• ITU-T Rec. H.264: Recommendation H.264
5.11.2 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:
• FE2_H264_PROFILE set to BASE_H264PROFILE
• Resolution <= 640x480. iPhone native is 480x320, 480x360 is recommended for 4:3 content
See also:
FE2_MUXER_MP4
Apple Developer Connection video creation guide (registration required)
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.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji