• Re: CCTV capture card for new PC & Zoneminder -Update

    From Davey@21:1/5 to Theo on Fri Oct 18 17:45:27 2024
    On 13 Sep 2024 20:19:28 +0100 (BST)
    Theo <theom+news@chiark.greenend.org.uk> wrote:

    Davey <davey@example.invalid> wrote:
    I'm sort of lost here, any help welcome.

    Have a look at USB adapters. SD video is not that high bit rate,
    especially if the adapter is compressing. No idea of the marketplace, although I have a $7 composite video USB capture that's probably
    awful. BNC is just composite video I think - do they power from there
    or external power?

    If you have a lot of USB devices consider extra USB PCIe cards, but 4
    behind a USB 3 hub is probably ok.

    Theo

    Today, there was a hint of sanity. I played around with the Zoneminder Monitors' Sources configuration, disabling the card inputs with no
    camera, and other variations of the Source inputs. Briefly, I saw a live
    image of the outside of the house, but when I tried to reproduce it on a different input, it would not, and I could not get it back on the
    previously working one. But, I have at last seen the Source reference
    for some tabs on the Console screen go green instead of red, albeit
    it with a blue screen, and I have seen the ZM Log produce only "Capturing......." messages instead of a stream of pink-coloured
    alarms, the wording of which means nothing to me. I will next
    concentrate on trying to get the working image back, and hoping to
    proceed from there.

    Wish me luck!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Davey on Wed Nov 27 15:11:52 2024
    On Fri, 13 Sep 2024 13:38:39 +0100
    Davey <davey@example.invalid> wrote:

    After the recent problems with the ancient Ubuntu and Zoneminder installation, I thought about upgrading the PC, the old Dell is now 24
    years old.
    I have a new separate Swann system, but I cannot find how to extract
    video from it, it likes Windows, not Linux.

    After a few weeks of doing nit very much with this, I blew away all the
    various OS versions that I had installed, and started from scratch.
    So I now have a Clean install of Ubuntu 22.04, Zoneminder is again
    installed and operating. It grabs the image from the CCTV camera in the
    garage, as it passes through the router. I have not managed to get
    anything yet directly from a camera connected to the Picolo card, usig
    Linux commands, so I am returning to the Proprietary Euresys software
    provided by the manufacturer of the Picolo card, Muliticam. I have
    followed the labyrinthine instructions for installing and setting the
    card and software up, and I freely admit that I am way out if depth, it
    is aimed at people who do coding and programming for their living.
    I have again come up against a compiling issue, and I know zero about
    this.
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    Building glfm1
    make[1]: Entering directory '/usr/src/linux-headers-6.8.0-49-generic'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:
    CC [M] /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux/os_basic_dma.o /bin/sh:
    1: gcc-12: not found make[3]: ***
    [scripts/Makefile.build:243: /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux/os_basic_dma.o]
    Error 127 make[2]: ***
    [/usr/src/linux-headers-6.8.0-49-generic/Makefile:1925: /opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux]
    Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]:
    Leaving directory '/usr/src/linux-headers-6.8.0-49-generic' make: *** [Makefile:74: default] Error 2 make: Leaving directory '/opt/euresys/multicam-linux-x86_64-6.19.1.5480/drivers/linux'

    gcc is installed on the PC.

    None of this is familiar to me, so I am asking for help in working out
    what instruction(s) I need to issue to do whatever it wants to satisfy
    this compiler issue. And is it indeed that simple, or is there
    something else that is going to make this unworkable? After this is
    working, I still need to get communication between the card and the PC.

    Any help greatly welcomed! Euresys helped a little bit, then gave up
    after admitting that they had found and were fixing a bug in the
    software. They don't need little people like me, they work with big
    industrial contractors who know how to code!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel James@21:1/5 to Davey on Thu Nov 28 13:53:53 2024
    On 27/11/2024 15:11, Davey wrote:
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    I haven't built a linux driver for some years, now ... but I recall the toolchain being quite fussy (with good reason) about the actual versions
    of the individual tools. I have on occasion found that building my own
    kernel was the easiest way to get everything consistent (or it may just
    be that I didn't understand the process well enough).

    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:

    That looks truncated ... it should tell you what version you are using
    but that information is missing.

    You can find out the actual version of gcc that you have installed by typing

    gcc --version

    With a distro as old as Ubuntu 22.04 you may find that successive
    updates have landed with a newer kernel (compiled using a newer compiler
    than you have) or a newer compiler (than was used to compile the
    kernel). Short of switching to a fresh distro with no updates (which
    *should* be consistent) or building your own kernel and drivers with the compiler you have I don't know a way to ensure consistency.

    1: gcc-12: not found make[3]: ***

    That seems to be saying that the make tool isn't installed. The easiest
    way to get the full toolchain installed is to install the metapackage
    called "build-essential".

    --
    Cheers,
    Daniel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Davey@21:1/5 to Daniel James on Thu Nov 28 14:23:58 2024
    On Thu, 28 Nov 2024 13:53:53 +0000
    Daniel James <daniel@me.invalid> wrote:

    On 27/11/2024 15:11, Davey wrote:
    When I initiate the Install procedure, it stops on a compiler
    difference condition. I pate the relavant text:

    I haven't built a linux driver for some years, now ... but I recall
    the toolchain being quite fussy (with good reason) about the actual
    versions of the individual tools. I have on occasion found that
    building my own kernel was the easiest way to get everything
    consistent (or it may just be that I didn't understand the process
    well enough).

    The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using:

    That looks truncated ... it should tell you what version you are
    using but that information is missing.

    You can find out the actual version of gcc that you have installed by
    typing

    gcc --version

    With a distro as old as Ubuntu 22.04 you may find that successive
    updates have landed with a newer kernel (compiled using a newer
    compiler than you have) or a newer compiler (than was used to compile
    the kernel). Short of switching to a fresh distro with no updates
    (which *should* be consistent) or building your own kernel and
    drivers with the compiler you have I don't know a way to ensure
    consistency.

    1: gcc-12: not found make[3]: ***

    That seems to be saying that the make tool isn't installed. The
    easiest way to get the full toolchain installed is to install the
    metapackage called "build-essential".


    Thanks for the response. The deeper I get into this, the
    more complicated it becomes. When I installed Zoneminder into the
    original ver. 8.04 machine, it was simple: Follow a script, edit a
    conf. file for the card, re-boot and start operating. This just goes
    from nothing to another nothing. and the old Pentium 111 PC using ver.
    8.04 is still working with Zoneminder!
    My present options seem to be:
    Abandon using the new PC with its own Zoneminder setup (includes
    removing the video input card. Maybe I can re-sell it!); continue to use
    the old PC, on which I can still view screens and operate the setup
    from other PCs; try again to get the Swann system to talk to Ubuntu, but
    as far as I can see that is not a common concept.

    But I have wasted enough time on this new PC and Zoneminder to say:
    "Enough is enough".
    Thanks for confirming that what I am trying to do is pointless!

    --
    Davey.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Daniel James@21:1/5 to Davey on Thu Nov 28 23:08:40 2024
    On 28/11/2024 14:23, Davey wrote:
    Thanks for confirming that what I am trying to do is pointless!

    I didn't say 'pointless' ... and there may be easier ways through the
    process than I know ... but it does require that everything use
    compatible versions of all the tools, and the easiest way to ensure compatibility is to be consistent.

    I take it you have seen this:

    https://zoneminder.readthedocs.io/en/latest/installationguide/ubuntu.html

    It seems someone has provided a prebuilt binary in a PPA, which you can
    chose to trust and just install.

    --
    Cheers,
    Daniel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)