## What is this?
Push opencv frame to rtmp server using gstreamer.
## Usecases?
Modified opencv frame and push to rtmp server.
## Fundamental?
Read opencv frame from appsrc and convert to flv and push to rtmp server using rtmpsink.
## Test with example:
### Setup environment:
Create virtual environment (Optional):
`python3 -m venv .venv`
Run setup_env.sh
`source setup_env.sh`
Run install
`python3 -m pip install .`
### Run
`python3 examples/main_frame.py` or `python3 examples/main_stream.py`
Play using ffplay or vlc:
`ffplay rtmp://localhost:1935/live`
### Build
Install wheel:
`python3 -m pip install wheel`
Build:
`python3 setup.py bdist_wheel`
Install:
`python3 -m pip install build/opencv_gst_rtmp-0.1.0-py3-none-any.whl`
Raw data
{
"_id": null,
"home_page": "https://github.com/nguyencobap/opencv_gst_rtmp",
"name": "opencv-gst-rtmp",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": "",
"keywords": "gstreamer,gst,opencv,rtmp",
"author": "Nguyen Hai Nguyen",
"author_email": "nguyenhainguyen97@gmail.com",
"download_url": "",
"platform": null,
"description": "## What is this?\n\nPush opencv frame to rtmp server using gstreamer.\n\n## Usecases?\n\nModified opencv frame and push to rtmp server.\n\n## Fundamental?\n\nRead opencv frame from appsrc and convert to flv and push to rtmp server using rtmpsink.\n\n## Test with example:\n### Setup environment:\nCreate virtual environment (Optional):\n\n`python3 -m venv .venv`\n\nRun setup_env.sh\n\n`source setup_env.sh`\n\nRun install\n\n`python3 -m pip install .`\n\n### Run\n\n`python3 examples/main_frame.py` or `python3 examples/main_stream.py`\n\nPlay using ffplay or vlc:\n\n`ffplay rtmp://localhost:1935/live`\n\n### Build\n\nInstall wheel:\n\n`python3 -m pip install wheel`\n\nBuild:\n\n`python3 setup.py bdist_wheel`\n\nInstall:\n\n`python3 -m pip install build/opencv_gst_rtmp-0.1.0-py3-none-any.whl`\n\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Push opencv frame to rtmp server using gstreamer",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/nguyencobap/opencv_gst_rtmp"
},
"split_keywords": [
"gstreamer",
"gst",
"opencv",
"rtmp"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e80502d02fac75c557e2906a3a258703bb7c109d0df1c20aa937a7058c7fddaf",
"md5": "ea20c14eb676b31301735d4597258876",
"sha256": "6bd7ac5ada7f587e4b5d87398bfa0e257ebdcd088fd17a72c37bf8a9620d082a"
},
"downloads": -1,
"filename": "opencv_gst_rtmp-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ea20c14eb676b31301735d4597258876",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 10572,
"upload_time": "2023-12-15T15:46:22",
"upload_time_iso_8601": "2023-12-15T15:46:22.212332Z",
"url": "https://files.pythonhosted.org/packages/e8/05/02d02fac75c557e2906a3a258703bb7c109d0df1c20aa937a7058c7fddaf/opencv_gst_rtmp-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-15 15:46:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nguyencobap",
"github_project": "opencv_gst_rtmp",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "opencv-gst-rtmp"
}