question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: rtmp can no longer be disabled globally

See original GitHub issue

Describe the problem you are having

rtmp can no longer be disabled globally in 0.9.2 (as documented here) and now results in a validation error.

Quick fix is to explicitly disable rtmp on all cameras in the cameras section.

Version

0.9.2-25bb515

Frigate config file

mqtt:
  host: mqtt

detectors:
  coral:
    type: edgetpu
    device: usb

ffmpeg:
  hwaccel_args: -c:v h264_v4l2m2m  # Raspberry Pi 3/4 (64-bit OS)

detect:
  width: 640
  height: 360
  fps: 3

# Optional: RTMP configuration
# NOTE: Can be overridden at the camera level
rtmp:
  # Optional: Enable the RTMP stream (default: True)
  enabled: False

cameras:
  Kitchen:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.39/ch0_1.h264
          roles:
            - detect
        - path: rtsp://192.168.1.39/ch0_0.h264
          roles:
            - record
    objects:
      track:
        - person

Relevant log output

[2021-10-20 13:29:01] frigate.app                    INFO    : Starting Frigate (0.9.2-25bb515),
*************************************************************,
***    Your config file is not valid!                     ***,
***    Please check the docs at                           ***,
***    https://docs.frigate.video/configuration/index     ***,
***    Config Validation Errors                           ***,
1 validation error for FrigateConfig,
  Camera Kitchen has rtmp enabled, but rtmp is not assigned to an input. (type=value_error),
cameras,
***    End Config Validation Errors                       ***,
[cmd] python3 exited 1,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
[s6-finish] sending all processes the KILL signal and exiting.,
[s6-finish] sending all processes the TERM signal.

FFprobe output from your camera

N/A

Frigate stats

No response

Operating system

Debian

Install method

Docker Compose

Coral version

USB

Network connection

Wired

Camera make and model

N/A

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ljmerzacommented, Oct 20, 2021

ah i see, the global settings isnt working and you have to add it to each camera. reading it again makes sense now. thanks

0reactions
deviant77commented, Oct 25, 2021

This should be fixed for real now with 0.9.4

It is! Many thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is RTMP Ingest and Why is it Important for Live Streaming?
Another reason for this shift is primarily because RTMP is no longer the “latest and greatest” live streaming protocol. It is still functional, ......
Read more >
Background removal and live streaming: what's new in Detail
RTMP streaming and background removal now in Detail. ... Detail 2 in December introducing Auto Framing, multi-camera support, and more.
Read more >
How to Stream Webinars from Microsoft Teams Using RTMP
Last week on March 31st, Microsoft launched a new feature: RTMP streaming from within Microsoft Teams. This allows you to stream from Microsoft ......
Read more >
Setup your own RTMP Server to Receive and Redistribute ...
With a little help from some free software, you can have your own RTMP server. ... Your browser can ' t play this...
Read more >
RTMP - Frigate Docs
If you are experiencing issues, check to make sure your camera feed is h264 with AAC audio. If your camera doesn't support a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found