Deliver the content of video streaming through multiple flows.
https://github.com/zogvm/Video-Stream-with-RTSP-and-RTP
Ubuntu 14 & 16 were tested
$ 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
Multiple clients The server serves one client with fixed RTP port(s) in default.
ServerWorker.py
first
$ vi ServerWorker.py
Comment out the for loop in the process of PLAY requestServer.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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。