![]() This produced an image, but the colors were all off (very green) and the image showed duplicate images which means that the web cam isn’t exactly producing the correct YUV format that mpjg_streamer is expecting. I figured this out by reading the ‘documentation’ for the input plugin here. ?action=stream” cannot be displayed because it has errorsĭue to the fact that it didn’t produce motion-jpeg streams directly, and instead produced raw (not quite YUV) streams, so I had to add a “-yuv” option to the input plugin. ![]() Then I found out that the image served by my webcam by default had errors…. To view the stream use VLC or Firefox and open the URL: ![]() The README file tells me that you have to make your own…or just use the following URLs directly (replacing 127.0.0.1 with the IP address of the server if your server is different from the localhost): Trying to figure out where the www files are: Sudo add-apt-repository ppa:altair-ibn-la-ahad/mjpg-streamer Unfortunately, my old Philips webcam does not generate an MJPEG stream, and the video format it does generate isn’t quite compatible to even allow mjpg_streamer to display a good image. The nice thing about mjpg_streamer is that if your webcam can deliver a mjpeg stream, it will turn around and stream it over the web using very little CPU power for transcoding. I tried installing mjpg_streamer on Ubuntu 14.04 to allow me to stream a USB webcam over the internet (or your local network) to web browsers or other IP based systems that read mjpeg streams.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |