Thanks so much everyone for the quick replies and feedback! This has definitely given me something to go off.
Thanks Marc for the youtube-dl suggestion. Have tested with both youtube and facebook, and am able to dl the raw multichannel which is great, closer to what I want to do. Now just need to figure out what format they are streaming in... I guess one way would be to try upload my own video with known formats and orderings and see how they are switched around. As for facebook, there is this resource which seems to provide a method to convert from the facebook360 format to AmbiX: http://pcfarina.eng.unipr.it/TBE-Conversion-new.htm, but not sure the accuracy or reliability here, however have been speaking with Farina on the facebook360 group. Cheers, Sean On Mon, Feb 18, 2019 at 7:00 PM <[email protected]> wrote: > Send Sursound mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.music.vt.edu/mailman/listinfo/sursound > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Sursound digest..." > > > WHEN REPLYING EDIT THE SUBJECT LINE > > ALSO EDIT THE MESSAGE BODY > > You are receiving the digest so when replying, please remember to edit > your Subject line to that of the original message you are replying to, so > it is more specific than "Re: Contents of Sursound-list digest…" the > subject should match the post you are replying to. > > Also, please EDIT the quoted post so that it is not the entire digest, but > just the post you are replying to - this will keep the archive useful and > not polluted with extraneous posts. > > This is the responsibility of digest subscribers. the community and list > subscribers care about the integrity of the threads and archives so this is > important. > > Today's Topics: > > 1. Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? (Sean Devonport) > 2. Re: Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? (Peter Lennox) > 3. Re: Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? ([email protected]) > 4. Re: Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? (Marc Lavall?e) > 5. Re: Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? (Stefan Schreiber) > 6. Re: Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? (Marc Lavall?e) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 18 Feb 2019 12:30:10 +0200 > From: Sean Devonport <[email protected]> > To: [email protected] > Subject: [Sursound] Anyone ever tried to bypass youtube/facebook360 > player Ambisonics decoder? > Message-ID: > < > cafnkj6o0555bazyuynnw9ajxjbbz20sblytutwywgccn1ag...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hey everyone, > > I'm hoping someone may be able to provide some information to me on this > subject. > > I want to bypass youtube/facebook360 Ambisonics decoding and stream > directly to my Ambisonic decoder feeding multiple loudspeakers. > > Does anyone have any bright ideas to get the raw encoded Ambisonic format > streaming from these videos? > > Only one I can think of is to create a video player that decodes the 360 > video, but then leaves the audio encoded and streams that out from the > browser. > > Any help/ideas would be greatly appreciated! > > All the best, > > -- > Sean Devonport > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.music.vt.edu/mailman/private/sursound/attachments/20190218/7d3b765a/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 18 Feb 2019 11:14:30 +0000 > From: Peter Lennox <[email protected]> > To: Surround Sound discussion group <[email protected]> > Subject: Re: [Sursound] Anyone ever tried to bypass > youtube/facebook360 player Ambisonics decoder? > Message-ID: > < > cwxp265mb128734f88e95897f8eb2545cce...@cwxp265mb1287.gbrp265.prod.outlook.com > > > > Content-Type: text/plain; charset="us-ascii" > > Is it possible to simply transcode back to B format, then re- decode it > locally? Or does that miss the point of what you want to do? > > Dr. Peter Lennox SFHEA > Senior Lecturer in Perception > College of Arts, Humanities and Education > School of Arts > > e: [email protected] > t: 01332 593155 > > https://derby.academia.edu/peterlennox > https://www.researchgate.net/profile/Peter_Lennox > > University of Derby, > Kedleston Road, > Derby, > DE22 1GB, UK > > > Sensitivity: Internal > > -----Original Message----- > From: Sursound [mailto:[email protected]] On Behalf Of Sean > Devonport > Sent: 18 February 2019 10:30 > To: [email protected] > Subject: [Sursound] Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? > > Hey everyone, > > I'm hoping someone may be able to provide some information to me on this > subject. > > I want to bypass youtube/facebook360 Ambisonics decoding and stream > directly to my Ambisonic decoder feeding multiple loudspeakers. > > Does anyone have any bright ideas to get the raw encoded Ambisonic format > streaming from these videos? > > Only one I can think of is to create a video player that decodes the 360 > video, but then leaves the audio encoded and streams that out from the > browser. > > Any help/ideas would be greatly appreciated! > > All the best, > > -- > Sean Devonport > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.music.vt.edu/mailman/private/sursound/attachments/20190218/7d3b765a/attachment.html > > > _______________________________________________ > Sursound mailing list > [email protected] > https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, > edit account or options, view archives and so on. > > > The University of Derby has a published policy regarding email and > reserves the right to monitor email traffic. > If you believe this was sent to you in error, please reply to the sender > and let them know. > > Key University contacts: http://www.derby.ac.uk/its/contacts/ > > > ------------------------------ > > Message: 3 > Date: Mon, 18 Feb 2019 12:54:10 +0000 > From: <[email protected]> > To: <[email protected]> > Subject: Re: [Sursound] Anyone ever tried to bypass > youtube/facebook360 player Ambisonics decoder? > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > I can only say what Facebook does. They offer a 8+2 "container" which is > 2nd order Ambisonics plus a stereo-signal (for static music, e.g.). Yes, 8 > channels is one down from the 9 needed, but of course it`s a proprietary > solution of Facebook. > During a hands-on training with their principal Ambisonics guy at the last > AES convention in NY, we poked the guy repeatedly about higher orders than > 2, familiar channel counts, issues like raised by Sean etc. Vague comments > as was to be expected, although I have to say, the guy was bright, helpful > and audio-friendly. But naturally, he didn't tell us what they are working > on or what might come when in the future.... > > So without knowledge of their special encoding it'll be difficult, I am > afraid.... > > Best regards, > Florian > > Florian Camerer > Senior Sound Engineer > ORF - AustrianTV > > > ________________________________________ > Von: Sursound <[email protected]> im Auftrag von Peter Lennox > <[email protected]> > Gesendet: Montag, 18. Februar 2019 12:14 > An: Surround Sound discussion group > Betreff: Re: [Sursound] Anyone ever tried to bypass youtube/facebook360 > player Ambisonics decoder? > > Is it possible to simply transcode back to B format, then re- decode it > locally? Or does that miss the point of what you want to do? > > Dr. Peter Lennox SFHEA > Senior Lecturer in Perception > College of Arts, Humanities and Education > School of Arts > > e: [email protected] > t: 01332 593155 > > https://derby.academia.edu/peterlennox > https://www.researchgate.net/profile/Peter_Lennox > > University of Derby, > Kedleston Road, > Derby, > DE22 1GB, UK > > > Sensitivity: Internal > > -----Original Message----- > From: Sursound [mailto:[email protected]] On Behalf Of Sean > Devonport > Sent: 18 February 2019 10:30 > To: [email protected] > Subject: [Sursound] Anyone ever tried to bypass youtube/facebook360 player > Ambisonics decoder? > > Hey everyone, > > I'm hoping someone may be able to provide some information to me on this > subject. > > I want to bypass youtube/facebook360 Ambisonics decoding and stream > directly to my Ambisonic decoder feeding multiple loudspeakers. > > Does anyone have any bright ideas to get the raw encoded Ambisonic format > streaming from these videos? > > Only one I can think of is to create a video player that decodes the 360 > video, but then leaves the audio encoded and streams that out from the > browser. > > Any help/ideas would be greatly appreciated! > > All the best, > > -- > Sean Devonport > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.music.vt.edu/mailman/private/sursound/attachments/20190218/7d3b765a/attachment.html > > > _______________________________________________ > Sursound mailing list > [email protected] > https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, > edit account or options, view archives and so on. > > > The University of Derby has a published policy regarding email and > reserves the right to monitor email traffic. > If you believe this was sent to you in error, please reply to the sender > and let them know. > > Key University contacts: http://www.derby.ac.uk/its/contacts/ > _______________________________________________ > Sursound mailing list > [email protected] > https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, > edit account or options, view archives and so on. > > > ------------------------------ > > Message: 4 > Date: Mon, 18 Feb 2019 09:19:24 -0500 > From: Marc Lavall?e <[email protected]> > To: [email protected] > Subject: Re: [Sursound] Anyone ever tried to bypass > youtube/facebook360 player Ambisonics decoder? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > Sean, > > You can use the youtube-dl script (https://rg3.github.io/youtube-dl/) to > download only the appropriate audio stream. Here's how I was able to use > it. First I inspected the available formats: > > youtube-dl -F "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > > I identified 3 formats providing FOA streams: 327 (aac), 338 (opus) and > 339 (vorbis). > > So to get the aac stream (with an audio container, using the "-x" option): > > youtube-dl -f 327 -x "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > > The resulting stream has 6 channels, so 2 of them are silent. No idea > about the channel ordering. If prefered, the opus and vorbis streams > have 4 channels (not 6). > > It should also be possible to create a "stream and decode" pipeline > using this command (with the "-o -" option, without the "-x" option): > > youtube-dl -f 327 -o - "https://www.youtube.com/watch?v=bKV1IS-ATmQ" | > some_command_line_decoder > > The "some_command_line_decoder" is a script or software that can decode > the stream from STDIN (so a proper Unix OS is required). > > The youtube-dl script can also be used with the mpv video player > (https://mpv.io/); see the ytdl-format and ytdl-raw options. > > I hope this helps. Good luck! > > Marc > > Le 2019-02-18 ? 5:30 a.m., Sean Devonport a ?crit?: > > Hey everyone, > > > > I'm hoping someone may be able to provide some information to me on this > > subject. > > > > I want to bypass youtube/facebook360 Ambisonics decoding and stream > > directly to my Ambisonic decoder feeding multiple loudspeakers. > > > > Does anyone have any bright ideas to get the raw encoded Ambisonic format > > streaming from these videos? > > > > Only one I can think of is to create a video player that decodes the 360 > > video, but then leaves the audio encoded and streams that out from the > > browser. > > > > Any help/ideas would be greatly appreciated! > > > > All the best, > > > > > ------------------------------ > > Message: 5 > Date: Mon, 18 Feb 2019 16:33:37 +0000 > From: Stefan Schreiber <[email protected]> > To: Surround Sound discussion group <[email protected]> > Subject: Re: [Sursound] Anyone ever tried to bypass > youtube/facebook360 player Ambisonics decoder? > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8"; Format="flowed"; > DelSp="Yes" > > 6 channel format on YT: > > > https://github.com/google/spatial-media/blob/master/docs/spatial-audio-rfc.md > > So channel ordering (normally) is W, Y, Z, X, L, R.? > > It is possible to change the channel layout, which might be a > problematic feature... > > ?For example, a channel layout of?4,?5,?0,?1,?2,?3?indicates that the > layout of the stored audio is?/L/,?/R/,?/W/,?/Y/,?/Z/,?/X/.? > > Best, > > Stefan? > > Citando Marc Lavall?e <[email protected]>: > > > Sean, > > > > > > > > You can use the youtube-dl script > > (https://rg3.github.io/youtube-dl/) to download only the appropriate > > audio stream. Here's how I was able to use it. First I inspected the > > available formats: > > > > > > > > youtube-dl -F "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > > > > > > > > I identified 3 formats providing FOA streams: 327 (aac), 338 (opus) > > and 339 (vorbis). > > > > > > > > So to get the aac stream (with an audio container, using the "-x" > option): > > > > > > > > youtube-dl -f 327 -x "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > > > > > > > > The resulting stream has 6 channels, so 2 of them are silent. No > > idea about the channel ordering. If prefered, the opus and vorbis > > streams have 4 channels (not 6). > > > > > > > > It should also be possible to create a "stream and decode" pipeline > > using this command (with the "-o -" option, without the "-x" option): > > > > > > > > youtube-dl -f 327 -o - > > "https://www.youtube.com/watch?v=bKV1IS-ATmQ" | > > some_command_line_decoder > > > > > > > > The "some_command_line_decoder" is a script or software that can > > decode the stream from STDIN (so a proper Unix OS is required). > > > > > > > > The youtube-dl script can also be used with the mpv video player > > (https://mpv.io/); see the ytdl-format and ytdl-raw options. > > > > > > > > I hope this helps. Good luck! > > > > > > > > Marc > > > > > > > > Le 2019-02-18 ? 5:30 a.m., Sean Devonport a ?crit?: > > > >> Hey everyone, > >> > >> > >> > >> I'm hoping someone may be able to provide some information to me on > this > >> > >> subject. > >> > >> > >> > >> I want to bypass youtube/facebook360 Ambisonics decoding and stream > >> > >> directly to my Ambisonic decoder feeding multiple loudspeakers. > >> > >> > >> > >> Does anyone have any bright ideas to get the raw encoded Ambisonic > format > >> > >> streaming from these videos? > >> > >> > >> > >> Only one I can think of is to create a video player that decodes the > 360 > >> > >> video, but then leaves the audio encoded and streams that out from the > >> > >> browser. > >> > >> > >> > >> Any help/ideas would be greatly appreciated! > >> > >> > >> > >> All the best, > > > > _______________________________________________ > > > > Sursound mailing list > > > > > > [email protected]https://mail.music.vt.edu/mailman/listinfo/sursound > - > > unsubscribe here, edit account or options, view archives and so on. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://mail.music.vt.edu/mailman/private/sursound/attachments/20190218/8afb11fb/attachment.html > > > > ------------------------------ > > Message: 6 > Date: Mon, 18 Feb 2019 11:48:52 -0500 > From: Marc Lavall?e <[email protected]> > To: [email protected] > Subject: Re: [Sursound] Anyone ever tried to bypass > youtube/facebook360 player Ambisonics decoder? > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8; format=flowed > > Le 2019-02-18 ? 11:33 a.m., Stefan Schreiber a ?crit?: > > > 6 channel format on YT: > > > > > https://github.com/google/spatial-media/blob/master/docs/spatial-audio-rfc.md > > > > > > So channel ordering (normally) is W, Y, Z, X, L, R. > > > > It is possible to change the channel layout, which might be a > > problematic feature... > > > > ?For example, a channel layout of?4,?5,?0,?1,?2,?3?indicates that the > > layout of the stored audio is?/L/,?/R/,?/W/,?/Y/,?/Z/,?/X/.? > > The aac streams (that I captured from youtube) looks different; the 3 > first channels are used, followed by the 5th channel (sometimes it is > empty, probably for horizontal only FOA). The 4th and 6th channels are > empty. > > It could be that the spatial-audio rfc does dot reflect what's happening > at the output of the youtube workflow. If the output formats are not > documented, a bit of reverse-engineering could help (something I don't > plan to try). > > Marc > > > > > > Best, > > > > Stefan > > > > Citando Marc Lavall?e <[email protected]>: > > > >> Sean, > >> > >> > >> > >> ?You can use the youtube-dl script > >> (https://rg3.github.io/youtube-dl/) to download only the appropriate > >> audio stream. Here's how I was able to use it. First I inspected the > >> available formats: > >> > >> > >> > >> ?youtube-dl -F "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > >> > >> > >> > >> ?I identified 3 formats providing FOA streams: 327 (aac), 338 (opus) > >> and 339 (vorbis). > >> > >> > >> > >> ?So to get the aac stream (with an audio container, using the "-x" > >> option): > >> > >> > >> > >> ?youtube-dl -f 327 -x "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > >> > >> > >> > >> ?The resulting stream has 6 channels, so 2 of them are silent. No > >> idea about the channel ordering. If prefered, the opus and vorbis > >> streams have 4 channels (not 6). > >> > >> > >> > >> ?It should also be possible to create a "stream and decode" pipeline > >> using this command (with the "-o -" option, without the "-x" option): > >> > >> > >> > >> ?youtube-dl -f 327 -o - "https://www.youtube.com/watch?v=bKV1IS-ATmQ" > >> | some_command_line_decoder > >> > >> > >> > >> ?The "some_command_line_decoder" is a script or software that can > >> decode the stream from STDIN (so a proper Unix OS is required). > >> > >> > >> > >> ?The youtube-dl script can also be used with the mpv video player > >> (https://mpv.io/); see the ytdl-format and ytdl-raw options. > >> > >> > >> > >> ?I hope this helps. Good luck! > >> > >> > >> > >> ?Marc > >> > >> > >> > >> ?Le 2019-02-18 ? 5:30 a.m., Sean Devonport a ?crit?: > >> > >>> Hey everyone, > >>> > >>> > >>> > >>> ?I'm hoping someone may be able to provide some information to me on > >>> this > >>> > >>> ?subject. > >>> > >>> > >>> > >>> ?I want to bypass youtube/facebook360 Ambisonics decoding and stream > >>> > >>> ?directly to my Ambisonic decoder feeding multiple loudspeakers. > >>> > >>> > >>> > >>> ?Does anyone have any bright ideas to get the raw encoded Ambisonic > >>> format > >>> > >>> ?streaming from these videos? > >>> > >>> > >>> > >>> ?Only one I can think of is to create a video player that decodes > >>> the 360 > >>> > >>> ?video, but then leaves the audio encoded and streams that out from the > >>> > >>> ?browser. > >>> > >>> > >>> > >>> ?Any help/ideas would be greatly appreciated! > >>> > >>> > >>> > >>> ?All the best, > >> > >> _______________________________________________ > >> > >> ?Sursound mailing list > >> > >> [email protected]:// > mail.music.vt.edu/mailman/listinfo/sursound > >> - unsubscribe here, edit account or options, view archives and so on. > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > < > https://mail.music.vt.edu/mailman/private/sursound/attachments/20190218/8afb11fb/attachment.html > > > > _______________________________________________ > > Sursound mailing list > > [email protected] > > https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe > > here, edit account or options, view archives and so on. > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Sursound mailing list > [email protected] > https://mail.music.vt.edu/mailman/listinfo/sursound > > WHEN REPLYING EDIT THE SUBJECT LINE > > ALSO EDIT THE MESSAGE BODY > > > ------------------------------ > > End of Sursound Digest, Vol 127, Issue 3 > **************************************** > -- Sean Devonport -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://mail.music.vt.edu/mailman/private/sursound/attachments/20190219/ef2375d6/attachment.html> _______________________________________________ Sursound mailing list [email protected] https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, edit account or options, view archives and so on.
