Search found 24 matches

by Jamieeburgess
Fri Dec 11, 2020 9:30 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: objdetect_mp4 or objdetect_gif URL
Replies: 1
Views: 829

Re: objdetect_mp4 or objdetect_gif URL

facepalm 1.34.22 not running 1.35 (as using the docker) i'll look to upgrade :)
by Jamieeburgess
Fri Dec 11, 2020 9:26 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: objdetect_mp4 or objdetect_gif URL
Replies: 1
Views: 829

objdetect_mp4 or objdetect_gif URL

hi there, i imagine this may be easy to solve, but for the life of me can't work it out. URL for objdetect i'm using to provide the image with a bounding box: https://sub.domain.com/zm/index.php?username=USER&password=PASS&action=login&view=image&eid=EVENTID&fid=objdetect&wid...
by Jamieeburgess
Tue Dec 08, 2020 11:57 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

welp - still going and no closer (in fact a big loop lol) went down a gcc-10 rabbit hole weirdly, cuda doesnt seem to be fully installed (i'm assuming it pulls down a lot more packages from Nvidia) as despite adding the cuda location to PATH, the FFMPEG ./configure fails and complains about Error: f...
by Jamieeburgess
Fri Dec 04, 2020 11:39 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

ok this is just THE WORST. FFMPEG is a real PITA with dependencies! So far: sudo apt-get -y --force-yes install autoconf automake cmake git build-essential libass-dev libfreetype6-dev libgpac-dev \ libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \...
by Jamieeburgess
Fri Dec 04, 2020 5:23 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

you are correct!

Code: Select all

export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}}
ok, problem 1 solved (for now :) ) on to the real challenge, compiling ffmpeg!
by Jamieeburgess
Fri Dec 04, 2020 4:54 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

ok this is honestly STILL driving me nuts. To summarize, nvcc doesnt seem to be installed nvcc --version shows nvcc: command not found This is preventing me from recompiling ffmpeg. nvcc however does exist in /usr/local/cuda/bin I cant believe there isnt a Zoneminder FFMPEG PPA with cuvid & cuda...
by Jamieeburgess
Tue Nov 10, 2020 6:34 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

Thanks, yeah going to have another crack today with a lot less options.

I think a starting point for Zoneminder bare minimum compiling from source would be useful, then I can just add the —enable-cuvid etc.

Certainly been a learning curve (and a steep one)!
by Jamieeburgess
Mon Nov 09, 2020 11:33 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

This is absurd
Is there documented anywhere what is needed from the ffmpeg to run default Zoneminder?
Half of these libraries are named differently and there is no consistency whatsoever.
I can't imagine zoneminder is using all these libraries, despite the list output.
by Jamieeburgess
Mon Nov 09, 2020 10:34 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

ok, i'm clearly not understanding this correctly. recompiling is giving me a bunch of warnings about things not present, despite using the same variables as the existing ffmpeg (would they be located in a different location?) The docs assume a deep technical knowledge, so are quite useless. Each tim...
by Jamieeburgess
Mon Nov 09, 2020 7:43 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

ah - good call! thanks cant believe there isnt a script or guide for this? In the Zoneminder docs it just says 'only if you have GPU and FFMPEG is compiled to support'. my current ffmpeg for posterity: fmpeg version 4.3.1-0york0~18.04 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (U...
by Jamieeburgess
Mon Nov 09, 2020 5:39 pm
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Re: Recompile FFMPEG with cuvid & nvcc issue

ok so /usr/local/cuda-10.2/bin/nvcc -V does produce the result: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Wed_Oct_23_19:24:38_PDT_2019 Cuda compilation tools, release 10.2, V10.2.89 I did find this guide, so will try this (my concern is matching the va...
by Jamieeburgess
Mon Nov 09, 2020 12:31 am
Forum: ZoneMinder 1.35.x Development Branch
Topic: Recompile FFMPEG with cuvid & nvcc issue
Replies: 14
Views: 9896

Recompile FFMPEG with cuvid & nvcc issue

Hi folks, Apologies, i'm able to get opencv compiled successfully (using dlandon's docker) - nvidia-smi shows up the right driver (440.59) for the build. CUDA 10.2 seems to install ok (although ```nvcc --version``` shows as command not found? Does that mean it failed? Cant find any errors in the log...
by Jamieeburgess
Mon May 25, 2020 9:22 pm
Forum: ZoneMinder 1.34.x
Topic: Face detection video url
Replies: 8
Views: 3273

Re: Face detection video url

yep, copied in your url directly (with edits for my set up) and no luck
by Jamieeburgess
Mon May 25, 2020 5:06 pm
Forum: ZoneMinder 1.34.x
Topic: Face detection video url
Replies: 8
Views: 3273

Re: Face detection video url

web_php 10553 WAR No includes/actions/view_video.php for action login /usr/share/zoneminder/www/index.php Is the result when trying to load the event_id. I've also confirmed that this isn't limited to the face detection - the same happens for any videos on this camera. Its a USB camera streamed via...
by Jamieeburgess
Sun May 24, 2020 10:53 pm
Forum: ZoneMinder 1.34.x
Topic: Face detection video url
Replies: 8
Views: 3273

Re: Face detection video url

Thanks for the reply. I get a video loading screen but nothing plays. This only happens for videos that have gone through the face detection process OR is related to just a single camera. In the past i have had to enable cameras manually for some things as i have added them later. Could there be a s...