FFMPEG Extra Args

I’ve got a few Wyze Cam v2s that are running the RTSP firmware. My config is below, but I can’t seem to get a few things working during stream or file record…

  • audio
  • scale / video size
camera:
  - platform: ffmpeg
    name: PeopleCam
    input: rtsp://hass:[email protected]/live
    extra_arguments: -q:v 3 -r 15 -vf "scale=1280:720" -c:v libx264 -c:a copy

...

stream:

I’m actually not sure if any of the args are taking hold at this point.

Has anyone had any luck with this combination?

I was also expecting to re-encode the rtsp stream using libx264 as you’ve shown, but the ffmpeg camera only actually uses ffmpeg for taking snapshots (maybe as a workaround for cameras that don’t support it) and all video streaming is done using the stream component.

More details here for anyone that’s interested: