<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Michael,<div class=""><br class=""></div><div class="">I have the same error with those library versions on Debian sid. I will check what can be done to fix this.</div><div class=""><div><br class=""></div><div>Best regards,</div><div><br class=""></div><div>Tijmen</div><div>—</div><div>AG Projects</div><div><br class=""><blockquote type="cite" class=""><div class="">Op 6 jan. 2023, om 12:51 heeft <a href="mailto:juleg.ch@gmail.com" class="">juleg.ch@gmail.com</a> het volgende geschreven:</div><br class="Apple-interchange-newline"><div class="">
  

    <meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
  
  <div class="">
    Hi<br class="">
    <br class="">
    Thanks for your response.<br class="">
    <br class="">
    Yes, they are both installed:<br class="">
    <br class="">
    libavcodec-dev:amd64                             7:5.1.2-1<br class="">
    libavformat-dev:amd64                            7:5.1.2-1 <br class="">
    <br class="">
    Could it be a version problem?<br class="">
    <br class="">
    Best regards<br class="">
    Michael<br class="">
    <br class="">
    <blockquote type="cite" class="">
      <pre class="">Hi,

Do you have libavcodec-dev and libavformat-dev installed?

Best regards,

Tijmen de Mes

AG Projects

><i class=""> Op 20 dec. 2022, om 09:59 heeft <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="">juleg.ch at gmail.com</a> het volgende geschreven:
</i>><i class=""> 
</i>><i class=""> Hi
</i>><i class=""> 
</i>><i class=""> 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 class=""> 
</i>><i class=""> python3-sipsimple$ pip -v install .
</i>><i class=""> 
</i>><i class=""> gives me the following errors:
</i>><i class=""> 
</i>><i class=""> 
</i>><i class=""> ../src/pjmedia-codec/ffmpeg_vid_codecs.c:65:35: error: ‘AVCodec’ has no member named ‘encode2’
</i>><i class="">      65 | #  define AVCODEC_HAS_ENCODE(c) (c->encode2)
</i>><i class=""> 
</i>><i class=""> 
</i>><i class="">   ../src/pjmedia-codec/ffmpeg_vid_codecs.c:73:43: error: ‘AVCodec’ has no member named ‘decode’
</i>><i class="">      73 | #define AVCODEC_HAS_DECODE(c)           (c->decode)
</i>><i class=""> 
</i>><i class=""> 
</i>><i class=""> Debian GNU/Linux bookworm/sid
</i>><i class=""> ffmpeg (5.1.2)
</i>><i class=""> python3-sipsimple (master, 9669ad3266aae14236aaabeb27d1494332e52068)
</i>><i class=""> 
</i>><i class=""> Is this a known error and has it something to do with the ffmpeg version installed?
</i>><i class=""> 
</i>><i class=""> Also I don't need necessarily video functionality, I want to build it for blink, just voice calls.
</i>><i class=""> 
</i>><i class=""> Thanks a lot for any advice.
</i>><i class=""> 
</i>><i class=""> Michael
</i>><i class=""> 
</i>><i class=""> _______________________________________________
</i>><i class=""> SIPBeyondVoIP mailing list
</i>><i class=""> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" class="">SIPBeyondVoIP at lists.ag-projects.com</a>
</i>><i class=""> <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>
  </div>

_______________________________________________<br class="">SIPBeyondVoIP mailing list<br class=""><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br class="">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br class=""></div></blockquote></div><br class=""></div></body></html>