Unable to open input rtsp Due to Operation in Progress

Forum for questions and support relating to the 1.28.x releases only.
Locked
toygwapo005
Posts: 10
Joined: Wed Apr 22, 2015 3:26 am

Unable to open input rtsp Due to Operation in Progress

Post by toygwapo005 »

Good day i have installed zoneminder 1.28.1 on my centos 6.6 64 bit version but when i am adding some of my camera (Axis M3204 Network Camera and Axis M3203 Network Camera) and i get a blue screen and not recording with the error message on the logs:

Date/Time
Component PID Level Message File Line
2015-07-07 10:01:24.733631 zmc_m4 8147 ERR Unable to open input rtsp://192.168.xx.xxx/axis-media/media.amp?streamprofile=Balanced?tcp due to: Operation now in progress /builddir/build/BUILD/ZoneMinder-1.28.1/src/zm_ffmpeg_camera.cpp 264
2015-07-07 10:01:14.681551 zmc_m4 8147 ERR Unable to open input rtsp://192.168.xx.xxx/axis-media/media.amp?streamprofile=Balanced?tcp due to: Operation now in progress /builddir/build/BUILD/ZoneMinder-1.28.1/src/zm_ffmpeg_camera.cpp 264

but some of our cameras (same camera model) do not experiencing with this problem.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Unable to open input rtsp Due to Operation in Progress

Post by knight-of-ni »

That means something else has got a lock on that video stream.
Make sure you don't have the cameras web page open.
It is possible that your previous attempt to connect in zoneminder still has the lock (especially if that previous attempt was abnormally stopped).

Make sure nothing else is accessing that camera, reboot the camera, and try again.

Also, make sure you are running latest camera firmware.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
toygwapo005
Posts: 10
Joined: Wed Apr 22, 2015 3:26 am

Re: Unable to open input rtsp Due to Operation in Progress

Post by toygwapo005 »

All camera firmware is all up to date also no one accessing to the camera. The only thing that i am confused is i can add the camera on other zoneminder machine that i installed last year and now on my new zoneminder machine i had with this trouble. can you help me to fix this one.

thankyou
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Unable to open input rtsp Due to Operation in Progress

Post by PacoLM »

Hi toygwapo005,

Are you using Ffmpeg or Libvlc? I had the same problem with ZM1.28.1 and Ffmpeg in one of my cameras. Just switched to Libvlc and the problem dissapeared.

Hope it helps,

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
bbunge
Posts: 2975
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Unable to open input rtsp Due to Operation in Progress

Post by bbunge »

You will need to add the port you are using to the source string:

rtsp://192.168.xx.xxx:554/axis-media/media.amp?streamprofile=Balanced?tcp

Not sure what port your camera uses for RTSP. I have a Foscam that I have set to port 80 vs. 554
Locked