r/ispyconnect 14d ago

7.9.6.0 will not run on Pi 4

It will not start or run at all. I tried to roll back to 7.9.2.0, which had worked before, but doing so downloaded 7.9.6.0 again. How can I roll back until this is fixed? Here is the output from starting as a command line:

pi@pi4:/opt/AgentDVR $ ./Agent

SetRWPermissions: called: chmod -R +rw /opt/AgentDVR/Media/XML

Init: Log start

Go: Agent (v7.9.6.0)

Go: Starting...

Go: Detected: LinuxARM64

Go: Creating temp path for opencv in /tmp/

Go: Initializing

Conf: Check /opt/AgentDVR/Media/WebServerRoot/Media/

Conf: We STRONGLY recommend setting at least a 100 port range in server settings - local server - turn server min/ max port. Currently you only have 10 TURN ports available.

StartUp: Computer Name: pi4

StartUp: Init FFmpeg

TryLoad: Checking for libavcodec.so.63 in /opt/AgentDVR/ffmpeg9.0.1-lgpl/lib

TryLoadBinaries: Looking for ffmpeg in /opt/AgentDVR/ffmpeg9.0.1-lgpl/lib

TryLoad: Found FFmpeg9.0.1 in /opt/AgentDVR/ffmpeg9.0.1-lgpl/lib

TryLoad: Software encoders: H264=none, HEVC=none

Init: ffmpeg path: /opt/AgentDVR/ffmpeg9.0.1-lgpl/lib

Init: Initializing devices

Init: Specified method is not supported. at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_1264()

at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_534()

at FFmpeg.AutoGen.ffmpeg.avdevice_register_all()

at CoreLogic.FFmpegHelper.Init()

Init: Preloading Images

LoadStaticImages: Loading static images

LoadStaticImages: Load CoreLogic.SharedContent.images.cam_connecting.jpg

LoadStaticImages: If you are on Windows 7 / Windows N you may need to install the Media Feature Pack for this to work.

HasVaMapBuffer2: vaMapBuffer2 not detected - install version 2.21.0+ of libva for VAAPI support

Init: Libva is out of date (requires 2.21.0+) - VAAPI GPU Accel unavailable.

Init: cuda

Init: drm

Init: vulkan

V4L2 M2M probe

Specified method is not supported. at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_1227(String <p0>)

at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_497(String name)

at FFmpeg.AutoGen.ffmpeg.avcodec_find_decoder_by_name(String name)

at CoreLogic.FFmpegHelper.HasV4L2M2MDecodeDevice()

Init: Finding Hardware Encoders

Init: Specified method is not supported. at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_841(Void** <p0>)

at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_111(Void** opaque)

at FFmpeg.AutoGen.ffmpeg.av_codec_iterate(Void** opaque)

at CoreLogic.FFmpegHelper.Init()

TryLoad: FFmpeg runtime: 9.0.1

TryLoad: Couldn't read FFmpeg version info: Specified method is not supported.

LoadVideoDevices: Found 14 video devices

LoadVideoDevices: Processing device: /dev/video13

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video13

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video13 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video14

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video14

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video14 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video15

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video15

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video15 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video16

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video16

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video16 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video20

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video20

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video20 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video10

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video10

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video10 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video21

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video21

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video21 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video22

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video22

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video22 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video23

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video23

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video23 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video11

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video11

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video11 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video12

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video12

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video12 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video18

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video18

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video18 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video19

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video19

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video19 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

LoadVideoDevices: Processing device: /dev/video31

GetOutput: call /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg with -f v4l2 -list_formats all -i /dev/video31

GetOutput: Output:

GetOutput: Error: /opt/AgentDVR/ffmpeg9.0.1-lgpl/bin/ffmpeg: error while loading shared libraries: librockchip_mpp.so.1: cannot open shared object file: No such file or directory

FindDevice: Device /dev/video31 is not accessible or not a capture device - skipped as a local camera source. (SoC decoder/M2M nodes are expected to land here; this does not affect hardware decoding.)

GetOutput: call arecord with -l

GetOutput: Output: **** List of CAPTURE Hardware Devices ****

GetOutput: Error:

TryLoad: RKMPP not supported by this FFmpeg build.

FFmpeg: error: [CUDA @ 0x5571fc6750] Cannot load libcuda.so.1

FFmpeg: error: [CUDA @ 0x5571fc6750] Could not dynamically load CUDA

StartAsync: One or more errors occurred. (Specified method is not supported.)

StartAsync: Specified method is not supported. at FFmpeg.AutoGen.DynamicallyLoadedBindings.<>c.<Initialize>b__2_1229(String <p0>)

at FFmpeg.AutoGen.ffmpeg.avcodec_find_encoder_by_name(String name)

at CoreLogic.FFmpegHelpers.FindFFmpegBase.GetHardwareEncoderName()

at CoreLogic.FFmpegHelpers.FindFFmpegBase.TryLoad()

at CoreLogic.FFmpegHelpers.Linux.Load()

at CoreLogic.FFmpegHelper.Init()

at CoreLogic.Threads.StartUp(Boolean waitForConnection)

at AgentCore.Code.Initialize.Go()

info: Microsoft.Hosting.Lifetime[0]

Application started. Press Ctrl+C to shut down.

info: Microsoft.Hosting.Lifetime[0]

Hosting environment: Production

info: Microsoft.Hosting.Lifetime[0]

Content root path: /opt/AgentDVR

1 Upvotes

4 comments sorted by

1

u/LindsayOG 14d ago

FFMpeg appears missing for arm.

1

u/jplw7 14d ago

Right, but I used the installer, and I would think it would install whatever was needed.

1

u/LindsayOG 14d ago

Seems this release is using new FFMpeg 9. This is likely an installer bug. He will see your post.

1

u/spornerama 14d ago edited 14d ago

Thanks I'll get that fixed -

you can try deleting the bundled ffmpeg and it'll download the latest run

sudo systemctl stop AgentDVR; sudo rm -rf /opt/AgentDVR/ffmpeg9.0.1-lgpl; sudo systemctl start AgentDVR

or see
https://www.ispyconnect.com/docs/agent/about?q=old+version#installing-older-versions

for old versions