?
Solved

different sound tracks for flash video (flv)

Posted on 2005-03-15
12
Medium Priority
?
186 Views
Last Modified: 2010-04-03
Hello,

I'm using Flash for a multimedia cd-rom with video. The presentation will be multilangual, so I'll have to put the video multiple times on the cd with different sound tracks. But this will take a lot of time (rendering to flv) and a lot of space on the cd, so I'll have to shrink the quality of the video. Is there anyone who can help me with a better solution ?

It would be great to have some kind of system or component to use one video-flv with different audio-flv or -mp3 so it's easy to switch between different languages (like you would do on a DVD). Any ideas ?

Thanks a lot,
Frank
0
Comment
Question by:Amigo_fd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 13545339
You can create one video, and load different flv with just audio stream based on user system language...
0
 

Author Comment

by:Amigo_fd
ID: 13545476
how would you do this ? with two video-components ? will they stay in sync ?
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13545688
>how would you do this ? with two video-components

yes, you can use two mediaDisplay to play both video and sound, or a mediadisplay for audio and a mediaplayback for video. you have to check both streams are loaded before playing (but you should not have problem, as they are on cd), and yu could use mediadisplay timing feature to check if they are in sync (they should anyway).
If you have got a little video and a couple of audio streams I can make an example for you...
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Amigo_fd
ID: 13545735
that would be great ! I made a little test already but it gives a little "crack" in the audio each time I do a check if it is still sync.

the files are zipped 9,8 Mb. can I mail that to you ? or send you a link to a download ?
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13545844
>or send you a link to a download

well, you should post it on a public server, unless they are really personal, as off board threading is against EE rules..
0
 

Author Comment

by:Amigo_fd
ID: 13545883
ok, i'll make some test files tomorrow.

thanx already !
0
 

Author Comment

by:Amigo_fd
ID: 13553468
I don't have an audio and video track I can share on a public server, but I made a test-fla which works like I think you would do:

* media-display on-screen for the video
* media-playback off-screen for the audio

* both paused at start
* loop while they are loading

* start and loop with a check every second if they are still in-sync. But this results in an audio-click every time it synchronises.

The fla can be downloaded from www.commaid.com/download/test.fla
0
 
LVL 27

Accepted Solution

by:
negatyve earned 500 total points
ID: 13553737
You don't have to synchronise them with loop. You should check it "once in a while":

this.synchroniseID = setInterval(this, "synchronise", 5000);
function synchronise()
{
      var at = this.audiotrack.playheadTime;
      var vt = this.videotrack.playheadTime;
      if(Math.abs(at - vt) > 2){
            at > vt ? this.videotrack.play(at) : this.audiotrack.play(vt);
      }
}
0
 

Author Comment

by:Amigo_fd
ID: 13563182
where do you put this ? in frame 1 of the timeline ?
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13563244
In the same frame where you start both streams after checking for loading status. Delete all others frame from that on, you don't need a frame loop.
0
 

Author Comment

by:Amigo_fd
ID: 13563302
thanx a lot !
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13563383
cheers.. :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question