DevoutPrayer / streamer

This project is based on rk3399 mpp librarys and aims at publishing camera data into RTMP server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamer

GPL License size

Develop on firefly RK3399 board and publish camera data into RTMP server.

Dependents

  1. ffmpeg(avformat avcodec avutil)
  2. rkmpp
  3. nginx rtmp server(optional) [install reference]

How to use

on-board compile

git clone git@github.com:DevoutPrayer/streamer
cd streamer
make
./streamer /dev/video0 rtmp://rtmp_server_addr/live/room

cross compile

git clone git@github.com:DevoutPrayer/streamer
cd streamer 
wget https://github.com/UWVG/aarch64-none-linux-gnu/archive/refs/heads/master.zip
unzip master.zip
make cross-compile="1"

clone this project,checkout into one branch,make and run

Releases:

Streamer v1.0(@a59906c)

  • get video data from camera through v4l2 libs
  • encode video raw data into h264 format via rk_mpp libs
    • now it can only support video raw data
    • jpeg format data should be decode before sending into encoder
  • mux the h264 flow into flv and send it via ffmpeg libs

How to contribute

  1. Fork this branch.
  2. Commit your changes.
  3. Send pull requests.

About

This project is based on rk3399 mpp librarys and aims at publishing camera data into RTMP server.

License:GNU General Public License v3.0


Languages

Language:C 99.9%Language:Makefile 0.1%