{"id":2114,"date":"2026-06-29T14:21:35","date_gmt":"2026-06-29T13:21:35","guid":{"rendered":"https:\/\/www.brucewiggins.co.uk\/?p=2114"},"modified":"2026-06-29T14:52:26","modified_gmt":"2026-06-29T13:52:26","slug":"360-videos-with-spatial-audio-on-youtube","status":"publish","type":"post","link":"https:\/\/www.brucewiggins.co.uk\/?p=2114","title":{"rendered":"360 Videos with Spatial Audio on YouTube"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Each year, I get my 2nd year Spatial Audio students to produce a spatial audio production, which they can then attach 360 pictures to, and upload to YouTube (360 pictures are used, as I want the focus to be the audio).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How to do this was <a href=\"https:\/\/www.brucewiggins.co.uk\/?p=666\" data-type=\"link\" data-id=\"https:\/\/www.brucewiggins.co.uk\/?p=666\" target=\"_blank\" rel=\"noreferrer noopener\">quite well documented<\/a> soon after YouTube enabled the feature using a combination of <a href=\"https:\/\/www.ffmpeg.org\/\" data-type=\"link\" data-id=\"https:\/\/www.ffmpeg.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">FFMPEG<\/a> and Google&#8217;s <a href=\"https:\/\/github.com\/google\/spatial-media\" data-type=\"link\" data-id=\"https:\/\/github.com\/google\/spatial-media\" target=\"_blank\" rel=\"noreferrer noopener\">Spatial Media Tools<\/a> on github.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">YouTube&#8217;s spatial audio feature has had a rocky time over the years breaking for prolonged periods and then coming back, but although it&#8217;s currently working, I&#8217;ve found that the instructions and tools don&#8217;t work as they once did, so here&#8217;s my quick guide to what&#8217;s changed and how I currently get it to work (on an Apple Mac, but I&#8217;m assuming similar issues for Windows users, too &#8211; I&#8217;ll try and get round to testing on a Windows machine soon).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Assuming we have a video in .MOV format: 360PicVideo (it MUST be a .MOV)<br>Assuming we have a 4-channel 16 bit wave file in AmbiX format: AmbiX_1o.wav<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve found that using any channel mapping (i.e. -channel_layout 4.0) which is what I&#8217;ve always used in the past, now results in the channels being swapped in the resulting video file.  The only way I can get the audio in the video to match the original audio (tested using both VLC and AVFoundation filters to read the video in Reaper) is to omit this command entirely &#8211; e.g.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ffmpeg -i AmbiX_1o.wav \n       -i 360PicVideo.mov \n       -map 0:a -map 1:v \n       -c:a copy -c:v copy \n       OutputVideoFinal.mov<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Next, the video needs to be tagged using the Google Spatial Media Tools.  However, I&#8217;ve found that the GUI.py version won&#8217;t tag the video as equirectangular anymore (using latest GITHUB version as of 29th June 2026).  In order to get round this, we need to use the command line version instead &#8211; e.g.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python3 spatialmedia -i --spatial-audio OutputVideoFinal.mov OutputVideoFinal_injected.mov<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I then carry out two checks to make sure this has worked.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run python3 spatialmedia OutputVideoFinal_injected.mov to inspect the metadata<\/li>\n\n\n\n<li>Load the video into Reaper and compare the audio with the wave file used as the input (this very quickly shows up channel swapping issues).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Output for 1. should look something like (it&#8217;s the <strong>true<\/strong> for Spherical and Stitched that&#8217;s missing when using the GUI version for me):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\tTrack 0\n\t\tAmbisonic Type: periphonic\n\t\tContains Head-Locked Stereo: False\n\t\tAmbisonic Order: 1\n\t\tAmbisonic Channel Ordering: ACN\n\t\tAmbisonic Normalization: SN3D\n\t\tNumber of Channels: 4\n\t\tChannel Map: &#91;0, 1, 2, 3]\n\tTrack 1\n\t\tSpherical = true\n\t\tStitched = true\n\t\tStitchingSoftware = Spherical Metadata Tool\n\t\tProjectionType = equirectangular<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The correct, and incorrect, channel mappings are shown in Reaper below, compared to the original audio file.  Note channel 4 in the audio and correct video has been incorrectly mapped to channel 3 in the incorrect video (using -channel_layout 4.0):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still need to do tests on whether this is a problem for YouTube, or if it fixes the mapping &#8211; I only came across the issue when I was troubleshooting the spatial media metadata problem!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"199\" data-attachment-id=\"2115\" data-permalink=\"https:\/\/www.brucewiggins.co.uk\/?attachment_id=2115\" data-orig-file=\"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?fit=1168%2C444&amp;ssl=1\" data-orig-size=\"1168,444\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;,&quot;alt&quot;:&quot;&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?fit=525%2C199&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?resize=525%2C199&#038;ssl=1\" alt=\"\" class=\"wp-image-2115\" srcset=\"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?resize=1024%2C389&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?resize=300%2C114&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?resize=768%2C292&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2026\/06\/image.png?w=1168&amp;ssl=1 1168w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once figuring this out, my students are back to successfully creating YouTube videos with Spatial Audio &#8211; This one is based in and around <a href=\"https:\/\/derbycathedral.org\/\" data-type=\"link\" data-id=\"https:\/\/derbycathedral.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Derby Cathedral<\/a> (thanks to the Derby Cathedral staff for letting us come in a measure Ambisonic Impulse Responses for this!):<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"525\" height=\"296\" src=\"https:\/\/www.youtube.com\/embed\/HJpw5sDJ0bE?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-GB&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">How to install FFMPEG and Python3 on a Mac: <a href=\"https:\/\/www.brucewiggins.co.uk\/?p=781\">https:\/\/www.brucewiggins.co.uk\/?p=781<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Each year, I get my 2nd year Spatial Audio students to produce a spatial audio production, which they can then attach 360 pictures to, and upload to YouTube (360 pictures are used, as I want the focus to be the audio). How to do this was quite well documented soon after YouTube enabled the feature &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.brucewiggins.co.uk\/?p=2114\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;360 Videos with Spatial Audio on YouTube&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-2114","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2iYFT-y6","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":666,"url":"https:\/\/www.brucewiggins.co.uk\/?p=666","url_meta":{"origin":2114,"position":0},"title":"YouTube, Ambisonics and VR","author":"Bruce Wiggins","date":"April 25th,  2016","format":false,"excerpt":"Introduction So, last week Google enabled head (phone!) tracked positional audio on 360 degree videos. \u00a0Ambisonics is now one of the defacto standards for VR audio. \u00a0This is a big moment! \u00a0I've been playing a little with some of the command line tools needed to get this to work, and\u2026","rel":"","context":"In &quot;Ambisonics&quot;","block_context":{"text":"Ambisonics","link":"https:\/\/www.brucewiggins.co.uk\/?cat=3"},"img":{"alt_text":"AmbiSignalRemap","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2016\/04\/AmbiSignalRemap.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":757,"url":"https:\/\/www.brucewiggins.co.uk\/?p=757","url_meta":{"origin":2114,"position":1},"title":"YouTube Spatial Audio Inverse Filter","author":"Bruce Wiggins","date":"October 7th,  2016","format":false,"excerpt":"It's been a little while since my last Ambisonics on YouTube post, so I thought I'd share a filter I've made to help make YouTube Ambisonics content sound better! \u00a0As you may have noticed, the audio that comes off YouTube once your spatial, Ambisonic, audio is uploaded is quite coloured\u2026","rel":"","context":"With 4 comments","block_context":{"text":"With 4 comments","link":"https:\/\/www.brucewiggins.co.uk\/?p=757#comments"},"img":{"alt_text":"YouTube Frequency Response vs Inverse Filter","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2016\/10\/YTInvFilter.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":859,"url":"https:\/\/www.brucewiggins.co.uk\/?p=859","url_meta":{"origin":2114,"position":2},"title":"Details on Facebook 360 Ambisonics Mapping from Angelo Farina","author":"Bruce Wiggins","date":"February 22nd,  2017","format":false,"excerpt":"EDIT: You can download a JS effect (for Reaper) that does the conversion from ambiX to TBE and another that goes from TBE to 2nd order, 2D, Furse-Malham format here (I've included my remapping JS effect too, so you can also go from Furse-Malham to TBE format by converting to\u2026","rel":"","context":"In &quot;Ambisonics&quot;","block_context":{"text":"Ambisonics","link":"https:\/\/www.brucewiggins.co.uk\/?cat=3"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2017\/02\/TBE_Channel_4_ZR-217x300.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1095,"url":"https:\/\/www.brucewiggins.co.uk\/?p=1095","url_meta":{"origin":2114,"position":3},"title":"Ambisonics to Binaural HRTF Animations","author":"Bruce Wiggins","date":"September 22nd,  2017","format":false,"excerpt":"A couple of weeks ago, I presented at the 4th International Conference on Spatial Audio in Graz, Austria (and it was a great event, too!) The paper I presented was:\u00a0 Analysis of Binaural Cue Matching Using Ambisonics to Binaural Decoding Techniques. In the presentation, I demonstrated the performance of the\u2026","rel":"","context":"With 4 comments","block_context":{"text":"With 4 comments","link":"https:\/\/www.brucewiggins.co.uk\/?p=1095#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2017\/09\/3o_F13-300x294.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":341,"url":"https:\/\/www.brucewiggins.co.uk\/?p=341","url_meta":{"origin":2114,"position":4},"title":"Sounds in Space 2012","author":"Bruce Wiggins","date":"May 1st,  2012","format":false,"excerpt":"The Sounds in Space 2012 Page with full details, and more information as we get it (programme, etc.) can be found at: Sounds in Space 2012 The Creative Technologies Research Group are proud to announce the 2nd Sounds in Space Symposium is to be held on 2nd July, 2012. A\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2012\/05\/Sounds-In-Space-2012-Poster-800px-211x300.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":109,"url":"https:\/\/www.brucewiggins.co.uk\/?p=109","url_meta":{"origin":2114,"position":5},"title":"Sounds in Space : Call for Papers and Contributions","author":"Bruce Wiggins","date":"March 21st,  2011","format":false,"excerpt":"The University of Derby is pleased to announce a joint symposium event organised by the Creative Technologies Research Group (CTRG) and Digital and Material Arts Research Centre (D:MARC). \u00a0Digital Hybridity + Sounds In Space will involve a full programme of research presentations and\u00a0practical demonstrations relating to the sound and visual\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.brucewiggins.co.uk\/wp-content\/uploads\/2011\/03\/Digital-Hybridity-smallposter2-1-211x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2114"}],"version-history":[{"count":2,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2114\/revisions"}],"predecessor-version":[{"id":2118,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2114\/revisions\/2118"}],"wp:attachment":[{"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brucewiggins.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}