Close

Recording and Streaming MJPEG

A project log for OpenMV

Python-powered machine vision modules

i.abdalkaderi.abdalkader 07/05/2014 at 23:510 Comments

So after getting JPEG to work, I started working on recording video to SD, I wrote a script that records MJPEG/AVI and stores it on SD, then I thought why stop here, so I wrote a simple MJPEG streaming server (written completely in Python source),  most browsers support viewing MJPEG (like Firefox, Chrome etc...) here's some snapshots:

In order to support this, I had to update the CC3000 drivers first (ported the SPI driver to HAL), something I wanted to do for a while, and I wrote a couple of Python modules to expose the CC3K to user scripts, and a sockets wrapper around the CC3K sockets API, I made the sockets module compatible with Python's sockets API, so existing networking scripts could be easily ported.

Discussions