Giter Site home page Giter Site logo

mmal-video-record's Introduction

Raspberry Pi mmal video record with dynamic overlay(text) rendering project.

This project uses sqlite3 as resource of overlay content.

Build

  1. Install pre-required packages

    $ sudo apt-get install cmake libcairo2-dev libsqlite3-dev sqlite3

  2. Build project

    $ cmake .

    $ make

Using

-b: setting bitrate, default is 1700000.

-f: setting framerate, default is 25.

-F: setting font file path.

-g: setting intraperiod, default is 50.

-h: setting video height, default is 720.

-H: setting font size, default is 25.

-p: enable preview, default is disabled.

-s: setting sqlite3 db path, default is '/dev/shm/web.db'.

-w: setting video width, default is 1280.

-W: setting overlay width, default is 1280.

DB sample

X: INT, Y: INT, TEXT: TEXT, COLOR: CHAR(6), PY: INT, PU: INT, PV: INT, URL: BLOB, MODIFIED: CHAR(19)

Sample Video

https://www.youtube.com/watch?v=q50wNNM5whA

Refrence

https://github.com/tasanakorn/rpi-mmal-demo

mmal-video-record's People

Contributors

pcparklin avatar

Watchers

Vasco Sousa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.