Latest Webcam Build Makes Images Nearly 4K

You know how it is, you build a project, it works out well, then you want more. I’ve been very pleased with the two 1080P webcams I built using Orange Pi, but why not try for more? How about streaming a 6 MP image?

I found a very nice USB camera board, combined it with a Pine A64+ SoC board, used Ubuntu 16.04, installed fswebcam, compiled mjpg_streamer, and I’m using a commercial outdoor security camera enclosure.

It’s giving me images at 3264 by 2448, which is the ancient, deprecated 4 by 3 aspect ratio. Real men prefer 16 by 9, so to get it closer I hand drew a crop frame that gets it much closer, 3264 by 1848. Despite my cropping out some of the image it still is nearly 4K, and it exceeds the resolution of an iMac 27″ display.

I’m pulling about 12 frames per second @ about 10~12 mbps. The image quality and sharpness are superb under indoor lighting conditions.


Here are some pics of the major components.








2 Comments on Latest Webcam Build Makes Images Nearly 4K

  1. I would love to tinker with this… but maybe starting a level closer to complete 🙂 … would you sell a starter kit for one of these?

    Do you have any of your cams streaming online?

    We’re looking for a replacement cam for our crappy resolution image here:

    Thanks very much!

  2. These webcams are built to work on our home LAN with preconfigured WiFi details. If one were moved to a different network relying on WiFi you’d need to manually edit the SSID and password details on a micro SD card formatted for Linux. I’m not in a position to sell any as I have no excess quantity, sorry. I also upload still shots of our local freeway once per minute at

    Sorry, no cams online with streaming video, our home Internet connection although reliable is not very fast. I have on occasion made time lapse videos, see

    Your link does display a clear image, it’s just small/low resolution. If you end up buying a camera, I hear good things about Hikvision brand cameras.

    Thanks for your comment 🙂