ActionScript 3.0 :: Mp4 File With 2 Audio Tracks?

Sep 22, 2010

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?

View 5 Replies


Similar Posts:


Separate FLV Video And Audio Tracks In FLV Playback Component?

Jul 30, 2009

We're creating video that is destined for multiple countries - we've created a framework that has a video page (using the FLV playback component, w an external FLV w/ progressive download) for the given languages we're using, and subtitles for each, etc..  Until now, we've been using the same English video & audio for each, but the client is looking into having the videos dubbed into different languages.
 
We're hoping to avoid re-encoding the video for each language in order to accommodate for the different audio tracks.  Also, having different video files for each language would mean using more storage (since we're talking about a lot of video files, so it adds up). Is there a way to use FLV playback to progressive download an FLV file (video only) while playing a separate mp3 file?  Most inquiries into playing separate audio and video has led me to embedding video, which isn't feasible in our case.

View 4 Replies

ActionScript 3.0 :: Accessing A Loaded Video's Audio Tracks?

Mar 14, 2012

Is it possible to access a video's audio tracks when playing an flv, mp4, m4v, etc? I am trying to build a player where I can switch between different language tracks but can't find how to access this property.I am using the FLVPlayback component:

ActionScript Code:
mPlayer = new FLVPlayback();
mPlayer.width = 957;

[code]....

View 0 Replies

ActionScript 3.0 :: Make A Pause/Play Function For Multiple Audio Tracks?

Aug 13, 2009

I have a Flash file that has two music tracks. The player I built works well so far except for this, I am trying to make a Pause/Play button the works on either track. Right now it only works on one. With my limited knowledge of AS3 I tried different solutions but none worked.

Here is the SWF file; [URL]

You will see that the Pause/Play button only works on �Kiss My Dogg� which is track 1.

Here is the FLA file; [URL]

Below is some of the Script I wrote. The pause/play is the part I can�t figure out.

