BEEPS AND BLIPS FROM OUTERSPACE
NOTES ON MJPG_STREAMER

Initial config:

* Ubuntu 10.10 Desktop on a netbook

Step 0: Is your camera working?

$ ls -i /dev | grep videoYou should see your camera listed (e.g. video0)

Step 1: Install the mjpg_streamer Debian package

a) Download with your browser: http://sourceforge.net/projects/mjpg-streamer/files/

b) Install the package (just "open" the file with the downloader) in your package manager.

c) Install more packages:

$ sudo apt-get install libjpeg-progs

Step 2: Run it

$ sudo mjpg_streamer -i "input_uvc.so -d /dev/video0 -y" -o "output_http.so -p 8090 -w /usr/www"

Step 3: View it

a) Open a browser and go to: http://localhost:8090

b) You should see a welcome and info page.  Click around to see your stream.

Surprises and info:

* Where is mjpg_streamer installed?

Answer:

$ which mjpg_streamer

/usr/bin/mgjpg_streamer

* Where is output_http.so installed?

Answer:

/usr/lib

* Where are the web files?  Did you get one of these messages?

"400 Not Found!: No file extension found"

"404 Not Found!: Could not open file"

Answer:

You need to specify the location of mjpg_streamer's www files.  They are installed in: /usr/www

* Why am I getting the following error?

"Unable to set format: Invalid argument

Init v4L2 failed !! exit fatal

i: init_VideoIn failed"

Answer:

Your camera only supports YUV and doesn't support MJPG in hardware.  Tell mjpg_streamer to do the conversion for you with the "-y" argument.

POSTED 2011-11-17 10:46:12 CATEGORY ENGINEERING TAGS LINUX MJPG_STREAMER STREAMING UBUNTU WEBCAM
SOME THINGS ABOUT THE ROKU
Here are four items that are worth noting about my Roku experience:1. If the space around the Roku is covered (like on a small shelf or TV stand), the wifi connection degrades and the Roku wireless connection is lost and takes a long time to reconnect.  It is necessary to move the Roku into the open and reconnect to the wifi hotspot.2. When interacting with the device via the remote, there are audible CLICKS on the TV output.  It is very loud and jolting when using the navigation buttons or other buttons.  There appears to be a voltage spike running into the HDMI output corrupting the audio signal.  Very annoying!  I almost sent the device back with the 30 day guarantee because of this.  The little box looks pretty, but it behaves like a POS.3. Before buying Roku I was using my Wii to watch Netflix streaming.  I was a Netflix customer for years and enjoyed the DVD's via mail program.  However, their recent behavior forsook my loyalty and I ditched them.  Good news for Roku since they directly made a sale because of Netflix's stupidity.  Yay for free markets!4. It is not Roku's issue, but it should be worth noting Amazon Prime browsing is horrendous.  There is no history or save list and the video offers shown are not good.One more tidbit.  Tell the remote control designer to stop making the bottoms of the plastic remote curved.  It's been a recent fad, but no one has done a proper user study on it.  Sure it appears to fit snugly in our paws while we thumb the buttons, but rounded bottoms don't stay where they are put.When you place an object down you don't expect it to wobble and slide off tables and the arms of chairs.  The thing has the same heft as a wiffle ball and the same quality plastic.  Feel free to make the edges slightly rounded, but keep the thing rectangular, streamlined, solid.  Even the iPhone5 designers learned this one.
POSTED 2011-11-04 13:23:31 CATEGORY ENGINEERING MOVIE TAGS NETFLIXFAIL STREAMING
prev page
• • •
next page