3 ms·
How to encode video for mobile devices (iPhone/iPad, Android, etc.)
- gte910h 16y agoThat's a particularly meaty blog post, for which I (a mobile developer) have used several of the configurations or very close to them when working with things, and he's spot on.
- carson 16y agoThe title of this article is misleading. There is nothing here that says how to encode video for the mobile devices. It only contains information about the video formats that the mobile devices can accept.
- seiji 16y agoIt's a great post. They enumerate a dozen headaches you have to deal with and edge cases you must account for if you want video on mobile devices. Or, you know, you could use our free one-click video transcoding service. We need more "use our service because we save you from doing complicated X, Y, Z yourself" posts.
- chopsueyar 16y agoUseful info. Anyone care to provide the corresponding ffmpeg CLI examples?
- chopsueyar 16y agoAlso, iPads can go up to Baseline 3.1, 1024x768, IIRC.
- carson 16y agoIt can but Apple doesn't recommend that size for "mobile" use. You can see all the Apple recommendations here: http://developer.apple.com/library/ios/technotes/tn2010/images/tn2224_SettingsV2.jpg http://developer.apple.com/library/ios/technotes/tn2010/imag...
- jon_dahl 16y agoGreat link. It's specifically for HTTP Streaming, so you can get away with higher quality for videos downloaded before being watched. But even for regular old HTTP Progressive Download, these guidelines are very useful.
- chopsueyar 16y agoYou made my week with that link. Thank you.
- jfb 16y agoI would be very surprised if all the > 3GS IOS devices couldn't handle Main 3.1 (or even High 3.1). You might be gated by iTunes from putting the bitstream on the device, but the decode hardware is almost certainly capable. FULL DISCLOSURE: I used to work on video at Apple. No inside knowledge was used to make this post.
- chopsueyar 16y agoCare to speculate on the hardware video encoding capabilities of the capable iDevices?
- jfb 16y agoGated by the needs of FaceTime, I would suspect. 720x480 @ 30fps, baseline? H.264 is highly asymmetric, so they're not going to waste silicon on encoding hardware beyond the basics.