Results 1 to 2 of 2

Thread: How can I setup my iphone to be a wireless webcamera (wifi)

  1. #1
    Join Date
    Dec 2012
    Beans
    1

    How can I setup my iphone to be a wireless webcamera (wifi)

    Does anyone know a way to use the video camera on my iphone 4s as a wireless webcam? Tried tinkering with iwebcamera but it really did not work out well with Ubuntu 12.04.1 LTS.

  2. #2
    Join Date
    Feb 2011
    Location
    Germany
    Beans
    28
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How can I setup my iphone to be a wireless webcamera (wifi)

    Hi there,

    I had the same problem. But I figured it out.
    First, read this post: http://www.kudanai.com/2010/11/howto...webcam-in.html

    Install all dependencies:
    Code:
    sudo apt-get install build-essential libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libtool autoconf mercurial gstreamer-tools git
    Then install v4l2loopback from the native repositories:
    Code:
    sudo apt-get install v4l2loopback-dkms
    Load the module:
    Code:
    sudo modprobe v4l2loopback
    Get the gstreamer sink:
    Code:
    git clone http://github.com/umlaeute/gst-v4l2loopback.git
    cd gst-v4l2loopback && ./autogen.sh
    make && sudo make install
    To get the stream working start the app (iWebcamera) on the iPhone and run the following command (you'll probably have to change wildcards/ip-address):
    Code:
    gst-launch souphttpsrc location=http://192.168.???.??:8080/strm ! jpegdec ! ffmpegcolorspace ! v4l2loopback device=/dev/video0
    Each time the computer is restarted you have to reload the module and each time the app is restarted you have to launch above command as well.

    I've written two little scripts which you can place in your ~/bin folder to start the stream and the application in question directly from commandline.
    Make them executable:
    Code:
    mv skype.txt runskype && chmod +x runskype
    mv runvlc.txt runvlc && chmod +x runvlc
    Have fun
    taidoka

    NB. I'm not running maverick any more but LM 13 (Precise Pangolin).
    Attached Files Attached Files
    Last edited by taidoka; May 12th, 2013 at 01:55 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •