Bradskey
10 years agoChannel Surfer
Audio selection not available
I've written a private app that uses roVideoScreen to play a collection of mp4 videos streamed over http. Some of the videos have multiple audio tracks, usually a commentary track, and I would like to be able to select which audio track to play. Supposedly the roVideoScreen object supports this, but no matter how I construct the MP4 file I get the "Audio selection not available" message when hitting the menu (*) button:

I made sure to remux the mp4 file (using MP4Box) and specifying the ISO language code "eng" for both tracks. It did not help. I then tried labeling the second audio track as Spanish and hard-coded AudioLanguageSelected = "spa" into my Content Meta-Data array in the app. When I tried playing the video again it actually worked! I could now hear the second audio track instead of the first one. This tells me that the roVideoScreen component is perfectly capable of playing either audio stream from my mp4 file. But I still only see "Audio selection not available" when hitting the menu key.
What is the trick to get the audio selection feature to work when pressing the menu (*) key. I want the user to be able to pick the alternate audio tracks, which will actually all be in English, when they are available. I am currently setting minimal content meta-data fields. A bitrate of 0, the one http URL to the mp4 file, quality is always set to "HD", format is always "mp4", and I set a title. Everything is streamed over a private network to HD hardware so multiple bitrates and other settings are unnecessary. Streaming and playback seem to work flawlessly, what am I missing?

I made sure to remux the mp4 file (using MP4Box) and specifying the ISO language code "eng" for both tracks. It did not help. I then tried labeling the second audio track as Spanish and hard-coded AudioLanguageSelected = "spa" into my Content Meta-Data array in the app. When I tried playing the video again it actually worked! I could now hear the second audio track instead of the first one. This tells me that the roVideoScreen component is perfectly capable of playing either audio stream from my mp4 file. But I still only see "Audio selection not available" when hitting the menu key.
What is the trick to get the audio selection feature to work when pressing the menu (*) key. I want the user to be able to pick the alternate audio tracks, which will actually all be in English, when they are available. I am currently setting minimal content meta-data fields. A bitrate of 0, the one http URL to the mp4 file, quality is always set to "HD", format is always "mp4", and I set a title. Everything is streamed over a private network to HD hardware so multiple bitrates and other settings are unnecessary. Streaming and playback seem to work flawlessly, what am I missing?