VLC stream works but ZM returns error "immediate exit requested"

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
BenJ
Posts: 1
Joined: Sun Sep 06, 2020 5:01 am

VLC stream works but ZM returns error "immediate exit requested"

Post by BenJ »

I am hoping someone can point out where I am going wrong. I have an Onwote PoE IP camera. The stream is viewable in VLC with the URL rtsp://192.168.0.123:554/h264?username=zm

But when I add a monitor with the same URL, I see this error in the logs:

Code: Select all

Unable to open input rtsp://192.168.0.123:554/h264?username=zm due to: Immediate exit requested
The ZoneMinder camera config is ffmpeg source type, and Monitor function. The resolution matches the camera (5MP, 2592x1944), using TCP as the method. The error makes me thing there is a configuration wrong on the camera's side. But the VLC stream is working, so I don't know. What else can I check to see why the connection is exiting immediately?

I am sorry if this has been covered, I wasn't able to find anything by searching. I am running ZM v1.34.20
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: VLC stream works but ZM returns error "immediate exit requested"

Post by burger »

What hardware are you using to record? Have you tried libVLC? Also try ffmpeg from the terminal as per my sig and report back how that goes.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply