Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Proxmox LXC mit Frigate

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Proxmox LXC mit Frigate

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      exitus last edited by exitus

      ich habe kamera eingebunden habe aber ein greenscreen nur
      woran kann es liegen???
      erledigt

      1 Reply Last reply Reply Quote 0
      • E
        exitus last edited by exitus

        Hallo was ist an diesem config falsch

        detectors:
          cpu1:
            type: cpu
        database:
            path: /db/frigate.db
        mqtt:
          host: 172.16.0.10
          port: 1689
          user: admin
          password: passwort
        cameras:
          Parkplatz:
            ffmpeg:
              output_args:
                record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -st>
                rtmp: -c:v copy -c:a aac -f flv
        
              inputs:
        	  - path: rtsp://admin:passwort@172.16.0.147:554/Streaming/Channels/102/?trans>
                  roles:
                    - detect
                    - path: rtsp://admin:passwort1@172.16.0.147:554/Streaming/Channels/101?tr>
                  roles:
                    - record
            rtmp:
              enabled: False
        detect:
              width: 640
              height: 480
        
        objects:
              track:
                - person
                - car
                - dog
        
        snapshots:
              enabled: true
        	  timestamp: true
              bounding_box: true
              retain:
                default: 2
        
        record:
              enabled: true
              retain:
                days: 10
        

        was sind das für errors

        [2023-05-10 06:39:21] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:39:21] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:39:24] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:39:24] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:39:31] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:39:31] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:39:31] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x5613b818fec0] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:39:31] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:39:31] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:39:31] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:39:35] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:39:35] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:39:41] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:39:41] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:39:41] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x565490d5b080] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:39:41] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:39:41] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:39:41] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:39:45] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:39:45] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:39:46] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51710]
        [2023-05-10 06:39:51] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:39:51] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:39:51] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x55d19e0b4f40] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:39:51] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:39:51] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:39:51] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:39:55] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:39:55] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:40:01] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:40:01] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:40:01] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x55c154580500] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:40:01] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:40:01] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:40:01] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:40:04] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:40:04] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:40:11] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:40:11] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:40:11] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x561611bada80] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:40:11] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:40:11] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:40:11] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:40:14] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:40:14] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:40:21] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:40:21] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:40:21] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x55cdb7c11380] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:40:21] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:40:21] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:40:21] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:40:25] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:40:25] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:40:31] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:40:31] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:40:31] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x555cad1cc4c0] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:40:31] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:40:31] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:40:31] ffmpeg.Parkplatz.detect        ERROR   : 
        [2023-05-10 06:40:35] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:40:35] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:40:41] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:40:41] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:40:41] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x55c7da0535c0] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:40:41] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:40:41] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:40:41] ffmpeg.Parkplatz.detect        ERROR   : 
        [cont-finish.d] executing container finish scripts...
        [cont-finish.d] done.
        [s6-finish] waiting for services.
        [s6-finish] sending all processes the TERM signal.
        [s6-finish] sending all processes the KILL signal and exiting.
        [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
        [s6-init] ensuring user provided files have correct perms...exited 0.
        [fix-attrs.d] applying ownership & permissions fixes...
        [fix-attrs.d] done.
        [cont-init.d] executing container initialization scripts...
        [cont-init.d] done.
        [services.d] starting services
        [services.d] done.
        [2023-05-10 06:40:49] frigate.app                    INFO    : Starting Frigate (0.11.1-2eada21)
        Starting migrations
        [2023-05-10 06:40:49] peewee_migrate                 INFO    : Starting migrations
        There is nothing to migrate
        [2023-05-10 06:40:49] peewee_migrate                 INFO    : There is nothing to migrate
        [2023-05-10 06:40:49] detector.cpu1                  INFO    : Starting detection process: 216
        [2023-05-10 06:40:49] frigate.app                    INFO    : Output process started: 218
        [2023-05-10 06:40:49] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
        [2023-05-10 06:40:49] ws4py                          INFO    : Using epoll
        [2023-05-10 06:40:49] frigate.app                    INFO    : Camera processor started for Parkplatz: 222
        [2023-05-10 06:40:49] frigate.app                    INFO    : Capture process started for Parkplatz: 224
        [2023-05-10 06:40:49] ws4py                          INFO    : Using epoll
        [2023-05-10 06:40:53] frigate.video                  ERROR   : Parkplatz: Unable to read frames from ffmpeg process.
        [2023-05-10 06:40:53] frigate.video                  ERROR   : Parkplatz: ffmpeg process is not running. exiting capture thread...
        [2023-05-10 06:41:09] watchdog.Parkplatz             ERROR   : Ffmpeg process crashed unexpectedly for Parkplatz.
        [2023-05-10 06:41:09] watchdog.Parkplatz             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
        [2023-05-10 06:41:09] ffmpeg.Parkplatz.detect        ERROR   : [hevc_mp4toannexb @ 0x5621d50b8800] Codec 'h264' (27) is not supported by the bitstream filter 'hevc_mp4toannexb'. Supported codecs are: hevc (173) 
        [2023-05-10 06:41:09] ffmpeg.Parkplatz.detect        ERROR   : Error initializing bitstream filter: hevc_mp4toannexb
        [2023-05-10 06:41:09] ffmpeg.Parkplatz.detect        ERROR   : Error initializing output stream 0:0 -- 
        [2023-05-10 06:41:09] ffmpeg.Parkplatz.detect        ERROR   : 
        

        snapshot bewegung wird erkannt aber ich habe keine aufnahmen oder clips

        Wal 1 Reply Last reply Reply Quote 0
        • Wal
          Wal Developer @exitus last edited by

          @exitus sagte in Proxmox LXC mit Frigate:

          output_args:
          record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -st>
          rtmp: -c:v copy -c:a aac -f flv

          Was möchtest du damit erreichen ?
          Wenn du was transcodieren möchtest nimmt man in frigate 0.12.0 go2rtc das ist mit dabei.

          E 1 Reply Last reply Reply Quote 0
          • E
            exitus @Wal last edited by

            @wal eigentlich garnichts habe es irgendwo gefunden und eingefügt damit ich kein greenscreen habe.
            haben annke nc400 möchte das es erkennt und aufnimmt.
            Bei mir werden bilder gemach aber keine clips.
            Mein kamera sendet h264

            Wal 2 Replies Last reply Reply Quote 0
            • Wal
              Wal Developer @exitus last edited by Wal

              @exitus ,
              meine reolink auch und habe keinen Greenscreen.

                camera1:
                  ffmpeg:
                    hwaccel_args: preset-vaapi
                    inputs:
                      - path: rtsp://admin:08154711@192.168.122.100:554/h264Preview_01_sub
                        roles:
                          - detect
                      - path: rtsp://admin:08154711@192.168.122.122:554/h264Preview_01_main
                        roles:
                          - record
                  detect:
                    width: 640
                    height: 360
                  mqtt:
                    enabled: False
              

              Greenscreen hatte ich mit einem Raspi4 mit aktivierter Hardwarebeschleunigung.

              1 Reply Last reply Reply Quote 0
              • Wal
                Wal Developer @exitus last edited by Wal

                @exitus ,
                lese gerade das die Kamera auch h265 kann.

                Hier ist ein Video für das Einbinden einer nc400, zwar für Hass aber das geht auch über frigate. Etwa bei 8:30 min

                1 Reply Last reply Reply Quote 0
                • E
                  exitus last edited by

                  wäre jemand nett und könnte mir helfen wie ich synology nas freigabe in meinem container wo frigate läuft mounten damit ich die aufnahmen auf dem nas habe.
                  wäre nett wenn jemand schritt für schritt erklärt.
                  gemout habe ich es bekommen aber wenn ich den frigate container starten möchte steht immer acces denied

                  Wal 1 Reply Last reply Reply Quote 0
                  • Wal
                    Wal Developer @exitus last edited by

                    @exitus ,
                    du machst das Laufwerk unter dem Proxmox Host verfügbar z.B. unter '/media/synology' so als wäre es ein normales Laufwerk.
                    Danach gibst du in der lxc.conf den Ordner für den Frigate LXC frei.

                    arch: amd64
                    cores: 4
                    features: keyctl=1,nesting=1
                    hostname: testfrigate
                    memory: 8192
                    mp0: /media/synology,mp=/media/frigate
                    ....
                    

                    danach ist der Ordner im LXC unter '/media/frigate' verfügbar und du kannst ihn im Docker hinzufügen.

                    ...
                        volumes:
                          - /etc/localtime:/etc/localtime:ro
                          - /home/frigate/config/config.yml:/config/config.yml
                          - /media/frigate:/media/frigate
                      ...
                    
                    E 1 Reply Last reply Reply Quote 0
                    • E
                      exitus @Wal last edited by

                      @wal das habe ich gemacht, ich kann auch über die Konsole vom lxc kann ich die freigabe sehen aber habe kein schreib zugriff.
                      Ich habe über den Host in fstab die freigabe eingetragen , über den Host habe ich die schreib und leserechte von der nas aber über die lxc container vo docker und frigate läuft nicht

                      Wal 2 Replies Last reply Reply Quote 0
                      • Wal
                        Wal Developer @exitus last edited by

                        @exitus,
                        ok da kann ich jetzt nicht helfen.
                        Ich mache es anders rum, habe eine USB Festplatte als LXC-Backup und Datenspeicher eingerichtet und gebe diese über einen Samba LXC im Netzwerk frei. Damit habe ich Zugriff auf alle Dateien die ich im Proxmox speichere.

                        1 Reply Last reply Reply Quote 0
                        • Wal
                          Wal Developer @exitus last edited by

                          @exitus ,
                          schau dir das mal an, könnte helfen.

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            exitus @Wal last edited by

                            @wal habe es geschafft jetz anderes problem habe 2 cameras beide machen screenshots dedection klappt bei einen habe ich clips bei den anderen nur bilder ohne clips wo kein clips sind ist die kamera mit der bezeichnung back
                            ier mein config

                            database: 
                              path: /media/frigate/db/frigate.db
                            detectors:
                              cpu1:
                                type: cpu
                            ui:
                              use_experimental: false
                              live_mode: mse
                            mqtt:
                              host: 172.16.0.10
                              port: 12345
                              user: xxxxxxx
                              password: exxxxx
                            
                            cameras:
                              back1:
                                ffmpeg:
                                  inputs:
                                    - path: rtsp://admin:xxxxx@172.16.0.177:554/channel=2
                                      roles:
                                        - detect
                                        - rtmp
                                    - path: rtsp://admin:xxxxxxx@172.16.0.177:554/channel=1
                                      roles:
                                        - record
                              back:
                                ffmpeg:
                                  inputs:
                                    - path: rtsp://admin:xxxxxxxx@172.16.0.147:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2
                                      roles:
                                        - detect
                                        - rtmp
                                    - path: rtsp://admin:xxxxxxxx@172.16.0.147:554
                                      roles:
                                        - record
                            
                            detect:
                                  width: 640
                                  height: 480
                                  fps: 5
                            objects:
                                  track:
                                    - person
                                    - dog
                                    - bicycle
                                    - cat
                                  filters:
                                    person:
                                      min_score: 0.7
                                      threshold: 0.5
                                      min_area: 700
                            snapshots:
                                  enabled: true
                                  timestamp: true
                                  bounding_box: true
                                  crop: True
                                  height: 500
                                  retain:
                                    default: 1
                            
                            record:
                              enabled: True
                              events:
                                retain:
                                  default: 10
                            
                            birdseye:
                              enabled: True
                              mode: continuous
                            
                            Wal 1 Reply Last reply Reply Quote 0
                            • Wal
                              Wal Developer @exitus last edited by

                              @exitus ,
                              schau mal im Adapter ob das dort eingeschaltet ist.
                              Screenshot 2023-05-19 104650.png

                              E 1 Reply Last reply Reply Quote 0
                              • E
                                exitus @Wal last edited by

                                @wal bei mir steht OFF wo kann man es den einschalten im config ist ja true,
                                warum ist der eine on und der andere off

                                Wal 1 Reply Last reply Reply Quote 0
                                • Wal
                                  Wal Developer @exitus last edited by

                                  @exitus ,
                                  state ist nur der Status und mit Set kann man an und ausschalten.

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    exitus last edited by

                                    mein coral cpu ist das was habe ich gemacht habe unter proxmox wie auf der seite von coral installiert
                                    ausgabe lsusb

                                    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                    Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
                                    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                    Bus 002 Device 002: ID 1a6e:089a Global Unichip Corp. 
                                    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                    Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
                                    Bus 001 Device 002: ID 0451:16c8 Texas Instruments, Inc. CC2538 USB CDC
                                    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                    
                                    ls -l /dev/bus/usb/002/002
                                    crw-rw-r-- 1 root plugdev 189, 129 May 24 16:13 /dev/bus/usb/002/002
                                    

                                    lxc 117.conf

                                    arch: amd64
                                    cores: 6
                                    hostname: frigate
                                    memory: 8096
                                    net0: name=eth0,bridge=vmbr0,firewall=1,gw=172.16.0.1,hwaddr=22:88:33:2D:28:77,ip=172.1>
                                    ostype: debian
                                    rootfs: local-lvm:vm-117-disk-1,size=30G
                                    swap: 512
                                    lxc.cgroup.devices.allow: c 226:0 rwm
                                    lxc.cgroup.devices.allow: c 226:128 rwm
                                    lxc.cgroup.devices.allow: c 29:0 rwm
                                    lxc.cgroup.devices.allow: c 189:* rwm
                                    lxc.apparmor.profile: unconfined
                                    lxc.cgroup.devices.allow: a
                                    lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file >
                                    lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
                                    lxc.cap.drop:
                                    lxc.mount.auto: cgroup:rw
                                    

                                    frigate conf

                                    database: 
                                      path: /media/frigate/db/frigate.db
                                    detectors:
                                      coral:
                                        type: edgetpu
                                        device: usb
                                    ui:
                                      use_experimental: false
                                      live_mode: mse
                                    mqtt:
                                      host: 172.16.0.10
                                      port: 1689
                                      user: so
                                      password: xxxxx
                                    record:
                                      enabled: True
                                      retain:
                                        days: 7
                                        mode: all
                                      events:
                                        retain:
                                          default: 30
                                    snapshots:
                                      enabled: True
                                      timestamp: False
                                      bounding_box: true
                                      retain:
                                        default: 90
                                    
                                    detect:
                                      stationary:
                                        max_frames:
                                          objects:
                                            person: 1200
                                    cameras:
                                      back1:
                                        ffmpeg:
                                          inputs:
                                            - path: rtsp://admin:xxxxxx@172.16.0.177:554/channel=2
                                              roles:
                                                - detect
                                                - rtmp
                                            - path: rtsp://admin:xxxxx@172.16.0.177:554/channel=1
                                              roles:
                                                - record
                                          output_args:
                                            record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
                                        
                                        detect:
                                          width: 1280
                                          height: 720
                                        objects:
                                          track:
                                            - person
                                            - car
                                        record:
                                          events:
                                            required_zones:
                                              - street
                                              - all
                                        zones:
                                          street:
                                            coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
                                            objects:
                                              - car
                                          all:
                                            coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
                                            objects:
                                              - person
                                        motion:
                                          mask:
                                            - 254,79,503,44,848,24,1113,43,1111,0,439,0,291,0,226,0,0,0,0,159        
                                              
                                      back:
                                        ffmpeg:
                                          inputs:
                                            - path: rtsp://admin:xxxxxx@172.16.0.147:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2
                                              roles:
                                                - detect
                                                - rtmp
                                            - path: rtsp://admin:xxxxxx@172.16.0.147:554
                                              roles:
                                                - record
                                        detect:
                                          width: 1280
                                          height: 720
                                        objects:
                                          track:
                                            - person
                                            - car
                                        record:
                                          events:
                                            required_zones:
                                              - street
                                              - all
                                        zones:
                                          street:
                                            coordinates: 470,676,592,583,1051,569,1257,341,1147,254,1063,247,779,299,536,378,476,471,389,399,332,473,241,427,293,647
                                            objects:
                                              - person
                                          #all:
                                            #coordinates: 472,57,526,64,1031,129,1060,95,941,30,504,26,376,0,175,0,0,0,33,169,191,143,360,110
                                            #objects:
                                             # - person
                                    

                                    ohne edge tpu ging es , habe detector auf edgetpu geänder seit dem habe ich kein bild kommt so für 1 sekunde und wider alles schwarz wie auf dem bild
                                    frigate.png

                                    mein log vom docker

                                    2023-05-24 16:34:48.086320180  
                                    2023-05-24 16:34:53.211082426  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting Frigate...
                                    s6-rc: info: service legacy-services: stopping
                                    s6-rc: info: service legacy-services successfully stopped
                                    s6-rc: info: service nginx: stopping
                                    s6-rc: info: service go2rtc-healthcheck: stopping
                                    2023-05-24 16:34:53.227039323  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
                                    s6-rc: info: service go2rtc-healthcheck successfully stopped
                                    2023-05-24 16:34:53.305962172  [INFO] Service NGINX exited with code 0 (by signal 0)
                                    s6-rc: info: service nginx successfully stopped
                                    s6-rc: info: service nginx-log: stopping
                                    s6-rc: info: service frigate: stopping
                                    2023-05-24 16:34:53.309352767  [2023-05-24 16:34:53] frigate.app                    INFO    : Stopping...
                                    s6-rc: info: service nginx-log successfully stopped
                                    2023-05-24 16:34:53.311354844  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Exiting watchdog...
                                    2023-05-24 16:34:53.312088389  [2023-05-24 16:34:53] frigate.storage                INFO    : Exiting storage maintainer...
                                    2023-05-24 16:34:53.312100611  [2023-05-24 16:34:53] frigate.stats                  INFO    : Exiting stats emitter...
                                    2023-05-24 16:34:53.312107805  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording maintenance...
                                    2023-05-24 16:34:53.320612754  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording cleanup...
                                    2023-05-24 16:34:53.321374794  [2023-05-24 16:34:53] frigate.events                 INFO    : Exiting event cleanup...
                                    2023-05-24 16:34:53.321393162  [2023-05-24 16:34:53] frigate.object_processing      INFO    : Exiting object processor...
                                    2023-05-24 16:34:53.571418465  [2023-05-24 16:34:53] frigate.comms.ws               INFO    : Exiting websocket client...
                                    2023-05-24 16:34:54.249977376  [2023-05-24 16:34:54] frigate.events                 INFO    : Exiting event processor...
                                    2023-05-24 16:34:54.250550076  [2023-05-24 16:34:54] peewee.sqliteq                 INFO    : writer received shutdown request, exiting.
                                    2023-05-24 16:34:54.259106288  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
                                    2023-05-24 16:34:54.259777814  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
                                    2023-05-24 16:34:54.266624376  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
                                    2023-05-24 16:34:54.266775374  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
                                    2023-05-24 16:34:54.383145698  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
                                    2023-05-24 16:34:54.383311572  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
                                    2023-05-24 16:34:54.415749456  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
                                    2023-05-24 16:34:54.415853799  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
                                    2023-05-24 16:34:54.637141769  [2023-05-24 16:34:54] frigate.output                 INFO    : exiting output process...
                                    2023-05-24 16:34:58.559268884  /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 13 leaked shared_memory objects to clean up at shutdown
                                    2023-05-24 16:34:58.559280338    warnings.warn('resource_tracker: There appear to be %d '
                                    2023-05-24 16:34:58.560386418  [INFO] Service Frigate exited with code 0 (by signal 0)
                                    s6-rc: info: service frigate successfully stopped
                                    s6-rc: info: service go2rtc: stopping
                                    s6-rc: info: service frigate-log: stopping
                                    2023-05-24 16:34:58.563280091  exit OK
                                    s6-rc: info: service frigate-log successfully stopped
                                    2023-05-24 16:34:58.570563372  [INFO] The go2rtc service exited with code 0 (by signal 0)
                                    s6-rc: info: service go2rtc successfully stopped
                                    s6-rc: info: service go2rtc-log: stopping
                                    s6-rc: info: service go2rtc-log successfully stopped
                                    s6-rc: info: service log-prepare: stopping
                                    s6-rc: info: service s6rc-fdholder: stopping
                                    s6-rc: info: service log-prepare successfully stopped
                                    s6-rc: info: service legacy-cont-init: stopping
                                    s6-rc: info: service s6rc-fdholder successfully stopped
                                    s6-rc: info: service legacy-cont-init successfully stopped
                                    s6-rc: info: service fix-attrs: stopping
                                    s6-rc: info: service fix-attrs successfully stopped
                                    s6-rc: info: service s6rc-oneshot-runner: stopping
                                    s6-rc: info: service s6rc-oneshot-runner successfully stopped
                                    s6-rc: info: service s6rc-fdholder: starting
                                    s6-rc: info: service s6rc-oneshot-runner: starting
                                    s6-rc: info: service s6rc-oneshot-runner successfully started
                                    s6-rc: info: service fix-attrs: starting
                                    s6-rc: info: service s6rc-fdholder successfully started
                                    s6-rc: info: service fix-attrs successfully started
                                    s6-rc: info: service legacy-cont-init: starting
                                    s6-rc: info: service legacy-cont-init successfully started
                                    s6-rc: info: service log-prepare: starting
                                    s6-rc: info: service log-prepare successfully started
                                    s6-rc: info: service nginx-log: starting
                                    s6-rc: info: service go2rtc-log: starting
                                    s6-rc: info: service frigate-log: starting
                                    s6-rc: info: service nginx-log successfully started
                                    s6-rc: info: service go2rtc-log successfully started
                                    s6-rc: info: service go2rtc: starting
                                    s6-rc: info: service frigate-log successfully started
                                    s6-rc: info: service go2rtc successfully started
                                    s6-rc: info: service go2rtc-healthcheck: starting
                                    s6-rc: info: service frigate: starting
                                    s6-rc: info: service go2rtc-healthcheck successfully started
                                    s6-rc: info: service frigate successfully started
                                    s6-rc: info: service nginx: starting
                                    2023-05-24 16:35:03.269511637  [INFO] Preparing go2rtc config...
                                    s6-rc: info: service nginx successfully started
                                    s6-rc: info: service legacy-services: starting
                                    2023-05-24 16:35:03.274350536  [INFO] Starting Frigate...
                                    2023-05-24 16:35:03.274655883  [INFO] Starting NGINX...
                                    s6-rc: info: service legacy-services successfully started
                                    2023-05-24 16:35:03.544117376  [INFO] Starting go2rtc...
                                    2023-05-24 16:35:03.635953359  16:35:03.635 INF go2rtc version 1.2.0 linux/amd64
                                    2023-05-24 16:35:03.636486320  16:35:03.636 INF [api] listen addr=:1984
                                    2023-05-24 16:35:03.636814435  16:35:03.636 INF [rtsp] listen addr=:8554
                                    2023-05-24 16:35:03.637127674  16:35:03.637 INF [srtp] listen addr=:8443
                                    2023-05-24 16:35:03.637534711  16:35:03.637 INF [webrtc] listen addr=:8555
                                    2023-05-24 16:35:04.485742533  [2023-05-24 16:35:04] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
                                    2023-05-24 16:35:04.527219793  [2023-05-24 16:35:04] peewee_migrate                 INFO    : Starting migrations
                                    2023-05-24 16:35:04.531970132  [2023-05-24 16:35:04] peewee_migrate                 INFO    : There is nothing to migrate
                                    2023-05-24 16:35:04.549606158  [2023-05-24 16:35:04] detector.coral                 INFO    : Starting detection process: 429
                                    2023-05-24 16:35:04.554122319  [2023-05-24 16:35:04] frigate.app                    INFO    : Output process started: 431
                                    2023-05-24 16:35:04.561305867  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back1: 437
                                    2023-05-24 16:35:04.570196340  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back: 439
                                    2023-05-24 16:35:04.576351891  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back1: 440
                                    2023-05-24 16:35:04.582484533  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back: 444
                                    2023-05-24 16:35:13.274499111  [INFO] Starting go2rtc healthcheck service...
                                    
                                    Wal 1 Reply Last reply Reply Quote 0
                                    • Wal
                                      Wal Developer @exitus last edited by Wal

                                      @exitus ,
                                      in der docker.yml hast du die coral usb auch durchgereicht ?
                                      Die Treiber im Proxmox-Host sind auch installiert ?

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        exitus @Wal last edited by exitus

                                        @wal proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host
                                        mit der rechte meinst du doch
                                        /dev/bus/usb:/dev/bus/usb
                                        habe frigate so getstartet

                                        docker run --name frigate --privileged --shm-size=1g --mount type=tmpfs,target=/tmp/cache,tmpfs-size=2000000000 -v /shared/frigate/config:/config:rw -v /dev/bus/usb:/dev/bus/usb -v /etc/localtime:/etc/localtime:ro -v /shared/frigate:/media/frigate/clips:rw -v /shared/frigate/recordings:/media/frigate/recordings:rw -v /home/frigate:/media/frigate/db:rw --device-cgroup-rule="c 189:* rmw" --device=/dev/dri/renderD128 -d -p 5000:5000 -e FRIGATE_RTSP_PASSWORD='elajelaj-61' ghcr.io/blakeblackshear/frigate:stable
                                        

                                        frigate.png

                                        Wal 1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @exitus last edited by Wal

                                          @exitus sagte in Proxmox LXC mit Frigate:

                                          proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host

                                          das ist mir schon klar, heisst aber nicht das du das gemacht hast:

                                          echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
                                          
                                          curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
                                          
                                          sudo apt-get update
                                          
                                          sudo apt-get install libedgetpu1-std gasket-dkms
                                          

                                          und der aktuelle pve-kernel-header muss vorher auch installiert sein, wobei der gasket-dkms evtl. auch nur für die PCI Version installiert werden muss, weiß ich aber nicht da ich keine USB-Verdion habe.

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            exitus @Wal last edited by exitus

                                            @wal

                                            echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
                                            
                                            curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
                                            
                                            sudo apt-get update
                                            Install the Edge TPU runtime:
                                            
                                            sudo apt-get install libedgetpu1-std
                                            

                                            das habe ich gemacht unter proxmox host und im container

                                            Wal 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            763
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            176
                                            27059
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo