Skip to main content
Participant
September 22, 2010
Question

mp4 file with 2 audio tracks

  • September 22, 2010
  • 1 reply
  • 4622 views

Hi all,

A quick question. Is it possible to play a mp4 video file with 2 audio tracks in it and switch between the two audio tracks?

In stead of subtitles we want to provide the user with audio in their own language. As a test I received a mp4 video file with 2 audio tracks, an English and a German. When I load and play the mp4 video file I default hear the English audio track. Is it possible to switch to the German audio track?

Thanx in advance!!

Best regards,

Paul

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 22, 2010

i don't see how that can work.  is there any application that allows you to play the german audio?

and, why not make it easy and create two mp4 files, one with german audio and one english?

Participant
September 22, 2010

Yes, VLC player lets me play the German audio. No problem at all.

The Flash app I am creating will be distributed on dvd, so we are a bit restricted in storage space. If we need to put every video film twice, we run out of space. When we put two audio tracks in one file we save a lot of space. And if another language comes in the future...

But thanx for your answer! If it is not possibe we have to look into another solution.

kglad
Community Expert
Community Expert
September 22, 2010

then check the metadate_received event to see if there's some event.info property you can use.