{"id":15321939,"url":"https://github.com/akmamun/live-stream-zeromq","last_synced_at":"2025-07-17T07:04:31.108Z","repository":{"id":106931028,"uuid":"172582973","full_name":"akmamun/live-stream-zeromq","owner":"akmamun","description":"Distributed Live Streaming with ZeroMQ, Flask and Socket Connection ","archived":false,"fork":false,"pushed_at":"2021-01-21T04:51:56.000Z","size":4,"stargazers_count":28,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T02:40:14.653Z","etag":null,"topics":["flask","opencv-python","python","socket-communication","streaming","streaming-video","zeromq"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akmamun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-25T20:53:02.000Z","updated_at":"2025-01-04T09:29:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"8424ad2d-27f2-4308-b538-b6150871545e","html_url":"https://github.com/akmamun/live-stream-zeromq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akmamun/live-stream-zeromq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmamun%2Flive-stream-zeromq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmamun%2Flive-stream-zeromq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmamun%2Flive-stream-zeromq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmamun%2Flive-stream-zeromq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akmamun","download_url":"https://codeload.github.com/akmamun/live-stream-zeromq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akmamun%2Flive-stream-zeromq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265575471,"owners_count":23790776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","opencv-python","python","socket-communication","streaming","streaming-video","zeromq"],"created_at":"2024-10-01T09:13:41.880Z","updated_at":"2025-07-17T07:04:31.103Z","avatar_url":"https://github.com/akmamun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Distributed Live Streaming with ZeroMQ and Flask Socket Connection \n\n```python\npip install requirements.txt\n\n```\n### Run Server\n```python\npython main.py\n```\n```python\npython client.py\n```\n### Now Browse\n- [http://127.0.0.1:5000/](http://127.0.0.1:5000/)\n\n#### Use Built-in Webcam of Laptop\n##### Put Zero (O) in cv2.VideoCapture(0)\n```python\ncv2.VideoCapture(0)\n \n```\n#### Use Ip Camera/CCTV/RTSP Link\n```python\ncv2.VideoCapture('rtsp://username:password@camera_ip_address:554/user=username_password='password'_channel=channel_number_stream=0.sdp')  \n\n ```\n####  Example RTSP Link\n```python\ncv2.VideoCapture('rtsp://mamun:123456@101.134.16.117:554/user=mamun_password=123456_channel=0_stream=0.sdp')\n\n```\n#### Change Channel Number to Change the Camera\n```python\ncv2.VideoCapture('rtsp://mamun:123456@101.134.16.117:554/user=mamun_password=123456_channel=1_stream=0.sdp')\n\n```\n#### Display the resulting frame in browser\n```python\ncv2.imencode('.jpg', frame)[1].tobytes()\n\n```   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmamun%2Flive-stream-zeromq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakmamun%2Flive-stream-zeromq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakmamun%2Flive-stream-zeromq/lists"}