streamer
streamer copied to clipboard
This project is based on rk3399 mpp librarys and aims at publishing camera data into RTMP server.
Streamer
Develop on firefly RK3399 board and publish camera data into RTMP server.
Dependents
- ffmpeg(avformat avcodec avutil)
- rkmpp
- nginx rtmp server(optional) [install reference]
How to use
on-board compile
git clone [email protected]:DevoutPrayer/streamer
cd streamer
make
./streamer /dev/video0 rtmp://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
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
- Fork this branch.
- Commit your changes.
- Send pull requests.