/FFMPEG_RTSP_Server

This is the code which takes the camera as the input through FFMPEG and streams it through RTSP.

Primary LanguagePython

Streaming a video through FFMPEG and RTSP.

Workflow:-

  1. Start the RTSP Server in the AWS or any cloud instance which will now act as a server.
  2. We are going to use RTSP Server Library as our RTSP server. We can start this server by storing this library as a code in S3 Bucket and obtaining the same in our instance through wget command in linux.
  3. Start the rtsp server using the below command in the terminal of the same directory.
./rtsp-simple-server
  1. Now note the IP address of the instance and make the change in the rtspserver variable.
  2. Now run the python code. Your camera will be taken as input and the stream starts.
  3. You can view the same in any device by mentioning the IP address of the instance in the RTSP section.

Demo

You can visit the below link for the demo of this project.

Click for Project Demo