method SETUP failed: 459 Client error

asked 2020-01-13 06:24:46 -0600

Hello, I am trying to capture a stream from a device in my local network using RTSP and python-opencv. When opening the stream in VLC, everything is working good. However, when I run the following script I get the 459 Client Error.

import cv2
import numpy as np
import os
os.environ["OPENCV_FFMPEG_CAPTURE_OPTIONS"] = "rtsp_transport;udp"
vcap = cv2.VideoCapture("rtsp://devscopejetnano-desktop:5050/stream", cv2.CAP_FFMPEG)
    ret, frame =
    if ret == False:
        print("Frame is empty")
        cv2.imshow('VIDEO', frame)

I did not find information regarding this error.

Any idea what is going wrong?

Thank you

edit retag flag offensive close merge delete


Sorry. Apologised I don't used Jetson Nano Developer Kit. I used Raspberry pi 3/4

supra56 gravatar imagesupra56 ( 2020-01-13 08:22:51 -0600 )edit

I don't think the problem is the JetNano itself but the setup/configuration I have. Did you manage to put a RTSP connection to work with OpenCV?

verance gravatar imageverance ( 2020-01-13 08:37:34 -0600 )edit

I used IP address instead of devscopejetnano-desktop.

supra56 gravatar imagesupra56 ( 2020-01-13 20:23:19 -0600 )edit