Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTSP stream not workning in Windows #10

Open
mrXypleX opened this issue May 29, 2024 · 8 comments
Open

RTSP stream not workning in Windows #10

mrXypleX opened this issue May 29, 2024 · 8 comments

Comments

@mrXypleX
Copy link

Thank you for a realy great program!

but im having problem connection to a rstp camera in Windows
it says "Error: Unable to play stream" and command line output (print) "[ WARN:1@35.335] global cap.cpp:206 cv::VideoCapture::open VIDEOIO(DSHOW): backend is generally available but can't be used to capture by name"

OBS virtual camera is working great, but whit some lag. (due to OBS Studio)

@royshil
Copy link
Contributor

royshil commented Jun 7, 2024

@mrXypleX can you share the entire log? and also a screen of the rtsp dialog?

@Fabelwesen
Copy link

Fabelwesen commented Jun 17, 2024

Unfortunately I've the same problem. Fresh Windows 10, May 2024 installation.

Here is everything I can tell you about the RTSP stream:

It comes from a MediaMTX server (https://github.com/bluenviron/mediamtx), started with this config:

flir.yml.txt

I capture a part of the desktop and stream it via RTSP. It's a window that reads the temperature from a FLIR USB cam. With ScoreSight I want to extract the temperature values and give it somehow to my Home Assistant instance.

rtsp_error

ffprobe.txt
scoresight_std_2024-06-17_15-20-57.log
scoresight_2024-06-17_15-20-57.log

VLC is able to open this stream on the same machine without any problems :)

@mrXypleX mrXypleX changed the title RSTP stream not workning in Windows RTSP stream not workning in Windows Jun 24, 2024
@mrXypleX
Copy link
Author

log and rtsp dialog.
Have no problem connect to the stream through vlc or obs.

Error
Scorce dialog
scoresight_2024-06-24_18-48-38.log
scoresight_std_2024-06-24_18-48-38.log

@royshil
Copy link
Contributor

royshil commented Jun 25, 2024

hm
do you have any details about the rtsp stream you're serving? like what encoding etc

@mrXypleX
Copy link
Author

its h264 MPEG-4
did a network sniff. cant see a single tcp package from my computer to the webcam. Should at least try to start some sort of handshake... (my windows FW is off btw)

@Fabelwesen
Copy link

Check the ffprobe.txt :)

@mrXypleX
Copy link
Author

ffprobe:

Input #0, rtsp, from 'rtsp://10.0.1.200:554/11':
Metadata:
title : \11
Duration: N/A, start: 39933.980444, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080, 15 tbr, 90k tbn
Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s

@royshil
Copy link
Contributor

royshil commented Sep 13, 2024

can someone please check out #35 ? i think it's going to fix it on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants