Feb 22, 2018
./mjpg_streamer -i "./input_uvc.so -n" -o "./output_http.so -w ./www"
The problem arises, when you want this to start automatically when your Raspberry Pi reboots (or even run in the background). You can't just simply add an & and even the built-in -b(ackground) option doesn't seem to work amazingly well.
So, here's what I've been able to sort out:
Copy all of the files to:
Test execution from any folder use the following full path:
/usr/local/sbin/mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -i "input_uvc.so -n" -o "output_http.so -w ./www"
If you get the message "ERROR: could not find input plugin", use the following command:
If you want it to run & stay running (background mode), use the -b switch:
/usr/local/sbin/mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -i "input_uvc.so -n" -b -o "output_http.so -w ./www"
To stop the background mjpg-streamer daemon, use the following command:
kill -9 `pidof mjpg_streamer`
To make the camera start-up automatically, add the following lines to /etc/rc.local:
/usr/local/sbin/mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -i "input_uvc.so -n" -o "output_http.so -w ./www" export LD_LIBRARY_PATH=/usr/local/sbin/mjpg-streamer/mjpg-streamer-experimental/
Also, make sure that /etc/rc.local is set to execute:
sudo chmod 755 /etc/rc.local
For clarity, the actual binary is mjpg_streamer but it is usually referred to in conversation as mjpg-streamer. If you're searching, search for both!
- Make changes to firmware in Arduino software.
- Save as hex
- sftp/scp the file to the Raspberry Pi
Aug 24, 2012
I recently did just this when creating backup copies of my different domain's DNS entries. The problem is, when I paste the tabulated data into Excel, it includes hyperlinks & images.
Hyperlinks: Luckily in the newer versions of Excel this is as easy as selecting the whole sheet, right-clicking and selecting "Remove Hyperlinks".
Images: Images are a little more difficult, since they often times don't even exist inside a cell, so they can't be easily deleted. Thanks to Dave Peterson over on the microsoft.public.excel newsgroup, I got this little nugget of information:
Hit Alt-F11 to get to the vbe (Visual Basic Editor)This blows them all away quickly & cleanly. What's even better, is that if you're doing this multiple times, just keep copying & pasting pages in, then with each sheet highlighted, alt-tab back to the VBE screen, put your cursor at the end of the line & hit enter again to repeat the process.
Hit Ctrl-G to see the "immediate" window
Type the following and then press enter:
Dec 14, 2011
- Click Ctrl-H (quick replace)
- Tick "Use Regular Expressions"
- In Find specify ^$\n
- In Replace box delete everything.
- Click "Replace All"
Jan 11, 2011
Google Apps Control Panel => Organization & Users
On the tabs below, click on the "Services" tab
Here's a direct link, if you substitute your domain name:
Scroll down in the list to the "Other Google Services" section & make sure Checkout is "switched to on".
Mar 4, 2010
Make sure your HTML page is at least 512bytes in size, or IE's "friendly errors" may eat it. :)
The MAJOR benefit I see here is that you can quickly rename a standby page to app_offline.htm, make a few changes (replace locked files, etc) & then rename it back to app_online.htm & you're back in business.
Jan 11, 2010
Okay, I had an odd thing occur today while editing one of my projects. All of the
“unrecognized tag prefix or device filter ‘asp’”
After a little searching I found a Google group post stating that:
”…building makes no difference. what does make a difference is leaving the nested master page file open in the IDE editor window…”
So, just keep your "nested" master page open & all will be well.