tommek

I just push the buttons….

Archive for the ‘Flex’ 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

Getting Started Flex / AIR & Android

leave a comment »

If you have been thinking of porting your flex app to run on Android or have a idea for a mobile application which you want to develop in flex. Then to get started follow the links below.

First download Adobe Flash Builder “Burrito”: (This is the new Flash Builder which now has supports for mobile application projects)

Seconds download a sample app from “Christophe Coenraets“: (Use this app to learn about the new view structure etc and preview a working Flex / AIR app on your phone/emulator)

Written by tomkaurin

December 12, 2010 at 7:48 pm

Posted in AIR, Android, Flex

Flex SDK Reman List.

leave a comment »

Have you ever been following some ones helpful tutorial and found that the reference to an attribute or component doesn’t exist because your using a new version of the SDK.

Well I came across this page on Adobe Open Source:

http://opensource.adobe.com/wiki/display/flexsdk/Rename+List

Written by tomkaurin

July 6, 2010 at 7:42 pm

Posted in Flex

Flash 10.1 ported to iPad???

leave a comment »

Written by tomkaurin

July 5, 2010 at 2:30 pm

Posted in Flex, iPad, Uncategorized

Learning Spring ActionScript

leave a comment »

I recently started to look into “Spring ActionScript” and have come across a very helpful three part tutorial by Christophe Coenraets. These tutorials walk you through how it works and how to integrate it into your flex apps.

  1. The “Spring ActionScript” Framework – Part 1: The Basics
  2. The “Spring ActionScript” Framework – Part 2: Autowiring
  3. The Spring ActionScript Framework — Part 3: Injecting Services (and Mock Services)

For more info and to download spring actionscript go to: http://www.springactionscript.org/

Written by tomkaurin

July 2, 2010 at 3:35 pm

%d bloggers like this: