Home » Tips & Tools

iPhone Video Out

47 Comments

Q: How can I get the output of my iPhone’s screen into a DVR for recording into a screencast?

A: Sure, you can go ahead and jail break your iPhone but that would be too risky and it voids the phone’s warranty. Besides, anyone can jailbreak an iPhone, download Cydia and have fun with the included apps…but to us that is B-O-R-I-N-G!

What we did – and what you can do instead:

A small disclaimer before we get started:

Modifications performed by a non-authorized agent of the equipment manufacturer may void your warranty. General modifications are presented on this site for academic interest only.

Specific details were only given to the listener who asked this question after agreeing to not hold us responsible if anything went wrong. Those details are not listed here for the same reasons. We just want to show it is possible to get video out without jailbreaking your iPhone!

Since the iPhone is now just under $100 we purchased 2 to experiment on using two different techniques.

On iPhone #1 – We tinkered around with 2.2 SDK to access the hidden video-out feature (as ArsTechnica also discovered) and we have to say the results turned out pretty decent.  It only works in landscape mode, and rendering to TV resolutions strains the processor and slows frame rates down on all but it works!

A class called MPTVOutWindow will display whatever it contains via the video output dock connector.

It’s really just that easy, though there are a couple of caveats:

1. Apps that use this won’t be allowed into the App Store because it uses a couple of private APIs. But since you’re already an iPhone application developer, creating a private build for your own use is normal.

2. It doesn’t copy parts of the screen that belong to OpenGL.

Cables

Use the the same cable you’d use to watch videos from your iPhone on a TV using the dock connector. Apple’s sells them for $50; going off-brand drops the price to as low $15.

Headphone-jack video cables from older iPods do not work.

http://www.youtubemp4.com/video/qwQPNSt-CF0.mp4

Usage

Add the file UIApplication+TVOut.m to your project and add the “MediaPlayer.framework” framework, which contains references to the private API we’re using.

Your code will need to start the TV output by calling [[UIApplication] sharedApplication] startTVOut]; anytime afteryour app’s primary window has been created, call startTVOut.

On iPhone #2 - We simply separated the screen display cables from the board and replaced them with extended RCA video cables out to the video inputs of a DVR.

1. Open up the iPhone by unscrewing the two small screws on the bottom

2. Remove 3 cables in sequence to separate the screen display from the board

3. Attach two cables to the board where the screen cables were once connected. This will be your video and audio out. (black cable =video, red = audio) You may have to solder RCA plugs on the ends.

4. There are additional steps to make this all happen but again, we’re not getting into any details. This is our end result hidden within the iPhone’s packaging – this keeps the phone cooled, charged and always attached to a DVR for recording purposes.

47 Comments »

  • LozerClub said:

    can u do this on windows xp?

  • CorruptionReviews said:

    Jailbreak never works for me… ._.

  • yokyyoky1 said:

    your moms probably mad cuz your on porno man

  • ThePCTricks said:

    SIT STILL FFS.

  • JohnWinsted said:

    What’s the source?? When I search it doesn’t show up.

  • at0m87 said:

    nice video =)

  • MrDrGoldenBoyJrSr said:

    ur the man

  • grmmripper said:

    This is so cool thanks so much man!

  • cykokoko said:

    thanx man it really helped

  • Jeanseb23 said:

    ok, i have a 3g (MC model) and i jailbroken it, it might be tethered, but i have brightness to lowest setting and i recharge it during night, so always works. I used Blackra1n. Tethered: When you open your ipod touch, you need to run blackra1n again (from computer).

  • PcFlashGamer said:

    To do the multipule windows just use wax its an editor that has it.

  • pokeplant said:

    @MrSicksinister its Apple Mac OS X

  • Linoone97 said:

    go on itunes and plug up your device then restore it

  • yoohoomsn said:

    he was watching too much porno in his room so his mom pimp slapped him

  • iEatGarbage said:

    If you have iPod Touch 3rd gen, then you can’t jailbreak.
    Don’t trick the jailbreaking software into thinking you have 2nd gen, because you’d just ruin your iPod Touch.

  • IKillForFun4Ever said:

    Hi! I have problems with showing videos on my iPod… It happend after I jailbraked it. Anyone have a solution???

  • OneShotBeats said:

    when i click on my ipod it says Safari can’t find the server

  • OneShotBeats said:

    Thanks dude

  • admin (author) said:

    Some soldering was done, yes. But keep in mind that specific details were only given to the listener who asked this question after agreeing to not hold us responsible if anything went wrong. Those details are not listed here for the same reasons. We just want to show it is possible to get video out without jailbreaking your iPhone!

  • Sebastian said:

    You said: “On iPhone #2 – We simply separated the screen display cables from the board and replaced them with extended RCA video cables out to the video inputs of a DVR.”

    …sorry I don’t get it!!! Really the lcd itself takes a simple composite video signal??! Onto which pin did you get the signal? Please post a crisp picture!!! ..or maybe I got it wrong, so that you just soldered the red cable to the dock connector…?

  • Dahlheim said:

    where did you get your background? it’s amazing

  • 1Spike455 said:

    really?

  • 1Spike455 said:

    do the same shit with vista

  • ohmylordster said:

    You can use hypercam. Its a really good screen capture. Allows you to pick part of the screen to record. :P

  • MrSicksinister said:

    how to u get it on vista?

  • 5605miguel said:

    thx

  • nafoonthebaboon said:

    i would love a program that does the same thing but saves the video to your ipod (or iphone) and isnt laggy. if there is an app like that reply with the name

  • dasli said:

    Thanks…
    you helped me…

  • darth2499 said:

    mine says can’t find server

  • TheRealSuperSonic125 said:

    thanks,it works but is very laggy :P

  • varun1418 said:

    can u record game play with this program?

  • TheGodofNerds said:

    u can choose the area in screen flow after u make the video

  • ab2502 said:

    it says safari cant find the server? please help

  • SnazzyitouchHacker98 said:

    do you need a computer

  • RandomMac5 said:

    yes, i think you can do this on pc

  • shushbob said:

    OMG IT WORKS!!! THANK YOU!!!

  • sulaiti96 said:

    Thanks man it worked =D 5/5

  • IMAHOBO2 said:

    what do u do if u use a PC??????????????????????

  • anthony129921 said:

    use sceen recorder gold
    you can choose any area you want

  • anthony129921 said:

    use sceen recorder gold
    you can choose any area you want

  • Quebec4323 said:

    where do you have take your mac background….Good vid…5/5…..

  • mrpoet123456789 said:

    i got the same question lol

  • iTouchAnswerz said:

    Anyone know if this works with 3.0?

  • RicePwnzer said:

    u can, just install safari

  • goodwill295 said:

    So, you can’t do this on a PC right?

  • HalolVideos said:

    why should you keep in mind that its for jailbroken ipods only? if its not jailbroken this vid is useless… so why keep in mind?

    anyways thanks for the video.

  • nintendoforever1995 said:

    mines too.

Comments or additional questions?
Leave your response here

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

The dvshow.com is Gravatar-enabled. To put a face to your comments, get your own globally-recognized-avatar at Gravatar.