Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-18-2010, 07:50 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Pajolo is on a distinguished road
Smile Process and Stream Video from Iphone to Computer

Hi guys,
I'm working on a project to:
- capture a video stream from the iPhone camera
- process it to change the colours
- display it on the screen of the iphone
- compress it and send it to a computer

Before I go out and buy all the hardware I wanted to know if this is possible using XCode, gcc-iphone on a 2.0 firmware or if it is overall impossible.
I know that the bluetooth module is rendered virtually useless.
Can I use wifi? Or can I plug in a cable to the iPhone and use that?

Any help whatsoever will be much appreciated
Thanks
Pajolo
Pajolo is offline   Reply With Quote
Old 03-18-2010, 08:27 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Tasmania, Australia
Posts: 195
Son of a Beach is on a distinguished road
Default

WiFi is the only supported means of networking with the iPhone, and your options for transferring data to/from the phone are limited.

The simplest way is to use the built in email module to send an email with an attachment. This is very quick and easy to implement.

Other options include setting up an HTTP server on the iPhone, which is rather complicated, but there's a few open source solutions out there for doing so.

PS. The email solution can be done as simply as the following example:
Code:
-(IBAction)emailSomething
{
	if ( ! [MFMailComposeViewController canSendMail] )
		return;

	MFMailComposeViewController *mailController = [[MFMailComposeViewController alloc] init];
	mailController.mailComposeDelegate = self;
	
	[mailController setSubject:@"Subject"];
	
	[mailController addAttachmentData:routeData
				mimeType:@"application/some-type"
				fileName:@"filename.typ"];
	
	[mailController setMessageBody:@"Body" isHTML:NO];
	[self presentModalViewController:mailController animated:YES];
	[mailController release];
}

Last edited by Son of a Beach; 03-23-2010 at 10:37 PM.
Son of a Beach is offline   Reply With Quote
Old 03-23-2010, 10:31 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 2
Pajolo is on a distinguished road
Default

Thanks a mil for your help.
So do you think streaming is possible at all?
If not perhaps I can opt for another phone...
Any suggestions?
Thanks
Paul

Quote:
Originally Posted by Son of a Beach View Post
WiFi is the only supported means of networking with the iPhone, and your options for transferring data to/from the phone are limited.

The simplest way is to use the built in email module to send an email with an attachment. This is very quick and easy to implement.

Other options include setting up an HTTP server on the iPhone, which is rather complicated, but there's a few open source solutions out there for doing so.

PS. The email solution can be done as simply as the following example:
Code:
-(IBAction)emailSomething
{
	MFMailComposeViewController *mailController = [[MFMailComposeViewController alloc] init];
	mailController.mailComposeDelegate = self;
	
	[mailController setSubject:@"Subject"];
	
	[mailController addAttachmentData:routeData
				mimeType:@"application/some-type"
				fileName:@"filename.typ"];
	
	[mailController setMessageBody:@"Body" isHTML:NO];
	[self presentModalViewController:mailController animated:YES];
	[mailController release];
}
Pajolo is offline   Reply With Quote
Old 03-23-2010, 10:38 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2009
Location: Tasmania, Australia
Posts: 195
Son of a Beach is on a distinguished road
Default

oops, I forgot to include the following in my sample code above (I've edited the original code to update in there too):

Code:
	if ( ! [MFMailComposeViewController canSendMail] )
		return;
Sorry, I don't know anything about the actual streaming.
Son of a Beach is offline   Reply With Quote
Old 04-21-2011, 03:58 PM   #5 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 7
eldar134 is on a distinguished road
Default

Quote:
Originally Posted by Son of a Beach View Post
WiFi is the only supported means of networking with the iPhone, and your options for transferring data to/from the phone are limited.

The simplest way is to use the built in email module to send an email with an attachment. This is very quick and easy to implement.

Other options include setting up an HTTP server on the iPhone, which is rather complicated, but there's a few open source solutions out there for doing so.
Could you please, which open source solutions are they?
I could not find any sample for streaming video(iPhone Camera) from iPhone to any other device.
eldar134 is offline   Reply With Quote
Reply

Bookmarks

Tags
processing, serial communication, streaming, video, wifi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 349
11 members and 338 guests
akacaj, c2matrix, cgokey, esoteric, givensur, HemiMG, Mirotion22, mjnafjke, Pudding, SLIC, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,651
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Mirotion22
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0