<div dir="ltr">Unfortunately, ambisonics aren't exposed in opusenc yet, thus the trouble. They're an API-only feature, but it's a good time to discuss what such a command-line interface would look like, notably: how to specify multiple streams & stream order, select the mapping family, coupled channels, and how to specify the matrix (for family 3). Likewise, there's no multistream support at the moment, so two birds might be felled with one push. I have ideas, but I've never used ambisonics and really don't know what the use case would look like.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 18, 2019 at 10:00 AM Marc Lavallée <<a href="mailto:marc@hacklava.net">marc@hacklava.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Le 19-12-18 à 12 h 29, Marc Lavallée a écrit :<br>
    </p>
    <blockquote type="cite">
      <p>Hi Andrew,</p>
      <p>I suspect that the configure option should be enable-ambisonics
        (instead of enable_ambisonics), but for each of opus,
        libopusenc, opusfile and opus-tools git repos (on master
        branch), when I try "./configure --enable-ambisonics", I get
        this error message:</p>
      <p>configure: WARNING: unrecognized options: --enable-ambisonics</p>
    </blockquote>
    <p>I found that the --enable-ambisonics options is in opus 1.1.3,
      but no longer in 1.3 versions; starting with version 1.3-rc2,
      support for ambisonics is enabled by default, but I don't know how
      to use it.<br>
    </p>
    <p>I recompiled everything using opus 1.1.3 with the
      --enable-ambisonics option, but opusenc don't offer an option for
      mapping families.</p>
    <p>It's all very confusing.<br>
    </p>
    <blockquote type="cite">
      <p>Thanks for your help.<br>
      </p>
      <p>Marc<br>
      </p>
      <div>Le 19-12-18 à 11 h 52, Andrew Allen a
        écrit :<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div dir="ltr">Hi Marc,
            <div><br>
            </div>
            <div>In order to use the ambisonics API, if you haven't
              already, you will need to activate the enable_ambisonics
              build flag during configuration.</div>
            <div>Then, when encoding the file, make sure to manually
              select mapping family 3 since opus does not auto-detect
              ambisonic files.</div>
            <div><br>
            </div>
            <div>Let me know if you have any questions!</div>
            <div><br>
            </div>
            <div>Cheers,</div>
            <div>Andrew</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Tue, Dec 17, 2019 at
              7:16 PM Marc Lavallée <<a href="mailto:marc@hacklava.net" target="_blank">marc@hacklava.net</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote">I compiled the latest (git
              master) of opus, libopusenc, opusfile and<br>
              opus-tools:<br>
              <br>
              $ opusenc --version<br>
              opusenc opus-tools 0.2-8-g4976421 (using libopus
              1.3.1-4-gad8fe90d)<br>
              <br>
              I tried to encode a 3rd order Ambisonics wav file with the
              standard<br>
              Ambix (ACN-SN3D) format; opusinfo is reporting :<br>
              <br>
              Streams: 16, Coupled: 0<br>
                  Channel Mapping Family: 255 Map: [0, 1, 2, 3, 4, 5, 6,
              7, 8, 9, 10,<br>
              11, 12, 13, 14, 15]<br>
              <br>
              How to encode the file so that the Mapping Family is 3, as
              suggested<br>
              here ? : <a href="https://people.xiph.org/~jm/opus/opus-1.3/" rel="noreferrer" target="_blank">https://people.xiph.org/~jm/opus/opus-1.3/</a><br>
              <br>
              Marc<br>
              <br>
              <br>
              _______________________________________________<br>
              opus mailing list<br>
              <a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a><br>
              <a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a><br>
            </blockquote>
          </div>
        </div>
      </blockquote>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
opus mailing list
<a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a>
<a href="http://lists.xiph.org/mailman/listinfo/opus" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a><br>
</blockquote></div>