<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Tijmen<br>
<br>
It works now. Thanks a lot for your help!<br>
<br>
Best regards<br>
Michael<br>
<br>
<blockquote type="cite">
<pre>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
><i> Op 10 jan. 2023, om 22:37 heeft Tijmen de Mes <<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">tijmen at ag-projects.com</a>> het volgende geschreven:
</i>><i>
</i>><i> Hi Michael,
</i>><i>
</i>><i> I have the same error with those library versions on Debian sid. I will check what can be done to fix this.
</i>><i>
</i>><i> Best regards,
</i>><i>
</i>><i> Tijmen
</i>><i> —
</i>><i> AG Projects
</i>><i>
</i>>><i> Op 6 jan. 2023, om 12:51 heeft <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">juleg.ch at gmail.com</a> <mailto:<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">juleg.ch at gmail.com</a>> het volgende geschreven:
</i>>><i>
</i>>><i> Hi
</i>>><i>
</i>>><i> Thanks for your response.
</i>>><i>
</i>>><i> Yes, they are both installed:
</i>>><i>
</i>>><i> libavcodec-dev:amd64 7:5.1.2-1
</i>>><i> libavformat-dev:amd64 7:5.1.2-1
</i>>><i>
</i>>><i> Could it be a version problem?
</i>>><i>
</i>>><i> Best regards
</i>>><i> Michael
</i>>><i>
</i>>>><i> Hi,
</i>>>><i>
</i>>>><i> Do you have libavcodec-dev and libavformat-dev installed?
</i>>>><i>
</i>>>><i> Best regards,
</i>>>><i>
</i>>>><i> Tijmen de Mes
</i>>>><i> —
</i>>>><i> AG Projects
</i>>>><i>
</i>>>><i> > Op 20 dec. 2022, om 09:59 heeft juleg.ch at gmail.com <<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>> het volgende geschreven:
</i>>>><i> >
</i>>>><i> > Hi
</i>>>><i> >
</i>>>><i> > After installing all dependencies according to the documentation (<a href="https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux" class="moz-txt-link-freetext">https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux</a> <<a href="https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux" class="moz-txt-link-freetext">https://github.com/AGProjects/python3-sipsimple/blob/master/docs/Install.linux</a>>), the step
</i>>>><i> >
</i>>>><i> > python3-sipsimple$ pip -v install .
</i>>>><i> >
</i>>>><i> > gives me the following errors:
</i>>>><i> >
</i>>>><i> >
</i>>>><i> > ../src/pjmedia-codec/ffmpeg_vid_codecs.c:65:35: error: ‘AVCodec’ has no member named ‘encode2’
</i>>>><i> > 65 | # define AVCODEC_HAS_ENCODE(c) (c->encode2)
</i>>>><i> >
</i>>>><i> >
</i>>>><i> > ../src/pjmedia-codec/ffmpeg_vid_codecs.c:73:43: error: ‘AVCodec’ has no member named ‘decode’
</i>>>><i> > 73 | #define AVCODEC_HAS_DECODE(c) (c->decode)
</i>>>><i> >
</i>>>><i> >
</i>>>><i> > Debian GNU/Linux bookworm/sid
</i>>>><i> > ffmpeg (5.1.2)
</i>>>><i> > python3-sipsimple (master, 9669ad3266aae14236aaabeb27d1494332e52068)
</i>>>><i> >
</i>>>><i> > Is this a known error and has it something to do with the ffmpeg version installed?
</i>>>><i> >
</i>>>><i> > Also I don't need necessarily video functionality, I want to build it for blink, just voice calls.
</i>>>><i> >
</i>>>><i> > Thanks a lot for any advice.
</i>>>><i> >
</i>>>><i> > Michael
</i>>>><i> >
</i>>>><i> > _______________________________________________
</i>>>><i> > SIPBeyondVoIP mailing list
</i>>>><i> > SIPBeyondVoIP at lists.ag-projects.com <<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>>
</i>>>><i> > <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a> <<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>>
</i>>><i> _______________________________________________
</i>>><i> SIPBeyondVoIP mailing list
</i>>><i> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">SIPBeyondVoIP at lists.ag-projects.com</a> <mailto:<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">SIPBeyondVoIP at lists.ag-projects.com</a>>
</i>>><i> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>
</i>><i>
</i>><i> _______________________________________________
</i>><i> SIPBeyondVoIP mailing list
</i>><i> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip">SIPBeyondVoIP at lists.ag-projects.com</a>
</i>><i> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="moz-txt-link-freetext">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a>
</i></pre>
</blockquote>
</body>
</html>