occ-ai / scoresight

ScoreSight is a powerful scoreboard OCR software for live broadcasts
https://obsproject.com/forum/resources/scoresight-free-open-source-ocr-tool-for-gaming-and-scoreboards.1884/
MIT License
21 stars 0 forks source link

RTSP stream not workning in Windows #10

Open mrXypleX opened 1 month ago

mrXypleX commented 1 month ago

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 commented 3 weeks ago

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

Fabelwesen commented 2 weeks ago

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 commented 1 week ago

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 commented 1 week ago

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

mrXypleX commented 1 week ago

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 commented 1 week ago

Check the ffprobe.txt :)

mrXypleX commented 1 week ago

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