Develop on firefly RK3399 board and publish camera data into RTMP server.
- ffmpeg(avformat avcodec avutil)
- rkmpp
- nginx rtmp server(optional) [install reference]
on-board compile
git clone [email protected]:DevoutPrayer/streamer
cd streamer
make
./streamer /dev/video0 rtmp:https://rtmp_server_addr/live/room
cross compile
git clone [email protected]: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
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
- Fork this branch.
- Commit your changes.
- Send pull requests.