-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cannot see clips or recordings in Home Assistant non .io version #387
Comments
You don't have the cameras:
hose_camera:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/101/
roles:
- detect
- rtmp
- clips
- record
width: 1280
height: 720
fps: 8 |
Do you have any documentation that lists the possible options as despite readings many threads and the info on your GitHub pages would never have seen that one.
Works fine now, so any docs will help prevent further issues and annoyance to you.
Love it and keep up the good work.
When my Jetson Nano comes back from repair I will try this on that device with the correct version of course.
Thanks again
Alan
… On 16 Dec 2020, at 22:41, Blake Blackshear ***@***.***> wrote:
You don't have the clips or record roles assigned to an input.
cameras:
hose_camera:
ffmpeg:
inputs:
- path: ***@***.***:554/Streaming/Channels/101/
roles:
- detect
- rtmp
- clips
- record
width: 1280
height: 720
fps: 8
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#387 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJZI6W3S5FURQKDZRBAV6QLSVEZRTANCNFSM4U6O5H5A>.
|
I did add a warning message for the next beta, and I will include this with a bunch of other clarifications in the docs. |
Thanks as not complaining as I know that docs take time and prevent progress with the fun stuff.
Alan
…Sent from my iPhone
On 16 Dec 2020, at 23:10, Blake Blackshear ***@***.***> wrote:
I did add a warning message for the next beta, and I will include this with a bunch of other clarifications in the docs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Uhm... I added roles. still no joy |
@dvbit can you open a new issue and provide the information in the template so I can help figure out your issue? |
Hello hello, Thanks for the wonderful job. |
Can you share how you set roles up in general? I am have added the roles to my camera but still no recordings. This is what my config looks like:
I'm running on Docker with these options:
|
blakeblackshear/frigate-hass-addons#7 Check those, i think i had a similar option Hass.io Media Folder from remote Unraid Server Configuration.yaml should contain the following, The folder /media can be replaced by /mnt/media in both instances if you have other integrations that rely on media.
the output of the /media should look like this:
So you should have joy checking your /media folder with the data if you use ssh, and then you should enable the media_dirs: and media_source: , i think my error is due to running hass for so long allready that i dont have the standard settings that a newly installed yaml file includes. |
I have this release which runs fine and detects and sends snapshots into HA, sends in events etc too.
I use docker file below to run with local paths for media and these are empty apart from the frigate.db in the clips folder.
docker run --rm --name frigate --privileged --mount type=tmpfs,target=/tmp/cache,tmpfs-size=100000000 -v /dev/bus/usb:/dev/bus/usb -v /home/pi/frigate/clips:/media/frigate/clips -v /home/pi/frigate/recordings:/media/frigate/recordings -v /home/pi/frigate/config:/config:ro -v /etc/localtime:/etc/localtime:ro -e FRIGATE_RTSP_PASSWORD='meteosat007' -p 5000:5000 -p 1935:1935 blakeblackshear/frigate:0.8.0-beta1-aarch64
I can see MQTT events going out but no clips or recordings.
I see no errors with debug and info on the ffmpg streams.
ffmpeg.hose_camera.detect ERROR : frame=23908 fps= 20 q=-1.0 q=-0.0 size= 26985kB time=00:19:55.41 bitrate= 184.9kbits/s dup=0 drop=17911 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23919 fps= 20 q=-1.0 q=-0.0 size= 27024kB time=00:19:55.97 bitrate= 185.1kbits/s dup=0 drop=17919 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23930 fps= 20 q=-1.0 q=-0.0 size= 27025kB time=00:19:56.49 bitrate= 185.0kbits/s dup=0 drop=17928 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23940 fps= 20 q=-1.0 q=-0.0 size= 27026kB time=00:19:57.01 bitrate= 185.0kbits/s dup=0 drop=17935 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23951 fps= 20 q=-1.0 q=-0.0 size= 27028kB time=00:19:57.57 bitrate= 184.9kbits/s dup=0 drop=17943 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23962 fps= 20 q=-1.0 q=-0.0 size= 27029kB time=00:19:58.09 bitrate= 184.8kbits/s dup=0 drop=17952 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23972 fps= 20 q=-1.0 q=-0.0 size= 27068kB time=00:19:58.61 bitrate= 185.0kbits/s dup=0 drop=17959 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23983 fps= 20 q=-1.0 q=-0.0 size= 27069kB time=00:19:59.17 bitrate= 184.9kbits/s dup=0 drop=17967 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=23994 fps= 20 q=-1.0 q=-0.0 size= 27071kB time=00:19:59.69 bitrate= 184.9kbits/s dup=0 drop=17976 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24004 fps= 20 q=-1.0 q=-0.0 size= 27072kB time=00:20:00.21 bitrate= 184.8kbits/s dup=0 drop=17983 speed= 1x
peewee DEBUG : ('SELECT DISTINCT "t1"."label" FROM "event" AS "t1" WHERE ("t1"."camera" NOT IN (?))', ['hose_camera'])
peewee DEBUG : ('SELECT DISTINCT "t1"."label" FROM "event" AS "t1" WHERE ("t1"."camera" = ?)', ['hose_camera'])
ffmpeg.hose_camera.detect ERROR : frame=24015 fps= 20 q=-1.0 q=-0.0 size= 27073kB time=00:20:00.77 bitrate= 184.7kbits/s dup=0 drop=17991 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24026 fps= 20 q=-1.0 q=-0.0 size= 27113kB time=00:20:01.29 bitrate= 184.9kbits/s dup=0 drop=18000 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24036 fps= 20 q=-1.0 q=-0.0 size= 27114kB time=00:20:01.81 bitrate= 184.8kbits/s dup=0 drop=18007 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24047 fps= 20 q=-1.0 q=-0.0 size= 27115kB time=00:20:02.37 bitrate= 184.7kbits/s dup=0 drop=18015 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24058 fps= 20 q=-1.0 q=-0.0 size= 27117kB time=00:20:02.89 bitrate= 184.7kbits/s dup=0 drop=18024 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24068 fps= 20 q=-1.0 q=-0.0 size= 27156kB time=00:20:03.41 bitrate= 184.9kbits/s dup=0 drop=18031 speed= 1x
ffmpeg.hose_camera.detect ERROR : frame=24079 fps= 20 q=-1.0 q=-0.0 size= 27157kB time=00:20:03.97 bitrate= 184.8kbits/s dup=0 drop=18039 speed= 1x
Extract after starting the docker container.
...done.
peewee DEBUG : ('CREATE TABLE IF NOT EXISTS "event" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "label" VARCHAR(20) NOT NULL, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "top_score" REAL NOT NULL, "false_positive" INTEGER NOT NULL, "zones" JSON NOT NULL, "thumbnail" TEXT NOT NULL)', [])
peewee DEBUG : ('CREATE INDEX IF NOT EXISTS "event_label" ON "event" ("label")', [])
peewee DEBUG : ('CREATE INDEX IF NOT EXISTS "event_camera" ON "event" ("camera")', [])
detector.coral INFO : Starting detection process: 35
frigate.app INFO : Camera processor started for hose_camera: 38
frigate.app INFO : Capture process started for hose_camera: 39
frigate.edgetpu INFO : Attempting to load TPU as usb
frigate.edgetpu INFO : No EdgeTPU detected. Falling back to CPU.
ffmpeg.hose_camera.detect ERROR : Input #0, rtsp, from 'rtsp://admin:[email protected]:554/Streaming/Channels/101/':
ffmpeg.hose_camera.detect ERROR : Metadata:
ffmpeg.hose_camera.detect ERROR : title : Media Presentation
ffmpeg.hose_camera.detect ERROR : Duration: N/A, start: 1608141115.579678, bitrate: N/A
ffmpeg.hose_camera.detect ERROR : Stream #0:0: Video: h264, yuvj420p(pc, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 20 fps, 25 tbr, 90k tbn, 40 tbc
ffmpeg.hose_camera.detect ERROR : [h264_v4l2m2m @ 0x55c3557b40] Using device /dev/video10
ffmpeg.hose_camera.detect ERROR : [h264_v4l2m2m @ 0x55c3557b40] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
ffmpeg.hose_camera.detect ERROR : [h264_v4l2m2m @ 0x55c3557b40] requesting formats: output=H264 capture=YU12
ffmpeg.hose_camera.detect ERROR : Output #0, flv, to 'rtmp://127.0.0.1/live/hose_camera':
ffmpeg.hose_camera.detect ERROR : Metadata:
ffmpeg.hose_camera.detect ERROR : title : Media Presentation
ffmpeg.hose_camera.detect ERROR : encoder : Lavf58.45.100
ffmpeg.hose_camera.detect ERROR : Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuvj420p(pc, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 20 fps, 25 tbr, 1k tbn, 90k tbc
ffmpeg.hose_camera.detect ERROR : Stream mapping:
ffmpeg.hose_camera.detect ERROR : Stream #0:0 -> #0:0 (copy)
ffmpeg.hose_camera.detect ERROR : Stream #0:0 -> Regions #1:0 (h264 (h264_v4l2m2m) -> rawvideo (native))
ffmpeg.hose_camera.detect ERROR : Press [q] to stop, [?] for help
ffmpeg.hose_camera.detect ERROR : Output Regions #1, rawvideo, to 'pipe:':
ffmpeg.hose_camera.detect ERROR : Metadata:
ffmpeg.hose_camera.detect ERROR : title : Media Presentation
ffmpeg.hose_camera.detect ERROR : encoder : Lavf58.45.100
ffmpeg.hose_camera.detect ERROR : Stream Regions #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, q=2-31, 55296 kb/s, 5 fps, 5 tbn, 5 tbc
ffmpeg.hose_camera.detect ERROR : Metadata:
ffmpeg.hose_camera.detect ERROR : encoder : Lavc58.91.100 rawvideo
ffmpeg.hose_camera.detect ERROR : frame= 34 fps=0.0 q=-1.0 q=-0.0 size= 89kB time=00:00:01.65 bitrate= 442.1kbits/s dup=0 drop=6 speed=3.28x
ffmpeg.hose_camera.detect ERROR : frame= 44 fps= 43 q=-1.0 q=-0.0 size= 92kB time=00:00:02.17 bitrate= 348.7kbits/s dup=0 drop=13 speed= 2.1x
ffmpeg.hose_camera.detect ERROR : frame= 55 fps= 35 q=-1.0 q=-0.0 size= 165kB time=00:00:02.73 bitrate= 494.9kbits/s dup=0 drop=22 speed=1.73x
ffmpeg.hose_camera.detect ERROR : frame= 66 fps= 31 q=-1.0 q=-0.0 size= 169kB time=00:00:03.25 bitrate= 426.3kbits/s dup=0 drop=30 speed=1.55x
ffmpeg.hose_camera.detect ERROR : frame= 76 fps= 29 q=-1.0 q=-0.0 size= 173kB time=00:00:03.77 bitrate= 376.1kbits/s dup=0 drop=37 speed=1.43x
ffmpeg.hose_camera.detect ERROR : frame= 87 fps= 27 q=-1.0 q=-0.0 size= 177kB time=00:00:04.33 bitrate= 333.8kbits/s dup=0 drop=46 speed=1.36x
ffmpeg.hose_camera.detect ERROR : frame= 98 fps= 26 q=-1.0 q=-0.0 size= 179kB time=00:00:04.85 bitrate= 302.8kbits/s dup=0 drop=54 speed=1.31x
ffmpeg.hose_camera.detect ERROR : frame= 108 fps= 25 q=-1.0 q=-0.0 size= 252kB time=00:00:05.37 bitrate= 383.6kbits/s dup=0 drop=61 speed=1.27x
ffmpeg.hose_camera.detect ERROR : frame= 119 fps= 25 q=-1.0 q=-0.0 size= 254kB time=00:00:05.93 bitrate= 350.7kbits/s dup=0 drop=70 speed=1.24x
ffmpeg.hose_camera.detect ERROR : frame= 130 fps= 25 q=-1.0 q=-0.0 size= 258kB time=00:00:06.45 bitrate= 327.6kbits/s dup=0 drop=78 speed=1.22x
ffmpeg.hose_camera.detect ERROR : frame= 140 fps= 24 q=-1.0 q=-0.0 size= 261kB time=00:00:06.97 bitrate= 306.8kbits/s dup=0 drop=85 speed=1.19x
ffmpeg.hose_camera.detect ERROR : frame= 151 fps= 24 q=-1.0 q=-0.0 size= 332kB time=00:00:07.53 bitrate= 360.9kbits/s dup=0 drop=94 speed=1.18x
ffmpeg.hose_camera.detect ERROR : frame= 162 fps= 23 q=-1.0 q=-0.0 size= 335kB time=00:00:08.05 bitrate= 340.6kbits/s dup=0 drop=102 speed=1.17x
In HA under the media browser I can see frigate group and within it clips and recordings folders but never any clips.
Config.yml
Have searched open issues and Google but nothing pops up. So I look to your guidance.
Alan
The text was updated successfully, but these errors were encountered: