Skip to content

qbxlvnf11/RTSP-streaming-multi-threading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

- RTSP (Real Time Streaming Protocol)

- VLC Media Plyaer

  • Tools of uploading test video to RTSP server
  • Building RTSP server which sends test video using VLC Media Player before run this code.

Contents

  • Simple RTSP streaming code with PyAV
  • Streaming web page

  • Separating the thread that reads the frame from rtsp server and the thread that shows the read frame
  • Main thread: displaying the frame read from rtsp server
  • RTSP frame receiver thread: queue the frame read from rtsp server
  • Parameters: referencing the param.py

How to use

- Open RTSP streaming web server

  • ip/port/path: RTSP address info
  • admin/password: RTSP connection info
python main.py --ip 192.168.1.1 --port 8554 --path /test/test --id admin --password admin --rtsp_transport udp --buffer_size 425984

References

- Python av package

https://pypi.org/project/av/

- How to use VLC media

https://blog.naver.com/qbxlvnf11/222723870300

Author