| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Ad-hoc IP Camera

Page history last edited by Will 12 years, 11 months ago

Ad-Hoc IP Camera

 

For this project you will need:

1x - BeagleTouch 

2x - BeagleBoard C4

1x - PS3 Eye Camera

2x - WiFi adapters

1x - USB Hub

1x - USB-mini cable

1x - USB FTDI with Null modem

 

Server -

 

Install:     

     1. Make sure you are connected to the internet.

 

     2. Download and install ffmpeg:

$ opkg install ffmpeg 

 

Set up Ad-hoc:

  1. Open /etc/network/interfaces with vi and paste:
auto wlan0

iface wlan0 inet static

        wireless_mode ad-hoc

        wireless-essid liquidware-adhoc

        wireless-channel 4

        wireless-key 1234567890

        address 192.168.0.3

        netmask 255.255.255.0

        gateway 192.168.0.1

 

Configure:

    1. Create file /etc/ffserver.conf with vi and paste:

 

 

Run:

     1. Start up ad-hoc:

$ ifdown wlan0

$ ifup wlan0 

 

     2. Start ffserver:

$ ffserver 

 

     3. Start streaming:

$ ffmpeg -r 15 -s 320x240 -f video4linux2 -i /dev/video0 http://127.0.0.1/feed1.ffm 

 

 

Client -

 

Set up Ad-hoc:

  1. Open /etc/network/interfaces with vi and paste: (Make sure to comment out any other instances of wlan0!)
auto wlan0

iface wlan0 inet static

        wireless_mode ad-hoc

        wireless-essid liquidware-adhoc

        wireless-channel 4

        wireless-key 1234567890

        address 192.168.0.3

        netmask 255.255.255.0

        gateway 192.168.0.1

 

     2. Start up ad-hoc:

$ ifdown wlan0

$ ifup wlan0 

 

Run:

     3. View stream:

$ mplayer -fs http://SERVER_IP/test.asf 

 

 

 

 

 

 

 

 

Comments (0)

You don't have permission to comment on this page.