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.95k stars 320 forks source link

Reolink video doorbell WiFi - Output is very choppy and start is cut off when sending mp3 files #1038

Closed cooltings closed 3 months ago

cooltings commented 3 months ago

My Reolink doorbell produces choppy audio when sending mp3s. Here is my config:

api:
  origin: '*'
ffmpeg:
  bin: ffmpeg
  h264/rk: -c:v h264_rkmpp_encoder -g 50 -bf 0
  h265/rk: -c:v hevc_rkmpp_encoder -g 50 -bf 0
  rtsp: -fflags nobuffer -flags low_delay -stimeout 5000000 -user_agent go2rtc/ffmpeg
    -rtsp_transport tcp -i {input}
  volume: -af "volume=30dB"
hass:
  config: /config
log:
  format: text
rtsp:
  default_query: mp4
streams:
  reolink:
  - ffmpeg:http://192.168.0.33/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=UNAME&password=PSD#video=copy#audio=copy#audio=pcma
  - rtsp://UNAME:PSD@192.168.0.33:554/h264Preview_01_sub
  reolink_rec:
  - rtsp://UNAME:PSD@192.168.0.33:554/h264Preview_01_sub#backchannel=0
  - ffmpeg:reolink_rec#audio=pcma
webrtc:
  candidates:
  - 192.168.0.219:8555
  - stun:8555

I have tried both media player and api calls, here is my config for media player: media_player:

AlexxIT commented 3 months ago

331

AlexxIT commented 3 months ago

I don't have this device and can't improve performance remotely