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.1-py3-none-any.whl
Release files for opencv-gst-rtmp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opencv_gst_rtmp-0.1.1.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opencv_gst_rtmp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:18.6 kB
Release files / opencv_gst_rtmp-0.1.1.tar.gz
| Download URL | opencv_gst_rtmp-0.1.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5441327931b057335cbc947d5ad1d7db456bae554d29f04733e97dadde3259c1
|
|
BLAKE2b-256 checksum How to use checksums |
88e2df623dd39be8cd1898ae78dd04568347df17c625c4e4fe5a70e816c8cfd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / opencv_gst_rtmp-0.1.1-py3-none-any.whl
| Download URL | opencv_gst_rtmp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46a2c49ad40cc5b47cac4faf6538418d0ad40430e7a0783f73473315144d1898
|
|
BLAKE2b-256 checksum How to use checksums |
16526ef1e85adce78ea28f47af1571d5163d83a202222c6e490e1f9f9bc1faa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|