Regarding multichannel sound in VacuumTube, if Gemini is to be believed, there are good news and there are bad news.
The good news is that making it capable of outputting Opus multichannel should be relatively easy. The bad news is that not all videos with multichannel content actually carry a multichannel Opus stream (they often just carry an AC3 and an EAC3 one). And having VacuumTube support EAC3 looks like a bit of a nightmare.
For the Opus multichannel route, I attach what Gemini proposed. I'm no coder, so I just limited myself to input the different sources and explain the overall situation and my findings.
As far as EAC3 is concerned (which would grant full compatibility with all multichannel videos available on the platform), it would require, according to Gemini:
- Patch Chromium's C++ source code to enable E-AC-3 in mp4_stream_parser.cc.
- Patch ffmpeg_audio_decoder.cc to map AudioCodec::kEAC3 to AV_CODEC_ID_EAC3.
- Compile a custom version of Electron from source on Linux with proprietary codecs and custom FFmpeg branding enabled.
- Repackage the entire Flatpak with your custom Electron binary.
This would basically become a mess for building and maintaining everything.
Working towards Opus multichannel compatibility could still be worth it, as its use is destined to become more widespread as time goes by.
I hope not to have wasted anybody's time with the above. As I stated: I am not a coder and I have no illusion of becoming one just because I have access to a moderately advanced LLM.