Foliovision › Forums › FV Player › How to … › Multiple audio tracks
-
-
Hello Peter,
MXF doesn’t have HTML5 support and I don’t see any library which would allow its playback (like for example HLS.js lets to play HLS using the HTML5 feature called Media Source Extensions even if HLS is not supported by the browser directly).
If you can create the MP4 file like this:
1) Your-Video-Title-lang-en.mp4
2) Your-Video-Title-lang-de.mp4
3) Your-Video-Title-lang-fr.mp4
…
8) Your-Video-Title-lang-sk.mp4Then you could use FV Player Pro feature for Quality Switching to serve them all in a single player and allow use to pick the language: https://foliovision.com/player/basic-setup/quality-switching
However you might need to also provide a mobile version of the video alongside the HD version, so you would end up with up to 16 files and the quality switching menu would have too many items for it – there would have to be “English – Mobile” and “English – HD” and so on.
So the best solution would be to use HLS. In that one you could have a single video track (or as many qualities as you need) and then multiple audio tracks.
Thanks,
MartinHello Peter,
we can make that work. Information about the audio tracks is available via the HLS.js API, so we could add a button for it in player control bar like similar to the subtitles button: https://foliovision.com/player/demos/subtitles
Thanks,
MartinEven though this conversation is a bit older:
I am offering videos with several audio tracks. It turns out that the AUD button is there only on Windows computers.
On Mac and iPhone, there is no AUD button, and the audio track seems to be chosen from the localization of the operating system.
Is this intended like that?Thank you for your time
MichaelHi Girish,
Yes, that is basically true.
Multiple audio tracks are supported only on browsers which support HLS playback with HLS.js library. Because of the core device restrictions Apple devices will automatically choose the audio track based on your OS settings.
Thanks for reminding us, we’ll add that to our documentation.
Making the web work for you,
JurajHello Girish,
We’ve in-depth checked the multiple audio tracks support on iOS and we’ve found properties with which we actually can control audio tracks.
Mistake was on our side and it was caused by Apple’s inadequate documentation. As you can see here. So, we’ll add support for multiple audio tracks to iOS in close future.
I’ve discussed the implementation time possibilities with our development team and unfortunately our list too hot at the moment. Although I can’t guarantee the exact time, the multiple audio track support for iOS may be released within couple of weeks. I’ll keep you posted about the process.
Thanks for bringing this topic to us,
JurajHello Girish,
we have prepared this improvement (working audio menu on HLS in Safari) for the next FV Player release. You can already test it out here: https://foliovision.com/player/demos/multiple-audio-tracks
Thanks,
Martin