go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

image overlay over reolink stream

Open wspatgithub opened this issue 1 year ago • 1 comments

Hi,

after struggeling around for hours, I kindly ask for your help:

I have several Reolink cameras and figured out how to access them via go2rtc. What I am not able is to place my own litte logo on top of a stream. My logo is placed in the /config folder of my docker path where go2rtc lives.

I tried with no success this :

  CamAZI_klein1:
     - http://192.168.30.249:11780/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=myuser&password=mypassword&width=640&height=480
     - ffmpeg -i:CamAZI_klein1#video=copy -i /config/logo_wms.png -filter_complex "overlay=10:10"

I also tried with rtsp

  CamAZI_klein2:
    - rtsp://myuser:[email protected]:554/h264Preview_01_sub
    - ffmpeg -i:CamAZI_klein2#video=copy -i /config/logo_wms.png -filter_complex "overlay=10:10"

and with onvif

  CamAZI_klein3: onvif://myuser:[email protected]:8000?subtype=001&snapshot
     - ffmpeg -i:CamAZI_klein3 -i /config/logo_wms.png -filter_complex "overlay=10:10"   

All streams are running but no overlay is shown. Can anyone please help?

Thanks Wolfgang

wspatgithub avatar Mar 10 '24 12:03 wspatgithub

  1. All your examples wrong. You need to check how to use ffmpeg source carefully
  2. You can't change video (add overlay) without changing video (copy mode).

AlexxIT avatar Mar 12 '24 17:03 AlexxIT