Changing Dahua Doorbell DHI-VTO2202F-P-S2 audio codec #2572
Replies: 4 comments
-
I gave this a try, and it worked fine for a few days, but then, for seemingly no reason, the audio returned to the original codec. |
Beta Was this translation helpful? Give feedback.
-
Thanks for a hint ! This working with vto-2211g-wp |
Beta Was this translation helpful? Give feedback.
-
Hi, Can you share your working config for the vto221g-wp ? much thanks! |
Beta Was this translation helpful? Give feedback.
-
This method has one problem, which is that it the VTO will automatically switch back to the original codec sometimes, and I don't know why. There's a better method, but it will require go2rtc: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
UPDATE: I'm now using AlexxIT/go2rtc#49 (comment)
I was about to give up after writing this comment here, but after downloading a couple of softwares for testing some ONVIF capabilities of my doorbell, I found something that was like Magic:
Happytime ONVIF Client
With this tool, I could change the audio encoding codec that the doorbell uses from the weird PCM S16BE (which is not supported by the WebRTC card by the way) to AAC or a more standard G711. I could even change the codecs for the different channels, so I did:
Channel 1: H264 720P video with G711 audio for use with WebRTC card (for real-time audio and video)
Channel 2: H264 1080P video with AAC audio for use with Frigate (which will save me some CPU cycles because I don't have to transcode the audio codec)
4SKrwspXIz.mp4
PS: I could not find a way to switch back to the original codec, but I don't mind. I suppose a firmware reset would work, but didn't try.
Previous:
After (disregard video differences):
I just wanted to document this, perhaps it helps someone in the future.
Beta Was this translation helpful? Give feedback.
All reactions