What it is:
A static library for outputing video from an iPhone or iPod Touch application to a Television (Or anything with component video).
Why:
I watched a growing number of developers complaining that they can't capture video from the simulator because their apps used the accelomoter. This solves that issue.
Also as a consultant I often demo Apps to large groups of people and it is naturally easier to gather around a TV screen or projector then an iPhone screen.
Cost:
DFVideoOut is completely free of charge and may be used without restriction or limitation.
Whats With the Alert:
The alert message that appears when you begin video out is present for a couple of reasons. Mainly it is so the App Reviewers at Apple notice it and reject your App. DFVideoOut uses private APIs never meant to be in a shipping App but are very handy for presenting video.
NEVER Attempt to ship an App with DFVideoOut included, it WILL be rejected.
Cables:
DFVideoOut was tested with Apple's Component AV Cable.
If you find any other cables work without issues let me know so I can add them to this list.
How to Use:
I am a huge fan of easy to use software both for developers and for users. Hopefully this is as simple as it can get. Builds will only work on the device as building video output against the simulator is kind of pointless.
Include the files libDFVideoOut.a and DFVideoOut.h in your project. (Download latest version [0.0.2])
Include the MediaPlayer.framework in your project.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
#import "DFVideoOut.h"
//start video out
DFVideoOut *videoOutTestObject = [[DFVideoOut alloc] init];
[videoOutTestObject startVideoOut];
//rotate Interface Orientation (Optional will start in portrait)
[videoOutTestObject changeOrientation:interfaceOrientation];
[videoOutTestObject release];
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
Special Thanks to Erica Sadun for first uncovering the APIs used as well as Ars Technica for their previous work and coverage of this technology.
Kyle Richter
Dragon Forged Software
Comments/Suggestions/Bugs/Hate Mail? : Contact Me
In Progress:
• Visual touch feedback
• UILabel overlays/Scrolling Text
Change Log:
0.0.2
• Real time adjusted frames per second using videoOutTestObject.framesPerSecond = [NSNumber numberWithFloat: 20];
• Real time scaling using videoOutTestObject.scaleBy = [NSNumber numberWithFloat: 1.5]; //150%
• Freeze frame [videoOutTestObject freezeFrame]; and [videoOutTestObject resumeFrame];
• Stopping and resuming video feed
• Better resolution support
• Fixed clipping issue with some TVs
• Better frames per second
0.0.1
•Initial Release