mr14.1.1.8, recording daemon fails to create media file

15 views
Skip to first unread message

Alex Kolomoyskyy

unread,
May 1, 2026, 4:19:55 PMMay 1
to Sipwise rtpengine
Hello everybody

We encounter strange issue with rtpengine mr14.1.1.8. Please take a look at description below - maybe some of you encountered something like that in the past. At first, I had impression that it is just usual problem with dependency mismatch, but seems it is something less obvious.

Any suggestions will be appreciated.

We use rtpengine 12.1.xxx for a long time. We use RHEl 8 and build everything we need (rtpengine, rtpengine-recording, kernel module) manually.

Couple of days ago we decided to try mr14.1.1.8. We built and deployed all components, everything started fine, but rtpengine-recording fails to open media files.
What is important to note - new release uses the same config file as old one and running on the same host under the same user. Sure thing old components were stopped and kernel module is a new one. New rtpengine-recording uses exactly the same shared libraries as old one.
Output media related configuration is
output-format = wav
output-mixed = true
mix-method = channels

Errors in log:
 May  1 07:04:32 guebcontst03 rtpengine-recording[68931]: ERR: [C 245f53dfbcbe2c02197bf0a0c2ebd15f%4010.139.0.24-2960d839bfb11159.meta] [S tag-0-media-1-component-1-RTP-id-2] [0x52b97cc4] [ffmpeg] av_log: Encoder requires channel layout to be set
May  1 07:04:32 guebcontst03 rtpengine-recording[68931]: ERR: [C 245f53dfbcbe2c02197bf0a0c2ebd15f%4010.139.0.24-2960d839bfb11159.meta] [S tag-0-media-1-component-1-RTP-id-2] [0x52b97cc4] [core] Error returned from libav: Invalid argument
May  1 07:04:32 guebcontst03 rtpengine-recording[68931]: ERR: [C 245f53dfbcbe2c02197bf0a0c2ebd15f%4010.139.0.24-2960d839bfb11159.meta] [S tag-0-media-1-component-1-RTP-id-2] [0x52b97cc4] [core] Error configuring media output for codec PCM-S16LE: failed to open output context
May  1 07:04:32 guebcontst03 rtpengine-recording[68931]: ERR: [C 245f53dfbcbe2c02197bf0a0c2ebd15f%4010.139.0.24-2960d839bfb11159.meta] [S tag-0-media-1-component-1-RTP-id-2] [0x52b97cc4] [core] Error configuring media output: failed to determine output format

Best regards

Alex

Richard Fuchs

unread,
May 4, 2026, 7:27:16 AMMay 4
to rtpe...@googlegroups.com
Is this on RHEL 8 proper or some other derivative (CentOS ...)? Not sure if that makes a difference.

Which ffmpeg libraries and which versions of them do you have installed, and which repo did you get them from?

In the build host the same one as the host running the service? Was it packaged as RPM or just copied?

Cheers
--
You received this message because you are subscribed to the Google Groups "Sipwise rtpengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtpengine+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rtpengine/63297a0b-a363-42ae-ae62-3224db57e159n%40googlegroups.com.

Alex Kolomoyskyy

unread,
May 5, 2026, 3:49:10 PM (14 days ago) May 5
to rtpe...@googlegroups.com
Hi Richard
No problem, I figured it out. It was caused by incorrect linkage with ffmpeg libs (libavcodec, etc.), so no magic.
Thanks for rsponse anyway.
Alex

Reply all
Reply to author
Forward
0 new messages