Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recordings location #797

Open
bludhemn opened this issue Aug 11, 2024 · 1 comment
Open

Recordings location #797

bludhemn opened this issue Aug 11, 2024 · 1 comment

Comments

@bludhemn
Copy link

bludhemn commented Aug 11, 2024

Trying to figure out where my recordings are stored.

docker-compose.yml

version: "2.4"

services:
  viseron:
    image: roflcoopter/viseron:latest
    container_name: viseron
    volumes:
      - /data/media/visreon/recordings:/recordings
      - /home/blud/docker/viseron/config:/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 8888:8888
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
    environment:
      - PUID=1000
      - PGID=1000
      
blud@andromeda:~/docker/viseron$ ls -l /data/media/viseron
ls: cannot access '/data/media/viseron': No such file or directory

config.yml

## Start by adding some cameras
ffmpeg:
  camera:
    camera_1:  # This value has to be unique across all cameras
      name: deck
      host: 10.0.1.180
      port: 554
      path: /cam/realmonitor?channel=1&subtype=0
      username: viewer
      password: xx

    camera_2:  # This value has to be unique across all cameras
      name: driveway
      host: 10.0.1.181
      port: 554
      path: /cam/realmonitor?channel=1&subtype=0
      username: viewer
      password: xx


## Then add an object detector
darknet:
  object_detector:
    cameras:
      camera_1:  # Attach detector to the configured camera_1 above
        fps: 1
        scan_on_motion_only: false  # Scan for objects even when there is no motion
        labels:
          - label: person
            confidence: 0.75
            trigger_recorder: true

      camera_2:  # Attach detector to the configured camera_2 above
        fps: 1
        labels:
          - label: person
            confidence: 0.75
            trigger_recorder: true


## You can also use motion detection
mog2:
  motion_detector:
    cameras:
      camera_2:  # Attach detector to the configured camera_2 above
        fps: 1


## To tie everything together we need to configure one more component.
nvr:
  camera_1:  # Run NVR for camera_1
  camera_2:  # Run NVR for camera_2

Recording list

viseron1

@bludhemn
Copy link
Author

I found all the recordings; they were stored under /media/recordings/viseron/<camera_name>

Wondering how that happened, considering that the volume mount specified was:
- /data/media/visreon/recordings:/recordings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant