blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.94k stars 1.73k forks source link

[Support]: frigate RTMP stream not able to ingest with OMXplayer #2559

Closed stoneobscurity closed 2 years ago

stoneobscurity commented 2 years ago

Describe the problem you are having

i'm using https://github.com/raspicamplayer/camplayer which uses OMXplayer under the hood, but i am unable to use the rtmp://fr.i.ga.te:1935/live/camera_name URL for playback. hoping to use the frigate RTMP to avoid having to goto the cameras directly (direct does work, btw).

Version

0.9.4-26AE608

Frigate config file

see https://github.com/blakeblackshear/frigate/issues/2553

Relevant log output

see https://github.com/blakeblackshear/frigate/issues/2553

FFprobe output from your camera

see https://github.com/blakeblackshear/frigate/issues/2553

Frigate stats

No response

Operating system

Debian

Install method

Docker CLI

Coral version

PCIe

Network connection

Wired

Camera make and model

amcrest ad110, amcrest 5mb starlight, reolink 520, reolink e1 pro

Any other information that may be helpful

thanks.

blakeblackshear commented 2 years ago

Does it work with VLC? Do you have errors in the logs related to flv?

stoneobscurity commented 2 years ago

the amcrest cams will load an image in VLC and then not refresh. the reolinks will not load at all in VLC. no errors that i can see.

[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. [2022-01-01 15:29:19] frigate.app INFO : Starting Frigate (0.9.4-26ae608) Starting migrations [2022-01-01 15:29:19] peewee_migrate INFO : Starting migrations There is nothing to migrate [2022-01-01 15:29:19] peewee_migrate INFO : There is nothing to migrate [2022-01-01 15:29:19] detector.coral_pci INFO : Starting detection process: 218 [2022-01-01 15:29:19] frigate.edgetpu INFO : Attempting to load TPU as pci [2022-01-01 15:29:19] ws4py INFO : Using epoll [2022-01-01 15:29:19] frigate.app INFO : Output process started: 220 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 6_office: 224 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 7_kitchen: 226 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 1_entry: 229 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 4_back_porch: 233 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 3_driveway: 245 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 2_doorbell: 246 [2022-01-01 15:29:19] frigate.app INFO : Camera processor started for 5_garage: 248 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 6_office: 249 [2022-01-01 15:29:19] frigate.edgetpu INFO : TPU found [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 7_kitchen: 250 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 1_entry: 254 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 4_back_porch: 257 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 3_driveway: 259 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 2_doorbell: 264 [2022-01-01 15:29:19] frigate.app INFO : Capture process started for 5_garage: 271 [2022-01-01 15:29:19] ws4py INFO : Using epoll [2022-01-01 15:31:17] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34070] [2022-01-01 15:32:29] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34070] [2022-01-01 15:34:01] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34168] [2022-01-01 15:35:29] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34168] [2022-01-01 15:37:36] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:58916] [2022-01-01 15:37:38] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:58916]

stoneobscurity commented 2 years ago

the vids load in the HA integration, that uses the RTMP right?

blakeblackshear commented 2 years ago

Yes. It is using the same RTMP feed to load the video in the camera entities.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.