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
Sursound@music.vt.edu
https://mail.music.vt.edu/mailman/listinfo/sursound - unsubscribe here, edit
account or options, view archives and so on.