tommek

I just push the buttons….

Archive for the ‘iPad’ Category

M3U8 Validator Tool

leave a comment »

Recently I worked on a iPad video application setting up the video streaming solution for it. Videos had to be viewable over 3G and EDGE connections, so this meant that we had to use Apple Segmented HTTP Live Streaming . The app had VOD’s with durations ranging from 2mins, 10mins and 60mins. If you understand how “Segmented HTTP Streams” works then you understand that the amount of files that are created just for one VOD is quite large.

i.e  60mins VOD with 5 bitrates would be around 1800 files (*.ts / *.m3u8).

One issue I had was validating and debug the VOD’s when they where on the production environment. The mediastreamvalidator tools supplied by apple works well but can handle token/cookie authentication which was I had implemented for security. Also the tool only works on a mac.

So I decided to to create a AIR app with the ability to connect to the CDN by FTP that way bypassing the token/cookie auth and allowing the app to validate the m3u8 VODs.

Download from here

Features
parse a index multi-bitrate M3U8 file and a single bitrate M3U8 file.
– It will validate that all *.ts segments files referenced in the M3U8 files exist and the VOD is not missing any files which make the clip
– It will validate that all the M3U8 files are of correct format and contain data.

Does Not
– calculate ts file bitrate  and average segment bitrate
– validate segment encryption

Note: When implementing Apple HTTP Live Streaming using the mediastreamvalidator to validate your VODs is the best way. This app is just designed to validate that all the *.ts files referenced in the *.m3u8 files exist.

Written by tomkaurin

January 31, 2011 at 6:47 pm

How-to: Install Flash on your jailbroken iPad (for real)

leave a comment »

source: http://www.engadget.com/2010/07/07/how-to-install-flash-on-your-jailbroken-ipad-for-real/

We just saw Flash 10.1 ported to the iPad demonstrated in video form by Comex, and now you can get in on the action too, as long as your iPad is jailbroken. It’s called Frash, and while the plugin is still pretty early and doesn’t do video playback yet, you can definitely play games and other animations right now, and we’re told video support is forthcoming. Okay, so let’s try this out, shall we? It’s not point-and-click simple, but it’s not that hard, either. Full instructions after the break.

0. Make sure your iPad is jailbroken. It’s pretty easy — just run Spirit and you’re done.
1. Download Frash.deb and keep it nearby. [Update: We’ve been advised against hosting this ourselves, but it’s not hard to find out there.]
2. Decide how you’re going to get files onto your iPad. For Mac users, it’s dead simple — just install Netatalk, which will automatically pop up your iPad in the Finder’s Sharing list. Windows users can try out this guide at iClarified to get OpenSSH installed and running and use WinSCP — it’s just as easy. Either way, the login is “root” and the password is “alpine.” Remember, you can seriously screw things up while you’re in there, so be careful!
3. Once you’ve got access to the iPad’s filesystem, navigate to /var/root/Media as shown here:

4. Once there, open Media and create a folder called “Cydia.”
5. Open the new Cydia folder and create another new folder called “AutoInstall”
6. Upload Frash to your new folder.
7. Restart your iPad a couple times.
8. You’re set! Now just navigate to a page in Safari with non-video Flash content and hit the F logo to play it. Again, no video for now, but games and other simple content works. We did have a few crashes here and there, but it’s early code, and things are bound to get better.

So there you have it — Flash on the iPad (sans fluid video playback for now, of course). Try it out and let us know how it goes — if you’re having trouble, our tipster suggests using SBSettings or the respring app to restart the Springboard, but we didn’t have too many problems without it. Just remember, you’re doing this at your own risk, and you might well end up bricking your iPad and blowing up the universe with this stuff. If you’re not feeling brave enough to muck around, here it is on video:

Written by tomkaurin

July 8, 2010 at 11:44 am

Posted in Flash, iPad

Flash 10.1 ported to iPad???

leave a comment »

Written by tomkaurin

July 5, 2010 at 2:30 pm

Posted in Flex, iPad, Uncategorized

%d bloggers like this: