SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 165 | Next

Richard Wagner

"Professional iPhone and iPod touch Programming: Building Applications for Mobile Safari"

264 (Baseline Profile Level 3.0),
QuickTime, and MPEG-4 Part 2 (simple profile), and video files with the following extensions
(.mov, .mp4, .m4v, and .3gp). However, in order to optimize the movie for Wi-Fi and EDGE networks,
you should use videos encoded with the H.264 codec. H.264 is an open standard that is strong in
providing high-quality video and audio in as small a file size as possible. However, because H.264 is not
the native format for most video editing software, you will need to export or convert the media file for
this codec.
(continued)
Chapter 6: Advanced Programming Topics: Canvas and Video
147
Deciding on Video Size and Bit Rate
Two critical factors that you need to decide upon when exporting videos for playback on iPhone or iPod
touch are resolution (video size) and bit rate. When you play video, the native resolution of the iPhone
and iPod touch screen is 480 ?— 320 pixels in landscape mode. However, as Table 6-2 shows, the device is
actually able to handle video resolutions up to 640 ?— 480, converting the higher resolution to a suitable
output resolution for playback on the device.
Figure 6-15: Plot dynamic graphs using PlotKit.
Table 6-2: iPhone and iPod touch Video Support
Type Maximum Size and Bit Rate
Output on iPhone and iPod touch display 480 ?— 320
H.


Pages:
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177