Skip to content

📽 A C++ app that streams a video to an RTMP endpoint using libav

Notifications You must be signed in to change notification settings

juniorxsound/libav-RTMP-Streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  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
Streamer streamer("samples/your_video_test_file.mp4", "rtmp://your_rtmp_streaming_endpoint");
  1. Run make run and if everything goes smooth, you should be live streaming your video file to the RTMP server ✨

Shoutouts

Thank you @kodabb for helping me get started with using libav and to @leandromoreira for posting helpful getting started tutorials and a Docker image (used in this repo).

About

📽 A C++ app that streams a video to an RTMP endpoint using libav

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published