Push opencv frame to rtmp server using gstreamer
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file opencv_gst_rtmp-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: opencv_gst_rtmp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd7ac5ada7f587e4b5d87398bfa0e257ebdcd088fd17a72c37bf8a9620d082a |
|
MD5 | ea20c14eb676b31301735d4597258876 |
|
BLAKE2b-256 | e80502d02fac75c557e2906a3a258703bb7c109d0df1c20aa937a7058c7fddaf |