Skip to content

Instantly share code, notes, and snippets.

View heavenThunder's full-sized avatar

Eddy Alberto Pola heavenThunder

View GitHub Profile
@takidog
takidog / main.py
Created October 19, 2019 18:21
push RTSP stream with ffmpeg by python
import cv2
import subprocess as sp
if __name__ == "__main__":
rtsp_server = 'rtsp://example.org:554/...' # push server (output server)
#pull rtsp data, or your cv cap. (input server)
cap = cv2.VideoCapture(
'rtsp://example.org:554/pull from me ')