Skip to content

sneha358/video_streaming-using-RTMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

video_streaming-using-RTMP

Tools & software needed FFmpeg, NGINX, Python, opencv

Copy the repo

https://github.com/sneha358/video_streaming-using-RTMP.git

Flow

Streaming(RTMP) using FFmpeg --> Nginx server --> Video(RTMP) on vlc media player

Working (server in WSL)

Instalation of NGINX Server

  1. Update pakages
$ sudo apt update && sudo apt upgrade -y
  1. Install nginx server
$ sudo apt install nginx -y
  1. Start nginx server
$ sudo systemctl start nginx
  1. Enable NGINX to Start on Boot (Optional)
$ sudo systemctl enable nginx
  1. Check NGINX Status
$ sudo systemctl status nginx
note-- Press q to exit the status view.
  1. Configure Firewall (if needed)
$ sudo ufw allow 'Nginx Full'
note-- ufw is not installed, install it using:
$ sudo apt install ufw -y
  1. Stop or Restart NGINX
$ sudo systemctl stop nginx

$ sudo systemctl restart nginx 

To watch video stream

To watch video we need media player which support RTMP. Here we use VLC Paste RTMP url in vlc media player(more options --> new stream)

rtmp://Your_SERVER_IP_address/live

Steps to follow

1. start server

2. run python script for streaming

3. play in vlc

Happy to learn

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages