<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Le 2022-03-24 à 10 h 54, Andrew Sonzogni a écrit :<br>
    <blockquote type="cite"
      cite="mid:da869ad37685998db9f1232095c53d85@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;}span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi
            Marc,</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Thanks for the quick reply.</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"> </span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Then it’s not possible to mix those packets
            before decoding them ?</span></p>
      </div>
    </blockquote>
    I don't think it's possible, but I'm not a codec expert, just a
    simple user.<br>
    <br>
    <blockquote type="cite"
      cite="mid:da869ad37685998db9f1232095c53d85@mail.gmail.com">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Because summing after Opus would mean 3-4
            decode every 40ms (frame size) and 3-4 queue of 1280o msg…</span></p>
      </div>
    </blockquote>
    I think that the latency would be a little bit more than 80ms in the
    worst cases.<br>
    I could be wrong...<br>
    <br>
    Marc<br>
    <br>
    <blockquote type="cite"
      cite="mid:da869ad37685998db9f1232095c53d85@mail.gmail.com">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"> </span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Best regards,</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US">Andrew</span></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-US"
            lang="EN-US"> </span></p>
        <div>
          <div style="border:none;border-top:solid #e1e1e1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b>De :</b> opus <<a
                href="mailto:opus-bounces@xiph.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">opus-bounces@xiph.org</a>>
              <b>De la part de</b> Marc Lavallée<br>
              <b>Envoyé :</b> jeudi 24 mars 2022 15:23<br>
              <b>À :</b> <a href="mailto:opus@xiph.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">opus@xiph.org</a><br>
              <b>Objet :</b> Re: [opus] Antw: [EXT] Opus merging streams</p>
          </div>
        </div>
        <p class="MsoNormal"> </p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Hi Andrew,<br>
          <br>
          I think you'd have to decode each packet independently, then
          sum the results, making sure that packets (from different
          sources) all have the same number of samples.<br>
          <br>
          Marc</p>
        <div>
          <p class="MsoNormal">Le 2022-03-24 à 10 h 14, Andrew Sonzogni
            a écrit :</p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <pre>Hello,</pre>
          <pre> </pre>
          <pre>Yes, I mean mix multiple streams.</pre>
          <pre> </pre>
          <pre>Best regards,</pre>
          <pre>Andrew Sonzogni</pre>
          <pre> </pre>
          <pre>-----Message d'origine-----</pre>
          <pre>De : Ulrich Windl <a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" moz-do-not-send="true"><Ulrich.Windl@rz.uni-regensburg.de></a></pre>
          <pre>Envoyé : jeudi 24 mars 2022 15:00</pre>
          <pre>À : <a href="mailto:andrew@safehear.fr" moz-do-not-send="true" class="moz-txt-link-freetext">andrew@safehear.fr</a>; <a href="mailto:opus@xiph.org" moz-do-not-send="true" class="moz-txt-link-freetext">opus@xiph.org</a></pre>
          <pre>Objet : Antw: [EXT] [opus] Opus merging streams</pre>
          <pre> </pre>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                <pre>Andrew Sonzogni <a href="mailto:andrew@safehear.fr" moz-do-not-send="true"><andrew@safehear.fr></a> schrieb am 24.03.2022 um 14:46</pre>
                <pre>in</pre>
              </blockquote>
            </blockquote>
          </blockquote>
          <pre>Nachricht <a href="mailto:592e07eaa0e866e10543cf887948874d@mail.gmail.com" moz-do-not-send="true"><592e07eaa0e866e10543cf887948874d@mail.gmail.com></a>:</pre>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <pre>Hello !</pre>
            <pre> </pre>
            <pre> </pre>
            <pre> </pre>
            <pre>I have a question. I'm trying to use Opus on an embedded device which</pre>
            <pre>communicate with several other devices with the same software.</pre>
            <pre> </pre>
            <pre>I wanted to know if it's possible to merge Opus packets from different</pre>
            <pre>sources and then decode this merged packet through a normal opus_decode.</pre>
          </blockquote>
          <pre> </pre>
          <pre>"merge" means "concatenate"? Or "mix"?</pre>
          <pre> </pre>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <pre> </pre>
            <pre> </pre>
            <pre> </pre>
            <pre>I receive in real time 3 different streams of 40ms opus packets. As it</pre>
            <pre>would be consuming too much CPU if I decode each packets and then sum</pre>
            <pre>them together, I would like to decode them together.</pre>
          </blockquote>
          <pre> </pre>
          <pre>"sum" sounds like "mix", right?</pre>
          <pre> </pre>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <pre> </pre>
            <pre> </pre>
            <pre> </pre>
            <pre>Best regards,</pre>
            <pre> </pre>
            <pre>Andrew Sonzogni</pre>
          </blockquote>
          <pre>_______________________________________________</pre>
          <pre>opus mailing list</pre>
          <pre><a href="mailto:opus@xiph.org" moz-do-not-send="true" class="moz-txt-link-freetext">opus@xiph.org</a></pre>
          <pre><a href="http://lists.xiph.org/mailman/listinfo/opus" moz-do-not-send="true" class="moz-txt-link-freetext">http://lists.xiph.org/mailman/listinfo/opus</a></pre>
        </blockquote>
        <p class="MsoNormal"> </p>
      </div>
    </blockquote>
    <br>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>