[SIP Beyond VoIP] Install problems ‘AVCodec’ has no member named ‘encode2’

juleg.ch at gmail.com juleg.ch at gmail.com
Tue Dec 20 09:59:46 CET 2022


Hi

After installing all dependencies according to the documentation 
(https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux), 
the step

python3-sipsimple$ pip -v install .

gives me the following errors:


../src/pjmedia-codec/ffmpeg_vid_codecs.c:65:35: error: ‘AVCodec’ has no 
member named ‘encode2’
      65 | #  define AVCODEC_HAS_ENCODE(c) (c->encode2)


   ../src/pjmedia-codec/ffmpeg_vid_codecs.c:73:43: error: ‘AVCodec’ has 
no member named ‘decode’
      73 | #define AVCODEC_HAS_DECODE(c)           (c->decode)


Debian GNU/Linux bookworm/sid
ffmpeg (5.1.2)
python3-sipsimple (master, 9669ad3266aae14236aaabeb27d1494332e52068)

Is this a known error and has it something to do with the ffmpeg version 
installed?

Also I don't need necessarily video functionality, I want to build it 
for blink, just voice calls.

Thanks a lot for any advice.

Michael



More information about the SIPBeyondVoIP mailing list