neolink icon indicating copy to clipboard operation
neolink copied to clipboard

neolink changes audio codec - problem with XProtect

Open straussmarkus opened this issue 1 year ago • 1 comments

Describe the bug Viewing the stream of my B800 camera neolink provides, VLC player shows following audio codec: image

In the XProtect NVR Software, it seams that this codec is unsupported. I tried every codec, but I cannot get audio to work. If i connect directly to the stream of the Reolink NVR, the codec shows differnt: image

When selecting AAC as codec in XProtect, Audio works immediatly

Expected behavior An option to keep source audio codec or choose one supported by XProtect: image

Versions NVR software: XProtect 24.1a Neolink software: 0.6.2 docker image Reolink camera model and firmware: B800, newest

straussmarkus avatar Sep 26 '24 09:09 straussmarkus

PCM 16s BE is a very standard and simple format. We decided to trans-code from AAC to PCM because of a lack of AAC support in some clients (I believe Blue Iris).

I'm currently working on other projects at the moment. So if you want to adjust the way trans-coding happens please consider opening a PR for it yourself. The relevant sections are in src/rtsp/factory.rs at around L682 in the build_aac function

QuantumEntangledAndy avatar Sep 27 '24 04:09 QuantumEntangledAndy