<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi<br>
<br>
Thanks for your response.<br>
<br>
Yes, they are both installed:<br>
<br>
libavcodec-dev:amd64 7:5.1.2-1<br>
libavformat-dev:amd64 7:5.1.2-1 <br>
<br>
Could it be a version problem?<br>
<br>
Best regards<br>
Michael<br>
<br>
<blockquote type="cite">
<pre>Hi,
Do you have libavcodec-dev and libavformat-dev installed?
Best regards,
Tijmen de Mes
—
AG Projects
><i> Op 20 dec. 2022, om 09:59 heeft <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> 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>), 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> <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>