[SIP Beyond VoIP] Install problems ‘AVCodec’ has no member named ‘encode2’
Tijmen de Mes
tijmen at ag-projects.com
Tue Dec 20 10:35:03 CET 2022
Hi,
Do you have libavcodec-dev and libavformat-dev installed?
Best regards,
Tijmen de Mes
—
AG Projects
> Op 20 dec. 2022, om 09:59 heeft juleg.ch at gmail.com het volgende geschreven:
>
> 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
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
More information about the SIPBeyondVoIP
mailing list