go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

I have created a this same issue on frigate repo, but it seems that it better to be reported here.

Open morenod opened this issue 1 year ago • 4 comments

I have a camera capture working with go2rtc and I can see it as frigate camera, but Im trying to publish it as a youtube stream, but I dont see any reference to it on the logs, and if I click on the system > streams info link, I dont see any reference neither

Version

0.13.2-6476F8A

Frigate config file

go2rtc: publish: camara_11: - rtmps://a.rtmps.youtube.com/live2/xxxxxxx - rtmps://b.rtmps.youtube.com/live2?backup=1/xxxxxx streams: camara_11: # BirdCAM - http://esp32-birdcam.local:8080 - ffmpeg:camara_11#video=h264#hardware cameras: birdcam: ffmpeg: inputs: - path: rtsp://127.0.0.1:8554/camara_11 roles: - detect - record

Relevant log output

No logs references to that publish. Searching for youtube hostname do not output any result

Frigate stats

No response

Operating system

Other Linux

Install method

Docker CLI

Coral version

USB

Any other information that may be helpful

morenod avatar Mar 22 '24 21:03 morenod

I'm having the same issue, not sure how to debug, but YouTube never gives any indication of there even being an attempt to start the stream.

Versions

  • 1.8.4
  • 1.8.5

Config

  log:
    format: text
    level: info  # default level
    api: info
    exec: info
    ngrok: info
    rtsp: info
    streams: info
    webrtc: info
  streams:
    webcam_sydney:
    - ffmpeg:rtsp://camera:[email protected]/#video=copy
    webcam_sydneyh264:
    - ffmpeg:webcam_sydney#video=h264#hardware
  webrtc:
    listen: :8555    # address of your local server and port (TCP/UDP)
    candidates:
    - stun:8555
  publish:
    webcam_sydneyh264:
      - rtmps://a.rtmp.youtube.com/live2/aaaa-bbbb-cccc-dddd-eeee
      - rtmp://b.rtmp.youtube.com/live2/aaaa-bbbb-cccc-dddd-eeee?backup=1

troykelly avatar Mar 23 '24 08:03 troykelly

@morenod I can't read your single line config

AlexxIT avatar Apr 22 '24 12:04 AlexxIT

@troykelly It's hard to say. Theoretically after transcoding stream should be fine to be published to Youtube

The logging of this module is not good enough to understand possible problems

AlexxIT avatar Apr 22 '24 12:04 AlexxIT

hello, there is no streaming output to telegram and youtube. i try it with Datarhei Restreamer. There is no probleme. my settings: pi4, with version 1.8.5. i try it with 1.8.0, the same, no output on youtube.

with the mac arm-version the same. on the api it show 1 online...

my config:

streams:
  youtube: rtsp://192.168.188.58/ch0_0.h264

publish:
  youtube: 
    - rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx

Thank u for the support! it is a very good tool!!

jrietscher avatar Apr 23 '24 15:04 jrietscher