mpromonet / v4l2rtspserver

RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
The Unlicense
1.83k stars 423 forks source link

ZoneMinder Error - Invalid SDP format at 'video3/unicast' zm_rtsp.cpp 380 #182

Closed webgps closed 3 years ago

webgps commented 4 years ago

Hey there again,

Trying to add a stream to ZM. I'm getting the following error: zmc_m2 5477 ERR Invalid SDP format at 'video3/unicast' zm_rtsp.cpp 380

My zm source config is:

image

P.S..: tried also with video3/unicast also

Please help.

Thanks in andvance!

mpromonet commented 4 years ago

Hi webgps,

This depends on how you start v4l2rtspserver and the parameter you gave. If the url is correct, this probably means zoneminder doesnot support the capture format you are using ?

Best Regards, Michel.

webgps commented 4 years ago

This is my command:

./v4l2rtspserver /dev/video0 /dev/video1 /dev/video3 -H640 -W480 -f

mpromonet commented 4 years ago

Hi,

Then the rtsp url are /video0/unicast /video1/unicast /video3/unicast You can get the SDP using openRTSP to see what it looks like, maybe this will helps you to understand if it is supproted by zoneminder.

Best Regards, Michel.

webgps commented 4 years ago

So if I play the stream with openRTSP i will see the *.sdp string at he end of the url or something like that?

mpromonet commented 4 years ago

Hi @webgps,

Using openRTSP rtsp:// ..../video3/unicast it will print the SDP string in the answer of RTSP DESCRIBE request.

Best Regards, Michel.