RTSPserver and audio
RTSPserver and audio
Hi
I use 1.36.12 with RTSPserver for use in Homebridge Video secure
Can you confirm no audio reshare in RTSPserver ?
If no is it possible ?
Thanks
I use 1.36.12 with RTSPserver for use in Homebridge Video secure
Can you confirm no audio reshare in RTSPserver ?
If no is it possible ?
Thanks
Re: RTSPserver and audio
Audio should work fine.
Re: RTSPserver and audio
Thanks for your help
I scan flux with ffprobe
Source
Input #0, rtsp, from 'rtsp://admin:pass@10.0.0.209:554/onvif1':
Metadata:
title : H.264 Video, RtspServer_0.0.0.2
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 10 fps, 10 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s
And the reshare rtsp
Input #0, rtsp, from 'rtsp://127.0.0.1:2000/portier?username=julien&password=pass':
Duration: N/A, start: 0.101000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 10 fps, 10 tbr, 90k tbn, 180k tbc
No audio
Re: RTSPserver and audio
Do you have Record Audio set under Monitor->Storage?
Re: RTSPserver and audio
Yes 3 cams with audio and always
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_12.pcm_alaw zm_rtsp_server.cpp 312
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_11.pcm_alaw zm_rtsp_server.cpp 312
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_10.pcm_alaw
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_12.pcm_alaw zm_rtsp_server.cpp 312
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_11.pcm_alaw zm_rtsp_server.cpp 312
2022-02-01 17:00:46 zm_rtsp_server 401593 ERR Unable to create source zm_rtsp_server.cpp 315
2022-02-01 17:00:46 zm_rtsp_server 401593 WAR Unknown format in /run/zm/audio_fifo_10.pcm_alaw
- Attachments
-
- Capture d’écran 2022-02-01 à 17.19.51.png (212.61 KiB) Viewed 18386 times
-
- Capture d’écran 2022-02-01 à 17.15.24.png (573.41 KiB) Viewed 18388 times
Re: RTSPserver and audio
Oh right, I didn't implement pcm_alaw, only AAC....
Re: RTSPserver and audio

Do you thinks possible ? all china camera are ppm_alaw I thinks
-
- Posts: 1371
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: RTSPserver and audio
What are your cameras?
I have a few and all with aac…
I have a few and all with aac…
Re: RTSPserver and audio
I roughed in the support today in 1.37. You can test it. I don't have a camera that does pcm anymore.
Re: RTSPserver and audio
Thanks a lot I try after release
Re: RTSPserver and audio
I try but with snapshot version I have no memory free .. So I can test system no stable
I wait for version stable
1.36.10 4.5G free memory
1.37.10 0 free memory
For 16GO total memory and 18GO swap
I wait for version stable
1.36.10 4.5G free memory
1.37.10 0 free memory
For 16GO total memory and 18GO swap
Re: RTSPserver and audio
I modify source 1.36.12 for try I add
} else if (std::string::npos != audioFifoPath.find("pcm_alaw")) {
Debug(1, "Adding G711A source at %dHz %d channels",
monitor->GetAudioFrequency(), monitor->GetAudioChannels());
session->AddSource(xop::channel_1, xop::G711ASource::CreateNew());
audioSource = new ADTS_ZoneMinderFifoSource(rtspServer,
session->GetMediaSessionId(), xop::channel_1, audioFifoPath);
audioSource->setFrequency(monitor->GetAudioFrequency());
audioSource->setChannels(monitor->GetAudioChannels());
to src/zm_rtsp_server.cpp
But I don't find how can I make deb with file modify
Thanks if you can help me
} else if (std::string::npos != audioFifoPath.find("pcm_alaw")) {
Debug(1, "Adding G711A source at %dHz %d channels",
monitor->GetAudioFrequency(), monitor->GetAudioChannels());
session->AddSource(xop::channel_1, xop::G711ASource::CreateNew());
audioSource = new ADTS_ZoneMinderFifoSource(rtspServer,
session->GetMediaSessionId(), xop::channel_1, audioFifoPath);
audioSource->setFrequency(monitor->GetAudioFrequency());
audioSource->setChannels(monitor->GetAudioChannels());
to src/zm_rtsp_server.cpp
But I don't find how can I make deb with file modify
Thanks if you can help me