From 05ca4c2bf7745c9b56cfc65de3aaab6b1bbbbfa6 Mon Sep 17 00:00:00 2001 From: Marcin Gorzel <26985965+mgorzel@users.noreply.github.com> Date: Fri, 22 Feb 2019 17:53:27 +0000 Subject: [PATCH] Add Opus to sound sample descriptions That should enable injecting metadata into spherical videos with spatial audio encoded using Opus (in the MP4 container, with the '-strict -2' option). --- spatialmedia/mpeg/constants.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spatialmedia/mpeg/constants.py b/spatialmedia/mpeg/constants.py index eb61562..72f737a 100755 --- a/spatialmedia/mpeg/constants.py +++ b/spatialmedia/mpeg/constants.py @@ -56,6 +56,7 @@ TAG_ALAW = b"alaw" TAG_LPCM = b"lpcm" TAG_MP4A = b"mp4a" +TAG_OPUS = b"Opus" SOUND_SAMPLE_DESCRIPTIONS = frozenset([ TAG_NONE, @@ -70,6 +71,7 @@ TAG_ALAW, TAG_LPCM, TAG_MP4A, + TAG_OPUS, ]) CONTAINERS_LIST = frozenset([