[SIP Beyond VoIP] Install problems ‘AVCodec’ has no member named ‘encode2’
Tijmen de Mes
tijmen at ag-projects.com
Thu Jan 12 16:38:46 CET 2023
Hi Michael,
I just pushed a patch to python3-sipsimple which should fix the build issue(s) with ffmpeg 5.1.
After you have the latest code, be sure to run ‘get_dependencies.sh’ as an extra patch needs to be applied to pjsip.
Best regards,
Tijmen de Mes
—
AG Projects
> Op 10 jan. 2023, om 22:37 heeft Tijmen de Mes <tijmen at ag-projects.com> het volgende geschreven:
>
> Hi Michael,
>
> I have the same error with those library versions on Debian sid. I will check what can be done to fix this.
>
> Best regards,
>
> Tijmen
> —
> AG Projects
>
>> Op 6 jan. 2023, om 12:51 heeft juleg.ch at gmail.com <mailto:juleg.ch at gmail.com> het volgende geschreven:
>>
>> 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 <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 <https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip>
>> _______________________________________________
>> SIPBeyondVoIP mailing list
>> SIPBeyondVoIP at lists.ag-projects.com <mailto:SIPBeyondVoIP at lists.ag-projects.com>
>> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20230112/e480ded2/attachment.htm>
More information about the SIPBeyondVoIP
mailing list