无法获得RTSP流-不匹配 [英] Cant get RTSP stream - nonmatching

查看:408
本文介绍了无法获得RTSP流-不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Raspberry Pi3,试图通过无线IP摄像机获取RTSP流,但出现此错误:

I'm using Raspberry Pi3 and I`m trying to get a RTSP stream through my wireless IP camera, but I'm getting this error:

pi@raspberrypi:~ $ alprd -f
INFO - Running OpenALPR daemon in the foreground.
INFO - Using: /etc/openalpr/alprd.conf for daemon configuration
Missing config value for company_id
Missing config value for pattern
INFO - Using: /home/pi/Database/pictures for storing valid plate images
INFO - country: br -- config file: /etc/openalpr/openalpr.conf
INFO - pattern: 
INFO - Stream 1: rtsp://192.168.1.230:554/onvif1
INFO - Starting camera 1
INFO - Video stream connecting...
[rtsp @ 0x71700960] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.
INFO - Video stream connecting...
[rtsp @ 0x71700840] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.
INFO - Video stream connecting...
[rtsp @ 0x71700960] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.
INFO - Video stream connecting...
[rtsp @ 0x71700840] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.
INFO - Video stream connecting...
[rtsp @ 0x71700960] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.
INFO - Video stream connecting...
[rtsp @ 0x71700840] Nonmatching transport in server reply
WARN - Stream rtsp://192.168.1.230:554/onvif1 failed to open.

我正在使用的RTSP链接是: rtsp://192.168.1.230:554/onvif1

The RTSP link that I´m using is: rtsp://192.168.1.230:554/onvif1

或与用户:pwd是:

rtsp://2512398:123@192.168.1.230:554/onvif1

rtsp://2512398:123@192.168.1.230:554/onvif1

在我的alprd.conf文件中的方式:

The way it is in my alprd.conf:

; Declare each stream on a separate line
; each unique stream should be defined as stream = [url]

stream = rtsp://192.168.1.230:554/onvif1
;stream = http://192.168.1.36:8080/video
;stream = http://127.0.0.1/example_second_stream.mjpeg
;stream = webcam

我可以使用VLC(在我的计算机和RPI中)连接而没有任何问题,但是当我在.conf文件中使用它时,可以使用命令 alprd -f 开始检查许可证板我得到那个错误:/

I can connect using VLC (in my computer and RPI) without any problems, but when I use it in my .conf file in order to use the command alprd -f to start checking for license plates I get that error :/

我真的是编程的新手,所以请不要太过具体,因为我可能不会理解它哈哈哈

I'm really a novice in programming, so please don't go way too specific because I will probably not understand it hahaha

谢谢大家!爱你们所有< 3

Thanks guys! Love u all <3

推荐答案

我遇到了类似的问题,如果遇到相同的错误,请尝试更改ffplay -rtsp_transport tcp rtsp//:...,您需要更改opencv ffmpeg_cap_impl.hpp源,因为此参数是硬编码的.

I faced a similar problem, try ffplay -rtsp_transport tcp rtsp//:... if you get same error you need to change opencv ffmpeg_cap_impl.hpp source, because this param hardcoded.

这篇关于无法获得RTSP流-不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