How to generate Apple Recommended HTTP Live Streaming Files for Apple iPhone
To generate proper iPhone HTTP live streaming profiles in encoding.com, see the below xml. These settings should be used whenever the user wishes to publish the apple recommended profiles, based on this document:
http://developer.apple.com/iphone/library/technotes/tn2010/tn2224.html
<format>
<output>iphone_stream</output>
<destination>******</destination>
<size>400x300</size>
<bitrate>1024k</bitrate>
<audio_bitrate>40k</audio_bitrate>
<audio_sample_rate>44100</audio_sample_rate>
<audio_channels_number>2</audio_channels_number>
<framerate>29.97</framerate>
<keep_aspect_ratio>yes</keep_aspect_ratio>
<video_codec>libx264</video_codec>
<profile>iphone_stream</profile>
<VCodecParameters>no</VCodecParameters>
<audio_codec>libmp3lame</audio_codec>
<two_pass>no</two_pass>
<turbo>no</turbo>
<cbr>no</cbr>
<deinterlacing>no</deinterlacing>
<keyframe>90</keyframe>
<audio_volume>100</audio_volume>
<rotate>0</rotate>
<file_extension>tar</file_extension>
<bitrates>600k,400k,200k,110k</bitrates>
<pack_files>yes</pack_files>
<force_bitrate>no</force_bitrate>
<segment_duration>10</segment_duration>
<add_audio_only>yes</add_audio_only>
<still_image>each_segment</still_image>
<still_image_time>4</still_image_time>
<still_image_size>480x320</still_image_size>
</format>
Note certain settings, which are important to meet the encoding chart from the technical note: size, framerate, audio bitrate, audio sample rate, keyframe, bitrates and still image size. These recommendations should give good results, and get working iphone streaming delivered on time, with excellent results.











