ActionScript 3.0 :: Synchronizing Video And Audio Content?
Feb 8, 2011
I have an mp3 audio file with some narration and I also have a bunch of images that should change each other on the screen depending on a cue phrases in audio. My question is what will be the best approach to the task. Is it possible to lay out sound and images in timeline the way it was possible in Director? If so, is there any way to automatically extend audio to the number of frames needed to cover its duration? Or do I need to convert an mp3 audio in some video format (flv) in Soundbooth, add cue points, then import video to Flash (what should be the video settings so the Flash accepts it) and use ActionScript to trigger the "slide show"
View 1 Replies
Similar Posts:
Jul 25, 2010
Im working on a project and I dont know how to even think through the problem, as I've only worked through Flash through AS3, and the following needs to be done completely in AS too.
I have two pieces of content - some flash video, and an mp3, both loaded dynamically with loaders etc. All this I think I have fairly well in hand. What I'd like to do make the 'hick-up' as these tracks loop, disappear by cross fading the video and mp3 across it self in the loop - if that makes any sense at all. I suspect that I'll have to delve into the timeline, but perhaps strangely, never done so.
View 2 Replies
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
Aug 25, 2009
I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)
Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.
I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.
View 8 Replies
Jun 2, 2010
I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.
View 3 Replies
Jul 12, 2011
I am using Flex and FMS to develop a video conferencing application. I am using DynamicStream to automatically switch incoming streams to the appropriate bitrate depending on the available bandwidth. I was wondering if there is anyway in which I can instruct the DynamicStream to allow more bandwidth for audio (obviously at the cost of losing some frames from the video).
View 1 Replies
Mar 7, 2011
I have a SWF movie (only animation, no Actionscript) and I would like to programatically extract the resulting video and audio and whatever resolution.
View 2 Replies
Apr 20, 2010
Not sure how to describe this issue, but I only get it in Firefox and not any other browser. When clicking around, the page sometimes blows up with the attached pic. Sometimes it has even more characters than that, and you can see things like LAME encoder referenced. Anyone know what the deal is? All site caching is disabled. I am no pro with flash so I don't know what is causing this. I am using the Boutell XSPF player due to its support of Autoresume, if that helps. I added it to the list of players, and have the flash embed code in a block. I am achieving this using the Drupal Audio module and submodules supporting it.
View 1 Replies
Aug 26, 2010
I have an animation of a swinging sign that is accompanied by a squeaking/swinging sound that is loaded externaly.. What I would like to do is go a step further and synchrinize the sound with the swinging sign.I've seen some tutorials about synking imported sound with animation - but is there a way to also synk an external sound?
View 3 Replies
Sep 21, 2011
I'm trying to maintain a web applications state across multiple tabs whilst using ActionScript, JavaScript, and PHP. Should I use AJAX to update the database after an item has been purchased etc, or should I prevent the game being loaded if it's already open in a single tab (if so how could I achieve this)?
I'm building a facebook game, when the user buys an item and has many open tabs it doesn't update the state in the other open tabs. The buying of an item is handled by ActionScript, and the storage of that item is dealt with using PHP.
View 1 Replies
Mar 10, 2011
I am a beginner using AS3 and working on an eLearning lesson using a Flash animation as a breathing exercise. The animation works well, but I need to synchronize 2 breathing sounds with the inhale-exhale animation cycles.I can import the inhale.mp3 and exhale.mp3 into the library. But then, I am not sure how to control play so that when the animation's inhale cycle is displaying (circle on stage expands for a time using a variable for duration, in microseconds: _inhaleDuration), the inhale.mp3 plays until the _inhaleDuration completes. After the inhaling animation, the animation cycle has a brief pause (no sound), then the animation displays the circle contracting for the time in the variable, _exhaleDuration, during which time I need the exhale.mp3 to play its breathing sound. Each sound needs to be synchronized to play only as long as the animation inhale or exhale duration.
I've been reading about sound files online and trying to figure out how to control play by duration using these 2 variables (_inhaleDuration, _exhaleDuration) but so far have not found this. So, I'm stuck and hope someone can provide suggestions, sample AS3 script, so I can add this feature to the animation's Tween function, that expands and contracts the circle, so it also has sounds.
View 2 Replies
Jun 9, 2010
My question is how possible creating streamable audio files /mp3/flv/ from multiple input files. The server is vps linux without soundcard, installed flash media server 3.5. My task is creating mixed mp3 output file.The input files are 2 mp3 file = 2 channel, uploaded to a server by the user.Controls: volume pitch, equalizer, fading that is controlled from client side flash appThe problem it should be in real time, when the user control the volume pitcher channels etc could be heard the result in the client's flash player on client side.For that purpose I tried to split the audio files into 1 sec pieces, and changing the splits only, and when done joining them together.
Feeding them to flash media server there was more problem:-the server streamed not the actual file but probably from cache -the streaming was always stopped after 1-2 seconds - using client side dynamic streaming /without joining the files / only the last file was played - using server side playlist playing more files was not played all the files So the question which way possible creating streamable files, or is there a better solution than splitting them.
View 3 Replies
Sep 26, 2009
How could I synchronize the highlighting text mechanism with the audio.
View 3 Replies
Sep 9, 2011
I am using 2 sound channels to play 2 separate, externally loaded mp3 files at the same time. Right now I have the play button tied to a function that starts the first mp3, then the 2nd. The problem is - the 2nd mp3 starts a few milliseconds after the first. Is there a way that I can make sure these 2 start playing at the exact same time?
[Code]...
View 1 Replies
Apr 28, 2009
With AS2 is it possible to use the current frame postion of the main timeline A to control the position of two mc timelines B,C relative to the current frame postion of mc D?the main and mc timelines have the same No of frames.Inverse control by D of B,C relative to A is also required!
View 1 Replies
Jan 16, 2010
I am building a 10-channel mixer/remixer and I`m having a problem with synchronizing the sounds. When a user clicks on the "Play" button, it calls a method in the main (document) class which runs through a "for" loop and calls a method in each of the channel objects which play their respective sounds. Here is the method in the document class which calls the playTrack() method in each channel object:
[Code]...
View 11 Replies
May 2, 2010
I have prepared a CUSTOM WHITEBOARD. This whiteboard is shared by two clients. They BOTH can draw on the board using TOOLS in the WHITEBOARD PANEL SET of the application. When someone DRAWS I do following actions:
1: Capture the WHITEBOARD FULL AREA/CANVAS using jpgEncoder().
2: Then I send this BYTEARRAY to the FMS server as Remote Shared Object.
3: The client then draws that RSO onto the WHITEBOARD.
Pretty simple though.
BUT, I am having synchronization ISSUES. The issues are as follows:
Issue 1: Image updates with no synchronization and seems to be zig-zag/random when they both draw at a normal speed.
View 2 Replies
Aug 18, 2011
I want to develop is a multiplayer TD game, and Im concerned about how to sync the players, I mean, its possible that at some times the map would be crowed with units everywhere.. is that an issue that has to be considered in order to make all players view the same at all times?.
View 1 Replies
Dec 7, 2009
When I use the webcam and microsoft to record a video, my audio and video are out of sync.This does not happens when I use the built-in Microphone on the webcam.
View 2 Replies
May 4, 2010
I imported a quicktime .mov video clip onto my stage for my website, but when I preview movie, there is no audio.
View 1 Replies
May 18, 2006
I have a video embeded into my scene, it is an flv. I need toremove the audio from it so I can put on a backing track. Is this
View 3 Replies
Sep 5, 2008
I have a video that consists of an imported FLV to thetimeline so I could put a new background behind the alpha-channeledbackground of the movie and put other thingsin front of it. When Iexport as SWF it plays just great. However, the download is akiller over DSL speed connection, so I thought I'd try making thefinished product into an FLV. To do that I have to export as QTmovie first, then from QT Pro export to FLV. It loads much quicker,however the movie's video and audio get out of synch by the firstminute (it's 4 1/2 minutes long), and by the end it looks terrible.
View 2 Replies
Jul 30, 2009
this one is really doing my head in and any advice (even vague thoughts) would be really great.I have an FLVPlayback component on the stage and I am loading 8 FLVs in to 8 separate video players within it. I then play the first one and when it ends I randomly select which to play next.Everything seems to work fine except that each time I run it one or two of the clips play back with only audio only and no video. It is not the same clip each time but whichever one it is will consistently fail to playback untill I re publish when it chooses a differrent clip to fail on.I am publishing for FP8 from CS4 on a Mac and it fails when I test movie as well as in FF and Safari.
If anyone has any ideas on this at all please shout them out or I am heading for the forrest never to return
View 3 Replies
Jun 13, 2010
When I go to test my video the audio and video are playing at different playback speeds. I'm trying to create a video using Flash that requires events based on the song itself. how to make the audio and video play at the same speed during Timeline playback and testing?
View 1 Replies
Mar 1, 2012
i am new to flex. I have this task. My boss wants an application that will enable his secretary in another room listen and view and probably take minutes of his meeting in the conference room. There is a webcam attached to one of the computers in the conference room.
View 1 Replies
Sep 15, 2009
I'm trying to load an MP4 using CS4 and actionscript 3. The clip is loading but I'm only hearing the audio, I'm not getting any audio. Not sure what I'm missing. Here's my code it doesn't produce any errors:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[Code].....
View 0 Replies
Aug 18, 2006
I am trying to use some streaming video and audio inside my flash movie, but can't quite figure it out..I have the video saved as an FLV file, and this file was uploaded into my streaming folder on my server. I tried to use a sample player I found, and everything should add up, but nothing is coming through. How exactly am I supposed to do this, and does anyone have a sample video controller/viewer I could borrow to test this out?
View 2 Replies
Jul 6, 2009
I have a video on my site (progressive download, flv file, imported using flash cs3 video encoder) and I used the FLVPlayback component with a simple skin. The video works great, my only problem is that I want the sound to stop when I click on other buttons on the page. The way I designed the site (maybe not a great set up) everything is in one big swf file, so when you click on another button on the page to show another project, the sound from the video file (that is no longer showing) is still playing.URL...
View 10 Replies
Feb 15, 2011
I am developing Video Chat over Ip (including audio and text too). But I am unable to get the proper startup material for my desktop application.
View 2 Replies
Jun 28, 2009
I'm looking for a flash video player and a flash audio player with playlist that I can customize.
View 2 Replies