Page 1 of 2

unable to open input

Posted: Fri Sep 09, 2022 1:35 pm
by Heimo
Dear all,

I have changed to version 1.36.25. Some cams do not work, I get following message "4061 ERR Unable to open input rtsp://192.168......" I did not change the string and it works for instance with VLC with the same string. User and password are ok.

The cams are Axis and Foscam

Perhaps somebody can help?

Kind regards.

Heimo

Re: unable to open input

Posted: Fri Sep 09, 2022 1:44 pm
by Magic919
What was the previous version? What source type?

Re: unable to open input

Posted: Fri Sep 09, 2022 1:53 pm
by Heimo
Magic919 wrote: Fri Sep 09, 2022 1:44 pm What was the previous version? What source type?
version 1.32 but I erased even the raspberry and began from start
ffmpeg

I am not sure which frame rate I had, but the rest ist exactly the same

Re: unable to open input

Posted: Fri Sep 09, 2022 2:05 pm
by Magic919
What have you set source type to?

Re: unable to open input

Posted: Fri Sep 09, 2022 2:14 pm
by Heimo
Magic919 wrote: Fri Sep 09, 2022 2:05 pm What have you set source type to?
source type is ffmpeg

Re: unable to open input

Posted: Fri Sep 09, 2022 2:15 pm
by Heimo
Heimo wrote: Fri Sep 09, 2022 2:14 pm
Magic919 wrote: Fri Sep 09, 2022 2:05 pm What have you set source type to?
source type is ffmpeg
sourcepath rtsp://user:password@IP:port/videoMain

Re: unable to open input

Posted: Fri Sep 09, 2022 2:28 pm
by Magic919
Ok, ffmpeg is.

Do you have any special characters in the password? It can fail with those.

Re: unable to open input

Posted: Fri Sep 09, 2022 2:33 pm
by Heimo
Magic919 wrote: Fri Sep 09, 2022 2:28 pm Ok, ffmpeg is.

Do you have any special characters in the password? It can fail with those.
letters and figures as foscam wants

Re: unable to open input

Posted: Fri Sep 09, 2022 3:13 pm
by iconnor
Try different values for Method on the Source tab. Some cameras only do UDP or TCP

Re: unable to open input

Posted: Fri Sep 09, 2022 3:36 pm
by Heimo
iconnor wrote: Fri Sep 09, 2022 3:13 pm Try different values for Method on the Source tab. Some cameras only do UDP or TCP
I have tried all methods, but it daoes not work. What I do not understand is, that it works with the same string via VLC

Re: unable to open input

Posted: Fri Sep 09, 2022 3:41 pm
by iconnor
Turn on debug logs and lets see if there is more information to be had.

Re: unable to open input

Posted: Fri Sep 09, 2022 3:47 pm
by Heimo
iconnor wrote: Fri Sep 09, 2022 3:41 pm Turn on debug logs and lets see if there is more information to be had.

Datum/Zeit
Komponente
Server
PID
Stufe
Nachricht
Datei
Zeile
9/9/22, 2:35:24 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:35:16 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:35:09 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:35:06 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:35:03 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:35:00 PM GMT+2 zmc_m3 4151 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:34:50 PM GMT+2 zmc_m3 4136 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:34:44 PM GMT+2 zmc_m3 4136 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:34:38 PM GMT+2 zmc_m3 4136 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:34:25 PM GMT+2 zmc_m3 4136 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:34:13 PM GMT+2 zmc_m3 4136 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:33:38 PM GMT+2 zmc_m3 4113 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:33:27 PM GMT+2 zmc_m3 4050 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:33:27 PM GMT+2 zmc_m3 4050 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:33:13 PM GMT+2 zmc_m3 4050 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:33:00 PM GMT+2 zmc_m3 4050 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:32:48 PM GMT+2 zmc_m3 4050 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:32:07 PM GMT+2 zmc_m3 3980 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:31:44 PM GMT+2 zmc_m3 3916 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:31:39 PM GMT+2 zmc_m3 3916 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:31:25 PM GMT+2 zmc_m3 3916 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:31:12 PM GMT+2 zmc_m3 3916 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:31:00 PM GMT+2 zmc_m3 3916 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:30:22 PM GMT+2 zmc_m3 3808 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:30:10 PM GMT+2 zmc_m3 3808 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:29:57 PM GMT+2 zmc_m3 3808 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:29:45 PM GMT+2 zmc_m3 3808 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:29:23 PM GMT+2 zmc_m3 3775 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:29:11 PM GMT+2 zmc_m3 3775 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:28:46 PM GMT+2 zmc_m3 3737 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:28:33 PM GMT+2 zmc_m3 3737 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:28:21 PM GMT+2 zmc_m3 3737 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:59 PM GMT+2 zmc_m3 3703 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:48 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:45 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: No route to host zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:41 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:27 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:14 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:27:02 PM GMT+2 zmc_m3 3610 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325
9/9/22, 2:26:16 PM GMT+2 zmc_m3 3596 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Immediate exit requested zm_ffmpeg_camera.cpp 325
9/9/22, 2:26:04 PM GMT+2 zmc_m3 3557 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325

Re: unable to open input

Posted: Fri Sep 09, 2022 3:48 pm
by Heimo
iconnor wrote: Fri Sep 09, 2022 3:41 pm Turn on debug logs and lets see if there is more information to be had.
another one

9/9/22, 2:13:04 PM GMT+2 zmc_m3 3133 ERR Unable to open input rtsp://192.168.0.25/videoMain due to: Invalid data found when processing input zm_ffmpeg_camera.cpp 325

Re: unable to open input

Posted: Fri Sep 09, 2022 4:01 pm
by iconnor
So the no route to host are obvious.

The rest is basically saying that it is taking too long for ffmpeg to figure out what the stream is.

You might try setting the Options feild to probesize=50000
You might also have to adjust Options->System->WATCH_MAX_DELAY larger.

I take it these are older cams? I wouldn't expect the keyframe interval to be too huge, but maybe so...

Re: unable to open input

Posted: Fri Sep 09, 2022 4:07 pm
by Heimo
iconnor wrote: Fri Sep 09, 2022 4:01 pm So the no route to host are obvious.

The rest is basically saying that it is taking too long for ffmpeg to figure out what the stream is.

You might try setting the Options feild to probesize=50000
You might also have to adjust Options->System->WATCH_MAX_DELAY larger.

I take it these are older cams? I wouldn't expect the keyframe interval to be too huge, but maybe so...
it does not work.

I have set the rate to 3 and the interval to 10