Hi,
I'm trying to get ZM to work with a Bosch DINION IP camera. I'm using rtsp [rtsp://user:passwd@192.168.100.57/?enableaudio=1&audio_line=1]. This link works for both video and audio with VLC. With ZM the video works fine, but when I turn on audio I get the following errors repeated around 10 times a second.
2020-08-16 14:26:34 zmc_m8 26902 WAR Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg) zm_ffmpeg.cpp 70
2020-08-16 14:26:34 zmc_m8 26902 ERR Error writing packet: Operation not permitted zm_videostore.cpp 1039
I tried adding -bsf:a aac_adtstoasc under Source:Options or Storage:Optional Encoder Parameters, but it didn't seem to change anything, but at this point I admit I'm somewhat flailing in the dark.
Is there a way to add this option to ffmpeg? Or is there a better way to go about this?
I'm running ZM 1.34.16 on Debian 10.5. ZM was installed thru apt-get following the instructions in the ZM docs.
Thanks!
audio not saving with record
Re: audio not saving with record
Yikes.
Havn't seen that one before.
We may not be passing the Encoder Params to the audio codec... I will double check that.
Havn't seen that one before.
We may not be passing the Encoder Params to the audio codec... I will double check that.
-
- Posts: 2
- Joined: Wed Oct 13, 2021 1:18 pm
Re: audio not saving with record
I am getting what looks to be the same with 1.36.8
I had just got to adding "-bsf:a aac_adtstoasc" to the options in the source and it wasn't working for me either.
Code: Select all
10/25/21 11:14:55.222478 zmc_m3[8803].DB1-zm_monitor.cpp/2248 [Blending]
10/25/21 11:14:55.222600 zmc_m3[8803].DB1-zm_monitor.cpp/2250 [Done Blending]
10/25/21 11:14:55.222670 zmc_m3[8803].WAR-zm_ffmpeg.cpp/69 [Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg)]
10/25/21 11:14:55.223410 zmc_m3[8803].ERR-zm_videostore.cpp/1337 [Error writing packet: Operation not permitted]
Re: audio not saving with record
Same error.
No Audio recording with Reolink RLC-510WA
Works in VLC.
ZM Give Errormessage: zmc_m8 2159593 ERR Error writing packet: Operation not permitted zm_videostore.cpp 1425
Anyone got a hint what to do then and how to record audio?
RTMP Audio is working, but the Load on ZM is significantly higher and it can only handle 2 fps.
RTSP Audio is not working, but its full FPS without any noticible CPU Load
No Audio recording with Reolink RLC-510WA
Works in VLC.
ZM Give Errormessage: zmc_m8 2159593 ERR Error writing packet: Operation not permitted zm_videostore.cpp 1425
Anyone got a hint what to do then and how to record audio?
RTMP Audio is working, but the Load on ZM is significantly higher and it can only handle 2 fps.
RTSP Audio is not working, but its full FPS without any noticible CPU Load