Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

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
Post edited by Pajolo on

Replies

  • Son of a BeachSon of a Beach Posts: 208Registered Users
    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:

    -(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];
    }
  • PajoloPajolo Posts: 2New Users
    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
    Son of a Beach;184203 said:
    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:

    -(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];
    }
  • Son of a BeachSon of a Beach Posts: 208Registered Users
    oops, I forgot to include the following in my sample code above (I've edited the original code to update in there too):


    if ( ! [MFMailComposeViewController canSendMail] )
    return;


    Sorry, I don't know anything about the actual streaming.
  • eldar134eldar134 Posts: 7New Users
    Son of a Beach;184203 said:
    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.
Sign In or Register to comment.