Connecting a webcam and using the router to stream video around the place should be one of the easiest things to do. A bit too easy in that I neglected to provide simple instructions on how to set it up.
This command forces mjpg-streamer to convert into raw into JPEG at (-q) quality 60, at resolution (-r) QVGA, this can be “160×120” for example. The frame rate is specified by the -f (6). This method is MUUUUUUUUCH more CPU intensive and you might have to tweak the resolution and frame rate down.
Using a device connected to the router, use a web browser (e.g. Chrome) to connect to the following to get a live view:
You can also get a single snapshot at:
If you need to play around with the commands, use CTRL-C to kill mjpg-streamer and try again. Avoid high resolutions (e.g. 1920×1080) as that will just crash the router. I used 640×480 at 25 frames per second relatively happily on a JPEG enabled camera (e.g. Logitech/Microsoft ones, not the cheap no brand ones).
Once you have a workable set-up, copy the command you have and put it into the local start-up. Append the command line with an ampersand “&” so it runs in the background. e.g.
The ‘quick and nasty’ software files are still the same as in the previous post. Pure software test only, couldn’t resist the temptation to try it via WiFi on a stock Chumby instead of USB tethering. As such the hardware frame is a bit too flimsy and the batteries aren’t enough to power the Chumby without brown-out resets. These will be improved upon soon 🙂
The toys just keep coming in! Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by EasySync that promises a great interface and should work in Linux! This will give a little bump start to my Mazda CAN Bus / mChumby projects.
Note : EasySync UK’s online form doesn’t allow international shipping but a short E-mail or two managed that. There is a US subsidiary with US and international shipping, but the international shipping rates on the US site is plain ridiculous [$68USD to ship a $88 device to Australia].
Note 2 : I hear the interface is mimicking the Lawicel CAN-USB interface…only hearsay…
Plugged it in – didn’t work. Doh! Took a peek at the manual and website, nothing on Linux other than “Linux drivers provided”… So much for the marketing material, guess I have to try make it work myself. (Yes I got it working, read on for the quick run-down post aimed at helping others)
I’ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation. There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use.
How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04
A lot of the tutorials/guides online will tell you to use nspluginwrapper or similar. Adobe has released an ‘alpha’ version of their 64 bit player which is pretty stable so far…
You would think you could just go to www.skype.com and ask for a download and it’ll be like the Adobe site detecting that you have a 64 bit system right? Wrong (at time of writing). Annoyingly that’ll just let you download an i386 package!
Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet. A base install of windows is not functional nor safe enough to let loose on the internet without some additional software. Being an avid fan of things that are free, I went and downloaded the latest versions of free software that I thought would be essential for this new PC.
I hope this post is useful for other people, but its really a lazy way of me bookmarking everything in-case I have to do it again.
I’ve recently signed up Ponoko’s Prime account and wanted to get something made. I rather into a rather annoying problem, Alibre Xpress doesn’t have a SVG export. I needed a way to design something and export it as SVG.