Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neolink changes audio codec - problem with XProtect #302

Open
straussmarkus opened this issue Sep 26, 2024 · 1 comment
Open

neolink changes audio codec - problem with XProtect #302

straussmarkus opened this issue Sep 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@straussmarkus
Copy link

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 straussmarkus added the bug Something isn't working label Sep 26, 2024
@QuantumEntangledAndy
Copy link
Owner

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 QuantumEntangledAndy added enhancement New feature or request and removed bug Something isn't working labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants