Hi there.
I use a Digoo DG-M1Z camera which has an rtsp stream with audio.
I use the following configuration:
ffmpeg:
stream:
camera:
- platform: onvif
host: 192.168.1.xxx
name: camera1
username: admin
password: password
port: 5000
profile: 0
extra_arguments: -q:v 2
I added the following card:
type: picture-entity
entity: camera.camera1
camera_image: camera.camera1
After clicking on the stream I am able to watch the stream. Unfortunately, clicking on the speaker icon (to unmute) doesn’t change anything. There’s no audio output. I tried different “extra_arguments” settings, but was unable to find the solution.
When I’m recording using the following command:
ffmpeg -i 'rtsp://admin:[email protected]:554/onvif1' -vcodec copy -c:a aac -map 0 -f segment -segment_time 300 -segment_format mkv "camera_capture-%03d.mkv"
I am able to hear the audio.
I tried adding “-c:a aac” to “extra_arguments” but it didn’t change anything.
Am I missing something?