AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
3.88k stars 318 forks source link

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

Open morenod opened 3 months ago

morenod commented 3 months ago

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

troykelly commented 3 months ago

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

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:password@example.invalid/#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
AlexxIT commented 2 months ago

@morenod I can't read your single line config

AlexxIT commented 2 months ago

@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

jrietscher commented 2 months ago

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!!