What's new

[Tutorial] Webcam video surveillance via mjpg-streamer

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I have fallowed all the steps in instructions (repeated several times) without success. I don't know which permissions do you mean and what UNIX text. My problem is that according to output message server is starting, but actually doesn't:

admin@USB_EXT_DISK:/tmp/home/root# /opt/etc/init.d/S99webcam start

Starting mjpg_streamer . [ OK ]

admin@USB_EXT_DISK:/tmp/home/root# /opt/etc/init.d/S99webcam stop

mjpg_streamer is not running!
 
OK. Is it possible that videodev-rt-n66u driver is not compatible with rt-n16? Does anyone has any idea where get the right one?
 
I have check my camera type again. It is canyon cnr-wcam713g and it is not on the list. Could that be the reason for my problem?
 
The problem was in my camera. I have tried with Logitech c270 and it is working. But I have another problem. Every time after reboot of my router post-mount and firewall-start files are deleted. Any ideas?
 
Hi,
If it is possible to use motion instead of mjpg-streamer. I installed motion successfully from ipkg, but i dont know how to turn it on? Could anybody help me?

So far i use mjpg-streamer installed as TeHashX described in 1st post. - THANKS
Is there a option to save video to file instead of streaming it to www? I tried to modify S98webcam but no lucky so far.

regards
 
Updated instructions to make it boot with the asus firmware

These are the instructions to make it boot on startup:

ipkg update
ipkg upgrade
ipkg install http://tinyurl.com/mjpg-streamer-r63-2
rm /opt/etc/init.d/K99webcam
wget -c -O /opt/etc/init.d/S99mjpg-streamer http://tinyurl.com/S98webcam
chmod 755 /opt/etc/init.d/S99mjpg-streamer
wget -q http://tinyurl.com/videodev-rt-n66u -O- | cat > /opt/etc/webcam/videomod.sh
wget -P /opt/tmp http://tinyurl.com/d8vjn7o
mv /opt/tmp/d8vjn7o /opt/tmp/kmods_video_rt-n66u_2.6.22.19.tar.gz
cd /
tar -zxf /opt/tmp/kmods_video_rt-n66u_2.6.22.19.tar.gz

/opt/etc/webcam/videomod.sh load
app_set_enabled.sh mjpg-streamer yes


I have used "bold" to mark where the instructions are different.
 
Thank you very much for working tutorial :)
I also need to save video stream to disk or, at least, series of jpegs.

Hope to figure out who's vandalizing communal entrance hallway in our apartment building.

mjetuljcek, If I'm not that experienced in linux, if you could report if the solution you've given above is working, I'd really appreciate that. Or, if you could give some additional explanation I'd try it myself.
http://en.it-usenet.org/thread/18548/4450/#post4444

Am I supposed just issue these commands:
Code:
# make clean all 
# export LD_LIBRARY_PATH="$(pwd)" 
# mkdir -p pictures 
# ./mjpg-streamer -o "output_file.so -f pictures"

Or anything else needed?
 
Is the purpose of this just to set up a quick and cheap cctv system ?
If so there's a much quicker and easier way at a cost of probably zero for most of you.

Paul.
 
I've been trying to install this on my asus rt-ac68u router. Whenever I run

Code:
ipkg install http://tinyurl.com/mjpg-streamer-r63-2

I get

Code:
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget    -q -P /opt/ipkg-XO6Hr5 http://nw-dlcdnet.asus.com/asusware/arm/stable/mjpg-streamer_r63-2_mipsel.ipk'
Failed to download mjpg-streamer. Perhaps you need to run 'ipkg update'?

I appears that Asus has taken down mjpg-streamer_r63-2_mipsel.ipk from their FTP server. Does anyone have a workaround? Thanks
 
Thanks for your reply. When I run that, I get the following:

Code:
ipkg install http://rt-n56u.googlecode.com/files/m
jpg-streamer_r63-3_mipsel.ipk
Downloading http://rt-n56u.googlecode.com/files/mjpg-streamer_r63-3_mipsel.ipk
Clearing state_want and state_flag for pkg=mjpg-streamer (arch_priority=0 flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package mjpg-streamer.
Check the spelling or perhaps run 'ipkg update'

Any idea what I'm doing wrong?
 
Thanks for your reply. When I run that, I get the following:

Code:
ipkg install http://rt-n56u.googlecode.com/files/m
jpg-streamer_r63-3_mipsel.ipk
Downloading http://rt-n56u.googlecode.com/files/mjpg-streamer_r63-3_mipsel.ipk
Clearing state_want and state_flag for pkg=mjpg-streamer (arch_priority=0 flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package mjpg-streamer.
Check the spelling or perhaps run 'ipkg update'

Any idea what I'm doing wrong?

Run the following first;

ipkg update
ipkg upgrade
 
I've been trying to install this on my asus rt-ac68u router. Whenever I run

Code:
ipkg install http://tinyurl.com/mjpg-streamer-r63-2

I get

Code:
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget    -q -P /opt/ipkg-XO6Hr5 http://nw-dlcdnet.asus.com/asusware/arm/stable/mjpg-streamer_r63-2_mipsel.ipk'
Failed to download mjpg-streamer. Perhaps you need to run 'ipkg update'?

I appears that Asus has taken down mjpg-streamer_r63-2_mipsel.ipk from their FTP server. Does anyone have a workaround? Thanks

This build is only for mipsel devices like rt-n56u, n66u, ac66u...

Sent from my HTC One using Tapatalk
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top