//function to load different tracks
function loadMusic(evt:MouseEvent):void{
//stop whatever is playing
SoundMixer.stopAll();

[Code].....

View 2 Replies

ActionScript 3.0 :: Control The Volume Of Multiple Audio Tracks Embedded Within A Movie Clip?

Jun 9, 2010

What is the script to control the volume of multiple audio tracks embedded within a movie clip?

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

Actionscript 3 :: Use An Audio-file - Preload A Sound-file

Jan 21, 2011

I have AS3 project, made with FlashBuilder. I'm using MovieClips from an external .SWC-file. In a MovieClip from the .SWF-file, I want to use an audio-file. Is it possible to preload a sound-file (e.g. .MP3) in my FlashBuilder project, and access it in a MovieClip inside the .SWC?

View 1 Replies

ActionScript 3.0 :: How To Download Audio File And Video File

Sep 27, 2009

i am new to actionscript i need to download .mp3 and vedio file form my remote server how to do this give me any example source code for this.when i download .pdf its downloading properly. but not audio.

View 1 Replies

Professional :: Soundboard Trying To Layer Tracks

Jan 12, 2011

I'm a games design student from the UK I'm currently working on a music project. for this I want to create a soundboard where the user can select a multiple number of files and then play them as one track, my plan is to record background, rhythm, melody and random event tracks and have the user select one of these elements from each bank of samples and have a button for them to hear the outcome.So far i can get the soundboard elements to work, but no matter where i look or who i ask no one seems to know how to make this idea work, someone suggested using an array but when i started looking at arrays there seems to tutorials on creating them but not implementing them.

View 2 Replies

Flash :: How To Play Music Tracks In AS3

Dec 19, 2010

I need to play three musical tracks one after the other in a circle. It is necessary that its are not loaded again and were in the cache. I use this code. Everything works fine on localhost, but only works after restart the app on the server. And wrong to re-download tracks every time.

[Code]...

optObj.music - it is the object with the parameters that is called when the app starts or when i call a function change the settings.

View 1 Replies

ActionScript 2.0 :: Change Music Tracks?

Feb 19, 2003

I saw many flash web sites that has multiple music tracks to choose. I would like to learn this nice feature. Is there a tutor? how i can add multiple soundtracks for my flash presentation, I know how to add one soundtrack into my flash movie but i don't know how add several music tracks and how to make button to load one and unload the other.

View 1 Replies

ActionScript 2.0 :: Flash8 Mediaplayback Play All Tracks

May 26, 2009

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[Code]....

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.

View 2 Replies

ActionScript 2.0 :: Flash8 Mediaplayback Play All Tracks?

Oct 13, 2009

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album. It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[code]....

that is for when you click (or press) on a selected item in the "lista" List.

I tried something like:
for (var i = 0; i<num_total; i++) {
player.setMedia(urlnow+"/"+lista.selectedIndex[i].data, "MP3");
player.play();
}

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener...

View 1 Replies

Flash :: Text That Lists The Tracks Done In HTML?

Sep 25, 2009

I am looking to replicate the way the music tracks are presented on this website:[URL].. I'd like to create something somewhat similar, in which I can simply type out the name of each track and then have the small Play/Pause button icon. Are there any templates that are packaged with Flash CS4 for something like this? Otherwise, if you could point me in the right direction as to how it is constructed and/or a tutorial for creating. - But is the text that lists the tracks done in HTML? If so, then this is pretty simple really.

View 1 Replies

ActionScript 2.0 :: Flash8 : Mediaplayback Play All Tracks?

Sep 5, 2010

I am working on a mp3 album collection project and I am using Mediaplayback component for playing the mp3 files, a List component to show all the tracks (and select one) and the songlists are stored in XML data located in one folder for each album.It is working fine, but I want to have a button to "Play all tracks" like when you place a CD in the Windows Media Player, that is, starting playing the first track and so on.... until the last one.

Here are the parts for the mediaplayback:

lista.addEventListener("change", ifchanging);
function ifchanging(evento) {
if (evento.type == "change") {

[code]...

But it just play the last track. I think it must go on one of the events or in a if..else including the EventListener... I'm just beginning on ActionScripting and I am using parts of what I saw in other codes.

View 2 Replies

ActionScript 2.0 :: Music Navigation Bar Mutliple Tracks?

May 7, 2003

I'm trying to create a music bar that will have next/prev track buttons.I thought of creating an array of the tracks and navigating through the array.Naming the tracks "track1", "track2" etc, start with track1 and increase the number after every pass through the loop. Although I thought of these I could not get the code to work.

View 3 Replies

ActionScript 2.0 :: Load 4 Different Mp3 Tracks Into My Flash Movie?

May 8, 2003

I was wondering how i could load 4 different mp3 tracks into my flash movie. also, how would i be able to have something say loading while it is doing so, or would i have to make the sound stream?

View 2 Replies

ActionScript 2.0 :: Scripts From As Cookbook - Load Mp3 Tracks

Apr 5, 2007

I'm making some scripts to load mp3 tracks. For this I'm using some scripts from the as cookbook. But I'm having some problems with it.

View 1 Replies

ActionScript 2.0 :: Xml Sheet - Navigate Between Each Cd To Play Tracks Within?

Apr 19, 2007

for the following xml sheet:

<playlist>
<cd thumb ="album_music/image.gif" albumtitle="album1" artistname="yoohoo" tracktitles="blah blah">[code]...

I have the following actionscript to navigate between each cd to play tracks within.i need the on release function to be corrected for me so that when u click on the icon - THE PARTICULAR cd is played which the icon represents. right now my on release function plays the first mp3 of the first cd no matter which icon u click on.

Code:

var item_spacing = 110;
var item_count = 0;
var tracklist = new Array();[code]....

View 2 Replies

ActionScript 2.0 :: [Flash 8] Generating Tire Tracks?

Jun 6, 2007

I need to do some banners in which an invisible car follows a guide path, generating tire tracks that fade over time. I know how to do it "the hard way" with masks, but there are many formats for the banner, so it would be a lot of tweaking and ajusting for each one. Is there a way in AS2 to dinamically generate the tire tracks and make them follow a designated path (that contains curves)? It would help me a lot to simply adjust each path for different banners, rather than to redraw the whole stuff each time.

View 4 Replies

IDE :: Adding Music Tracks To Flash Movie?

May 25, 2009

Does anyone know of some good tutorials for adding music tracks to your flash movie? I'm using CS3.

View 1 Replies

ActionScript 2.0 :: Make A Player With Multiple Tracks And Songs

Jan 4, 2004

where on this site or another site can I find a good in dept tutorial or tutorials on control over music and sound IE loading, playing, and so on. I know the basics but im trying to make a player with multiple tracks and songs that are too big to just place in the flash movie

View 8 Replies

Actionscript :: Play Multiple Tracks In Sync Flash Builder?

Aug 6, 2011

I'm about to create some art installation using augmented reality and music. I'd like to implement some kind of sampler in it, but I can't find any way to do it.

It's gonna be a looper, I've got 12 files (each 8 seconds) and I want to play them synchronized - so they must start at the same time. this is example of something similiar to my project[url]... They must be controlled by changing volume (0 means off).

View 1 Replies

ActionScript 3.0 :: Utilize XML Playlists That Include A Full Playable List Of Tracks?

May 11, 2011

I am attempting to create a music site with multiple cd pages using frame labels.  I am seeking the best means to utilize XML playlists that include a full playable list of tracks from each CD at multiple label "stop"'s.  I am struggling with whether I can create one long set of code that accesses the entire multi- cd playlist or whether I need to create unique code at each CD section at it's label "stop" that includes a 'local' xml playlist.  Both options are giving me trouble.  I am trying to extrapolate on actionScript 3.0 Classroom in a book "controlling Sound with ActionScript" example to multiple webpages - slowly and frustratingly thus far.Does actionScript 3.0 consider the actions within each label set of frames as unique code - meaning when a button takes you to another label new code is required that is fully unique to that new label section? I either get duplicate function or when I atttempt to re-define each function to a unique function in the new label I run into other errors. 

View 2 Replies

ActionScript 3.0 :: Dynamically Merge All The Tracks Into 1 Track To Be Played Back On The Site

Jun 24, 2009

I am building an as3 site where users upload a 5sec audio using there micraphone on there computer. The audio tracks are saved to the server. I am looking for a script that will dynamically merge all the tracks into 1 track to be played back on the site.

View 0 Replies

ActionScript 3.0 :: Add A Miniature Browser That Shows The Entire Map And Tracks Mouse Position?

Jul 12, 2010

I am in the process of creating a very large map for a client, and need to add a miniature browser that shows the entire map and tracks mouse position.

View 0 Replies

Actionscript 2.0 :: Creating A Mixer Interface That Plays Multiple Tracks At The Same Time?

Jun 10, 2009

New to flash and actionscript. Here's what I'm using:

Flash CS4
Actionscript 2

I'm creating a mixer interface that plays multiple tracks at the same time. I can play and stop all tracks, but I'm having a tough time figuring out how to pause/unpause the tracks. I have a [pause_btn] and an [unpause_btn] just don't know the code to get them working.

[Code]...

View 5 Replies

AS3 :: Added Narrated Audio File To Fla?

Sep 8, 2009

I find myself inbetween the AS2 and AS3 world with this project. I added an audio file in a project which is a narrated presentation. If I play the timeline the audio plays but when I stop the playhead the audio continues to play. To tell you the truth I could not even remember having to do this in AS2 not alone in AS3. I have the audio preferences set to specch to make the file smaller, have the frame rae up to 30 frames per second as I'm using FlashEff for text and movieclip effects.

Is there away to be able to stop the audio so i can see and hear where I am when I start dropping the text and pics in the project?

View 1 Replies

Flash - Possible To Change SWF Audio File

May 1, 2011

I am not familiar with flash, and I would like to change an audio file from an annoying noise to a silent (aka, blank) file. Before you ask "why use it at all" - It is used for an online chat client, and invokes a Jquery error if the file is not present. The current file. It would be outstanding if someone could whip-up an error.swf file that is silent.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved