All Projects → icza → Mjpeg

icza / Mjpeg

Licence: apache-2.0
MJPEG video writer implementation in Go.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Mjpeg

Streamit
This iOS app streams your camera so you can watch it in a simple web browser (MJPEG stream)
Stars: ✭ 74 (+39.62%)
Mutual labels:  mjpeg
bl mcu sdk
bl_mcu_sdk is MCU software development kit provided by Bouffalo Lab Team for BL602/BL604, BL702/BL704/BL706, BL616/BL618, BL808 and other series of RISC-V based chips in the future.
Stars: ✭ 147 (+177.36%)
Mutual labels:  mjpeg
Gocv
Go package for computer vision using OpenCV 4 and beyond.
Stars: ✭ 4,511 (+8411.32%)
Mutual labels:  mjpeg
Picam
Elixir library used to capture MJPEG video on a Raspberry Pi using the camera module.
Stars: ✭ 96 (+81.13%)
Mutual labels:  mjpeg
grumpy-pi-mjpg
Simple HTTP server to provide streams of Raspberry Pi camera using MJPEG codec
Stars: ✭ 17 (-67.92%)
Mutual labels:  mjpeg
uvc-streamer
MJPEG webcam network streamer for linux
Stars: ✭ 25 (-52.83%)
Mutual labels:  mjpeg
Iot camera
IoT Camera with Wi-Fi, RT-Thread
Stars: ✭ 62 (+16.98%)
Mutual labels:  mjpeg
Jpegrtspcamera
Sample RTSP server streaming MJPEG video from PC camera
Stars: ✭ 25 (-52.83%)
Mutual labels:  mjpeg
ESP32-CAM-MJPEG-Stream-Decoder-and-Control-Library
The library is MJPEG stream decoder based on libcurl and OpenCV, and written in C/C++.
Stars: ✭ 40 (-24.53%)
Mutual labels:  mjpeg
Amazon Rekognition Video Analyzer
A working prototype for capturing frames off of a live MJPEG video stream, identifying objects in near real-time using deep learning, and triggering actions based on an objects watch list.
Stars: ✭ 309 (+483.02%)
Mutual labels:  mjpeg
Esp32 Cam Video Recorder
Video Recorder for ESP32-CAM with http server for config and ftp server to download video
Stars: ✭ 169 (+218.87%)
Mutual labels:  mjpeg
FPGAmp
720p FPGA Media Player (RISC-V + Motion JPEG + SD + HDMI on an Artix 7)
Stars: ✭ 190 (+258.49%)
Mutual labels:  mjpeg
getting-started
List of ideas for getting started with TimVideos projects
Stars: ✭ 50 (-5.66%)
Mutual labels:  mjpeg
Pi Camera Connect
Library to capture and stream Raspberry Pi camera data directly to NodeJS
Stars: ✭ 81 (+52.83%)
Mutual labels:  mjpeg
Ustreamer
µStreamer - Lightweight and fast MJPG-HTTP streamer
Stars: ✭ 533 (+905.66%)
Mutual labels:  mjpeg
Core jpeg
High throughput JPEG decoder in Verilog for FPGA
Stars: ✭ 64 (+20.75%)
Mutual labels:  mjpeg
py-mjpeg
Python MJPEG streaming utilities
Stars: ✭ 32 (-39.62%)
Mutual labels:  mjpeg
Animated Jpeg
Proposed JPEG/JFIF APP0 marker application extension for playback control of concatenated JPEGs, as stand-alone animation stream or Motion-JPEG
Stars: ✭ 7 (-86.79%)
Mutual labels:  mjpeg
Cam2ip
Turn any webcam into an IP camera
Stars: ✭ 587 (+1007.55%)
Mutual labels:  mjpeg
Ipcam View
MJPEG video streaming on Android
Stars: ✭ 292 (+450.94%)
Mutual labels:  mjpeg

mjpeg

Build Status GoDoc Go Report Card

MJPEG video writer implementation in Go.

Examples

Let's see an example how to turn the JPEG files 1.jpg, 2.jpg, ..., 10.jpg into a movie file:

checkErr := func(err error) {
    if err != nil {
        panic(err)
    }
}

// Video size: 200x100 pixels, FPS: 2
aw, err := mjpeg.New("test.avi", 200, 100, 2)
checkErr(err)

// Create a movie from images: 1.jpg, 2.jpg, ..., 10.jpg
for i := 1; i <= 10; i++ {
    data, err := ioutil.ReadFile(fmt.Sprintf("%d.jpg", i))
    checkErr(err)
    checkErr(aw.AddFrame(data))
}

checkErr(aw.Close())

Example to add an image.Image as a frame to the video:

aw, err := mjpeg.New("test.avi", 200, 100, 2)
checkErr(err)

var img image.Image
// Acquire / initialize image, e.g.:
// img = image.NewRGBA(image.Rect(0, 0, 200, 100))

buf := &bytes.Buffer{}
checkErr(jpeg.Encode(buf, img, nil))
checkErr(aw.AddFrame(buf.Bytes()))

checkErr(aw.Close())
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].