1 Star 0 Fork 0

wangjc5736 / multi-flow_RTSPstreaming

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

RTSP video streaming through multiple flows

[Purpose]

Deliver the content of video streaming through multiple flows.

[Referenced Project]

https://github.com/zogvm/Video-Stream-with-RTSP-and-RTP

[Operating System]

Ubuntu 14 & 16 were tested

[Support]

  • Single/multiple flows (decided by the client)
  • Video formats : mkv, mp4, webm, ... (depends on OpenCV)
  • Video with 720p/25fps (as far as it goes)
  • RTSP options : SETUP/PLAY/PAUSE/TEARDOWN
  • Multiple clients

[Package Installation]

$ sudo apt-get install python2.7 python-pip python-imaging-tk python-opencv python-imaging $ sudo pip install numpy Pillow $ sudo apt-get install python-dev libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev libjpeg8 libjpeg62-dev

[Usage]

  • Multiple clients The server serves one client with fixed RTP port(s) in default.

    • If you want to serve multiple clients without fixed RTP port(s), please modify ServerWorker.py first $ vi ServerWorker.py Comment out the for loop in the process of PLAY request
    • If you want to change the number of clients it can serve, please modify Server.py $ vi Server.py Change the number in listen()
  • Start server Format : python Server.py [server rtsp port] $ python Server.py 8554

  • Start client Format : python ClientLauncher.py [server ip] [server rtsp port] [client rtp port] [video file] [flow number] $ python ClientLauncher.py 172.16.53.2 8554 12345 SampleVideo.mkv 2

[Adjustment (optional)]

  • The quality of image $ vi VideoStream.py Change jpeg_quality
  • The speed of playing the video $ vi ServerWorker.py Change the time in clientInfo['event'].wait()

[Future Works]

  • For client
    • A reordering mechanism for the receiving data
    • A scheduler for playing out the frames instead of the waiting time at server
  • For server
    • Better compression method

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangjc5736/multi-flow_RTSPstreaming.git
git@gitee.com:wangjc5736/multi-flow_RTSPstreaming.git
wangjc5736
multi-flow_RTSPstreaming
multi-flow_RTSPstreaming
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891