Lightweight webcam streaming from ASUS EEE
#1
Posted 05 February 2008 - 12:32 PM
1) add ftp.linux.hr repository as described here:
http://forum.eeeuser...ic.php?id=13623
2) sudo apt-get update
3) sudo apt-get install mjpg-streamer
4) sudo eee-mjpgstreamer
Now you can look the stream using browser and pointing to EEE IP address:
http://your.asus.ip.adr:8080/
For testing you can bring up Firefox on ASUS EEE and enter this URL:
http://localhost:8080/
For me, it's best working as Javascript streaming.so, try that before complaining ;)
BTW2 I managed to get streaming using icecast and gstreamer, but that's bloatware for such small device as ASUS EEE is, You can read about it here:
http://kost.com.hr/b...1&c=1&tb=1&pb=1
#2
Posted 07 February 2008 - 12:12 AM
#3
Posted 07 February 2008 - 02:09 AM
sweet
#4
Posted 07 February 2008 - 08:55 AM
it looks like the command is a short hand to 'mjpgstreamer' with working parameter for the eee. How can I use same command but occupying another port than 8080?
#5
Posted 07 February 2008 - 01:08 PM
Quote
it looks like the command is a short hand to 'mjpgstreamer' with working parameter for the eee. How can I use same command but occupying another port than 8080?
.... -o "output_http.so -w /usr/lib/mjpg-streamer/www/"
to
.... -o "output_http.so -p 8090 -w /usr/lib/mjpg-streamer/www/"
Now it will listen on 8090 port.
Happy streaming!
#6
Posted 07 February 2008 - 09:33 PM
Beeing lost now, how do I get my my eee broadcasting at XXXX.dyndns.tv:YY ?
Any input is welcome.
#7
Posted 08 February 2008 - 01:57 PM
#8
Posted 10 February 2008 - 02:37 AM
#9
Posted 11 February 2008 - 10:34 PM
It's working on my system without a hitch. In order to give folks access outside my LAN, I just needed to lift the firewall on my router (just for the Eee, and just for the broadcasting port).
Thanks again for sharing!
#10
Posted 21 February 2008 - 07:05 AM
starpause@midget:~$ sudo eee-mjpgstreamer [eee] Turning off camera [eee] Turning on camera [eee] Waiting for camera to settle up [: 15: /dev/video0: unexpected operator [: 15: /dev/video0: unexpected operatorit does the unexpected operator to infinity!
webcam is enabled in bios ... anyone have ideas on what i'm doing wrong?
edit: just wanted to note that my webcam is working fine w/ skype ... just can't get this script to work, always the same error i pasted above
Edited by starpause, 29 February 2008 - 04:22 PM.
20G 901 | 2G RAM | xp on SSD
4G 701 | 1G RAM | xandros on SSD
#11
Posted 10 March 2008 - 08:47 PM
Quote
had the same problem than you.
found a solution ( not sure it's the best, but solves the pb )
1/ edit your eee-mjpgstreamer script
sudo mousepad /usr/bin/eee-mjpgstreamer2/replace
until [ -a /dev/video0 ] ; doby
until [ -e /dev/video0 ] ; do3/Save & close the script.
Everything should be ok now.
#12
Posted 11 March 2008 - 12:38 AM
#13
Posted 12 March 2008 - 06:28 AM
#14
Posted 12 March 2008 - 05:02 PM
20G 901 | 2G RAM | xp on SSD
4G 701 | 1G RAM | xandros on SSD
#15
Posted 12 March 2008 - 06:02 PM
Quote
Quote
The -a seems to exist but is not used to check if a file exist, I think I remember it is used to test the negation of the condition.
-e is the operand for existence.
See
man testfor more informations.
See you.
#16
Posted 12 March 2008 - 06:06 PM
Quote
sudo mousepad /usr/bin/eee-mjpgstreamerand replace
LD_LIBRARY_PATH=/usr/lib/mjpg-streamer/plugins mjpg_streamer -i "input_uvc.so -r QVGA -f 5 -y" -o "output_http.so -w /usr/lib/mjpg-streamer/www/"by
LD_LIBRARY_PATH=/usr/lib/mjpg-streamer/plugins mjpg_streamer -i "input_uvc.so -r QVGA -f 5 -y" -o "output_http.so -w /usr/lib/mjpg-streamer/www/ -c your_user:your_password"Save & close
Should work.
See you
Edited by damdam76, 12 March 2008 - 06:12 PM.
#17
Posted 28 March 2009 - 12:35 PM
and installed it and can start the application using terminal. The light comes on so assume cam is up and running. How you I view it on a remote pc though? I use the eee wireless connection to access my home network which is used by both wired and wirelessly connected computers here. I tried the ip addres of my connection in the url but must be missing out a piece of the puzzle somewhere as I can't seem to view my stream. Can someone please talk through the viewing part of the equation.
Many Thanks
#18
Posted 28 March 2009 - 02:37 PM
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/
#19
Posted 29 March 2009 - 08:52 AM
Thanks in anticipation
#20
Posted 19 July 2009 - 02:27 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












