Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juniorxsound/libav-rtmp-streaming
📽 A C++ app that streams a video to an RTMP endpoint using libav
https://github.com/juniorxsound/libav-rtmp-streaming
cplusplus docker ffmpeg libav livestreaming rtmp video
Last synced: 2 months ago
JSON representation
📽 A C++ app that streams a video to an RTMP endpoint using libav
- Host: GitHub
- URL: https://github.com/juniorxsound/libav-rtmp-streaming
- Owner: juniorxsound
- Created: 2019-03-27T01:05:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-08T23:58:56.000Z (over 5 years ago)
- Last Synced: 2023-02-27T18:42:12.256Z (almost 2 years ago)
- Topics: cplusplus, docker, ffmpeg, libav, livestreaming, rtmp, video
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 59
- Watchers: 2
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
libav RTMP streaming 📽
A C++ app that streams a video to an RTMP endpoint using libav
Getting Started • Shoutouts# Getting Started
> To run the app you would need Docker and make - [Docker installation guide](https://docs.docker.com/v17.12/install/)
1. Clone or download the repo `git clone https://github.com/juniorxsound/libav-RTMP-Streaming.git`
2. Place an mp4 file you would like to stream in `samples/` folder
3. Create a `build` folder inside the root directory
4. From within the root directory run `make build` to create the Docker container
5. Open `main.cpp` and change the video file name and RTMP server address in line 12
```cpp
Streamer streamer("samples/your_video_test_file.mp4", "rtmp://your_rtmp_streaming_endpoint");
```
6. Run `make run` and if everything goes smooth, you should be live streaming your video file to the RTMP server ✨# Shoutouts
Thank you [@kodabb](https://github.com/kodabb) for helping me get started with using *libav* and to [@leandromoreira](https://github.com/leandromoreira/) for posting helpful getting started tutorials and a Docker image (used in this repo).