Unable to open input rtsp

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Statler
Posts: 5
Joined: Mon Oct 24, 2022 4:04 am

Unable to open input rtsp

Post by Statler »

Hello,

I have just installed ZoneMinder 1.34.23 on a Raspberry Pi IV with Bullseye. I have tried to add one or several RTSP streams, confirmed that the stream and streaming link work in VLC, tried with and without user/password, changed from TCP to UDP and back, checked the resolution setting is correct 1280x960 but it is not capturing.

Code: Select all

2022-10-24 06:37:04.428356 zmc_m4[10868].ERR-zm_ffmpeg_camera.cpp/569 [Unable to open codec for video stream from rtsp://192.168.0.15:554/11]
Any ideas can be done? Thanks in advance.
dougmccrary
Posts: 1214
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Unable to open input rtsp

Post by dougmccrary »

[Unable to open codec for video stream from rtsp://192.168.0.15:554/11]
Is ffmpeg installed? Enabled in options?
Statler
Posts: 5
Joined: Mon Oct 24, 2022 4:04 am

Re: Unable to open input rtsp

Post by Statler »

Thanks for the fast reply. I have checked:

Code: Select all

 sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ffmpeg is already the newest version (7:4.3.4-0+deb11u1+rpt3).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
so it was installed but had nothing marked in "options - images" but have now checked "OPT_FFMPEG" and added in PATH_FFMPEG "/usr/share/ffmpeg".

unfortunately, there is still no image available
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Unable to open input rtsp

Post by Magic919 »

/usr/bin/ffmpeg is a more common path. Have you checked where it is?
-
Statler
Posts: 5
Joined: Mon Oct 24, 2022 4:04 am

Re: Unable to open input rtsp

Post by Statler »

Magic919 wrote: Mon Oct 24, 2022 3:05 pm /usr/bin/ffmpeg is a more common path. Have you checked where it is?
Thanks for the hint but I did make a search before and got this reply:

Code: Select all

sudo find / -type d -name "ffmpeg*"
find: ‘/run/user/1000/gvfs’: Permission denied
/usr/share/ffmpeg
/usr/share/doc/ffmpeg
It is still not running and I am out of options. Seriously considering going back to Motioneye if I can't get this to work. Any further ideas?
User avatar
iconnor
Posts: 2903
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Unable to open input rtsp

Post by iconnor »

ffmpeg will be at /usr/bin/ffmpeg. If it isn't there, do apt-get install --reinstall ffmpeg.

Further, forget 1.34, go to zmrepo.zoneminder.com and follow the directions to get 1.36.31.

Next, the ffmpeg binary isn't used for capture. So that's a red herring.
Statler
Posts: 5
Joined: Mon Oct 24, 2022 4:04 am

Re: Unable to open input rtsp

Post by Statler »

iconnor wrote: Tue Oct 25, 2022 4:04 pm ffmpeg will be at /usr/bin/ffmpeg. If it isn't there, do apt-get install --reinstall ffmpeg.
I did that. It was still in the /usr/share/ directory after that.
iconnor wrote: Tue Oct 25, 2022 4:04 pmFurther, forget 1.34, go to zmrepo.zoneminder.com and follow the directions to get 1.36.31.
I have found a few instructions for a fresh install but no way to upgrade to 1.36.31.
iconnor wrote: Tue Oct 25, 2022 4:04 pmNext, the ffmpeg binary isn't used for capture. So that's a red herring.
Thanks for your well-intented post to help me. But I am afraid that my skills won't be enough to pull this through.
User avatar
iconnor
Posts: 2903
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Unable to open input rtsp

Post by iconnor »

/usr/share/ffmpeg is a directory, containing things pertaining to ffmpeg, but not the executable file itself.

The instructions are at https://zmrepo.zoneminder.com

There is always paid support, we are happy to do a remote session and guide you through it.
Statler
Posts: 5
Joined: Mon Oct 24, 2022 4:04 am

Re: Unable to open input rtsp

Post by Statler »

iconnor wrote: Tue Oct 25, 2022 6:37 pm /usr/share/ffmpeg is a directory, containing things pertaining to ffmpeg, but not the executable file itself.
I have no idea. I thought I had found ffmpeg
iconnor wrote: Tue Oct 25, 2022 6:37 pm There is always paid support, we are happy to do a remote session and guide you through it.
I will sure get back to your offer if I re-install zoneminder. For right now, I have setup Raspbian from scratch and trying to get Motioneye running again.
Post Reply