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

juleg.ch at gmail.com juleg.ch at gmail.com
Fri Jan 6 12:51:36 CET 2023


Hi

Thanks for your response.

Yes, they are both installed:

libavcodec-dev:amd64                             7:5.1.2-1
libavformat-dev:amd64                            7:5.1.2-1

Could it be a version problem?

Best regards
Michael

> 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 
> <https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip> 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> />/https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20230106/86954add/attachment.htm>


More information about the SIPBeyondVoIP mailing list