Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Frigate - Help Needed

  • 29-11-2024 10:17PM
    #1
    Registered Users, Registered Users 2 Posts: 6,437 ✭✭✭


    Hi all

    This could possibly (and hopefully) morph into a full Frigate support thread.I am stuck with two problems - one on my own system, and one on a single camera in the Mother-In-Laws

    To begin with the M-I-L, I believed that I have the config file setup for saving up to 30 days of recordings. But for some reason, it is only saving something from the past 24hrs. Could someone throw their eyes over it, and see if there is something obvious wrong with it.

    The detect stream is of a lower quality than the recording stream. And if there are better ways to format the config, then I'm all ears. I don't have any Coral device

    mqtt:
    enabled: false
    cameras:
    front:
    enabled: true
    ffmpeg:
    hwaccel_args: []
    inputs:
    - path: rtsp://championc:PASSWORD@192.168.1.10:554/channel=1_stream=1&onvif=0.sdp? # <----- The stream you want to use for detection
    roles:
    - detect
    - path: rtsp://championc:PASSWORD@192.168.1.10:554/channel=1_stream=0&onvif=0.sdp? # <----- The stream you want to use for recording
    roles:
    - record
    detect:
    enabled: true
    objects:
    track:
    - person
    - car
    - bicycle
    - motorcycle
    filters:
    person:
    threshold: 0.72
    car:
    threshold: 0.72
    bicycle:
    threshold: 0.72
    motorcycle:
    threshold: 0.72
    record:
    enabled: true
    retain:
    days: 30
    mode: active_objects
    events:
    pre_capture: 2 # Izbirno: število sekund pred dogodkom, ki ga je treba vključiti ?
    post_capture: 5 # Izbirno: število sekund po dogodku za vključitev ?
    retain:
    default: 30
    mode: active_objects
    zones:
    main:
    coordinates: 0,0,1,0,1,1,0,1
    loitering_time: 0
    inertia: 3
    motion:
    threshold: 30
    contour_area: 10
    improve_contrast: 'true'
    review:
    alerts:
    required_zones: main
    version: 0.14

    Thanks in advance



Comments

  • Registered Users, Registered Users 2 Posts: 57 ✭✭AvalonEnaid


    Config looks fine, but keep in mind that active_objects does not include objects that were stationary.

    And do you have enough storage on your device left? frigate will automatically delete the oldest recordings if it's running out of storage space.

    This might let you test a few things. It will retain all motion detection for 7 days, but any objects that you're tracking will be kept for 30 days.

    record:
    enabled: True retain:
    days: 7
    mode: motion events:
    pre_capture: 2
    post_capture: 5
    retain:
    default: 30
    mode: active_objects motion:
    threshold: 30
    contour_area: 10
    improve_contrast: True

    btw, you simply cannot go wrong with buying a Google Coral USB (only because it's super easy to install and setup) and then purchasing a subscription to Frigate+ to train a custom model for your setup. The difference in detection accuracy with a custom model is night and day/



  • Registered Users, Registered Users 2 Posts: 6,437 ✭✭✭championc


    I finally discovered my problem - I never noticed the 24hr button in the top right corner of the screen !!! Clicked on it and of course, I have recordings going back months :)

    But I have another question which I reckon is down to misconfiguration. If I go in to review recordings, and hover the mouse over them, then I see a sped up version of what was captured.

    However, when I click on any , the display changes to full screen, but the "loading" type icon just spins around and around in the centre of the screen.

    But if I export the segment, it exports OK into an MP4 file, and plays OK. So the issue is just to preview captured video. Any thoughts ?



  • Registered Users, Registered Users 2 Posts: 57 ✭✭AvalonEnaid


    If you figure that out please tell me because I experience the exact same issue 😂. And my systems CPU + RAM, and storage is more than capable of handling the disk read/write requirements.



  • Registered Users, Registered Users 2 Posts: 6,437 ✭✭✭championc


    One thing I just noticed on Wednesday was that if I accessed my system remotely, then I seemed to be able to watch clips, but not when using 127.0.0.1:5000

    I need to test further



  • Registered Users, Registered Users 2 Posts: 6,437 ✭✭✭championc


    I think, whatever issues were present in 0.14 now appear to be gone in 0.15.1



  • Advertisement
Advertisement