how can I play video with multiple audio tracks on iOS?
Hi,
Suppose I have a video track with multiple alternate audio tracks (say for different languages), how can I play this on a native iOS player?
Thanks,
Apurva
iPhone 4S, iOS 5
Hi,
Suppose I have a video track with multiple alternate audio tracks (say for different languages), how can I play this on a native iOS player?
Thanks,
Apurva
iPhone 4S, iOS 5
Is it a MOV / MP4 / M4V file or an MKV one?
It is .ts format. I have created an m3u8 as so :
#EXTM3U
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English",DEFAULT=YES,AUTOSELECT=YES ,LANGUAGE="en",URI="http://<ip>/alternate/prog_index.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Deutsche",DEFAULT=NO,AUTOSELECT=YES ,LANGUAGE="de",URI="http://<ip>/alternate2/prog_index.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=150000,AUDIO="aac"
http://<ip>/low/prog_index.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=65000
http://<ip>/alternate/prog_index.m3u8
It's playing the selected tag but not giving me the option to select the alternate2 track.
I'm playing this in safari. Requesting for the Set-level m3u8
Use GoodPlayer unless it's a Full HD stream. GP has the best TS support, including changing the audio track. (Make sure you wipe from let to right - or vica versa - while playing to change the track.)
If it's a Full HD video, then, currently, no player will play it back correctly. TS is a very scarcely supported container and needs to be converted. Let me know if it's Full HD.
BTW, we've discussed TS file playback at https://discussions.apple.com/thread/3968958?answerId=18462843022#18462843022&ac_cid=tw123456#18462843
I also have the mp4/f4v files. I can use that. But I need to know if Safari/Quicktime on my iPhone/iPad has the capability to recognise such a m3u8 and let me pick which audio to play. Will this work with HLS?
My problem is not playback of .ts files. That is happening fine. My problem is if I have a video with alternate audio tracks can Safari/Quicktime play this? If yes how does the user select which audio file to play?
Currently Safari is just playing the first audio stream mentioned. Where can the user select the audio stream?
Also, can this be done with HLS? If yes, how should the Set level manifest look like?
Thanks!
If you dowload the file (can you download, or only stream?), then, better players (including the stock Videos) will be able to select between the tracks in MP4 files.
There's a complete section on all these q's at http://www.iphonelife.com/blog/87/review-multimedia-player-playerxtreme (look for the paragraphs starting with "M4V's with more than one audio track").
If you can't directly download, enter the URL in GoodPlayer. Hopefully it WILL be able to download the file instead of just streaming it. Then, you'll be able to play it in any player capable of track switching.
Is Safari/Quick time capable of track switching?
QT is, see the recommended article.
Quick time is not recognizing the alternate audio tracks when I use the set-level manifest as mentioned above.
apurva0612 wrote:
Quick time is not recognizing the alternate audio tracks when I use the set-level manifest as mentioned above.
This is why I asked about downloading the videos (if possible). THEN, it will be able to switch.
Did you try the bilingual video linked from the above article? http://dl.dropbox.com/u/13100693/html/042012RetinaHDVideoPlayers/2AACAudioAndMan ySubs.mov
The link provided only open a video that hangs my broswer. I didn't find any useful information there. I don't want to download videos. I want to stream it using HTTP Live Streaming.
Do you have GoodPlayer?
how can I play video with multiple audio tracks on iOS?