opus-tools icon indicating copy to clipboard operation
opus-tools copied to clipboard

Enabling Ambisonic Encoding

Open MandyJCho opened this issue 2 years ago • 1 comments

Hi there,

I was following this thread about the --enable-ambisonic flag. Are there instructions to enable the ambisonic API with the opusenc cli? The documentation for 1.3 mentions support for channel mapping families 2 and 3, but it's unclear where I can configure this.

Right now the layout is being set to quad rather than 'ambisonic 1'

Input #0, ogg, from '.\ambisonic_opusenc.opus':
  Duration: 00:00:29.04, start: 0.000000, bitrate: 185 kb/s
  Stream #0:0: Audio: opus, 48000 Hz, quad, fltp
    Metadata:
      ENCODER         : opusenc from opus-tools 0.2-3-gf5f571b

Here's an output using ffmpeg to transcode audio:

Input #0, ogg, from '.\ambisonic_ffmpeg_2.opus':
  Duration: 00:00:29.04, start: 0.000000, bitrate: 113 kb/s
  Stream #0:0: Audio: opus, 48000 Hz, ambisonic 1, fltp
    Metadata:
      encoder         : Lavc59.51.100 libopus

MandyJCho avatar Feb 06 '23 17:02 MandyJCho