Audio And Video Out Of Sync
Dec 7, 2009When 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 RepliesWhen 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 RepliesI have a project that involves playing back a video clip within my swf movie. The video clip plays fine on its own, but when brought into flash the video and audio become out of sync and the movie quality suffers dramatically. I have tried embedding and streaming.
View 1 RepliesIm having serious issues making a video sync with audio inside an embedded flash video file.
View 2 RepliesWe use a Flash component to allow a user on our web site to record from a Webcam on to our own Flash Media Server. The problem we are having is that the video in a 30 second FLV freezes at the 7th second but the audio continues. The video unfreezes after a couple of seconds but never catches up with the audio. At the very end there's a "Fast-forwarding" of video for the last few seconds so that at literally the last moment, everything's in sync. This happens for almost all of our recordings. Has anyone experienced this type of behavior?
View 5 RepliesI am calling some streaming video on frames 1-11 to play for a multiple choice game. My video and audio are out of sync at times on frames 3-11? [code]...
View 1 RepliesI'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
View 3 RepliesBecause the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..
View 1 RepliesI have an animation that I am exporting as either a .wav or .mov file then editing in different software but when I import the new file it is out of sync. That sounds confusing so I will explain. The project is a cartoon and a temp dialogue track was created before animation started. Then that temp track was used to animate over and do lip synching. Recently, actors have re-recorded the original temp dialogue track. So, I need to export the original dialogue track out of Flash, use an editor, in this case Final Cut Pro, and replace the dialogue then export that as an audio file and bring it back into Flash.
But it is always out of sync. I have even exported a .wav file from Flash then immediately re-imported it and put it on the timeline and it is already out of sync. And it is the exact same audio! I don't even know how that could be possible. Surely if you export a wav from Flash and then re-import it, it should be exactly the same.
I am streaming live content via flv but the video is lagging audio by some time. I am using netstream and video but cannot find a way to set the FPS for the video, I think i could fix it if I knew how to adjust the FPS
View 1 RepliesWe are creating a 30-track mixing desk to demonstrate our percussion instruments. Take a look at www.bellpercmixer.com. As you can probably hear, the audio is not properly syncing up.
The files should be exactly the same length (8 seconds) but they are mp3s so I don't know if the compression messes the length up as I know it adds the gap between the loop? More than likely, it is my lack of action script skill that has caused this problem... e.g. does each track need to be on a separate layer with a sync-track type thing? Here is an example of the script:
[Code].....
I have a voice over that I am trying to load, and sync with on screen animations. So when the narrator says something the animations back it up. However, when I embed the audio clip in the timeline, it makes my whole flash movie slow to a crawl, and everything gets out of sync anyway. When I load it externally using AS3 like this:
ActionScript Code:
var my_sound:VoiceOver = new VoiceOver();
var channel:SoundChannel = my_sound.play();
Everthing works great, but I don't know how to sync it with my movieClip that contains my animations. Is there a way to have the external audio sync with a movieClip on the timeline?
Are there issues with using attachSound to sync sound clips with Movie Clips? I currently am having this problem. I have all my sounds in a separate swf (sounds.swf), then I call the sounds like this:
Code:
gear1_btn.onRelease = function() {
logo.gear1.play();
sounds.gearssmfx.start();
}
I build the movieclips with the sound on the timeline, so that I know they sync up. Then I remove the sound from the movieclip, and actually play the sound with the AS above. The above AS should play the same in the browser, but doesn't. The problem is that the movieclip animations often run slower in the browser than they did within Flash. Is is possible that the movie is running at a slower FPS in the browser? I have noticed that it runs slightly slower in Firefox than IE. I'm currently using 32fps.
Here is my development : [URL]
Specifically, I'm having problems with the gears next to the letter "S" and "0", click on them to play.
I am using Flash CS3 on a PC. I am trying to export an animation to quicktime (Export > Export movie) and have some problem regarding the sound. The animation contains actionscript 2.0loads external swf contains streaming soundsplay other sounds via actionscript. 4 scenes. When publishing the animation, it works fine, but when exporting it to .mov, the audio goes faster than the video.
Export setting:
Video:Compression type: H.264Frame Rate: CurrentKeyFrames: 4
Sound:Compressor: 24-bit integerRate: 48.000KhzSize: 16BitUse: Stereo
To be honest, I tried many other compression types and frame rates and keyframes, but nothing seem to work.
I tried:
- importing the external swfs into the original animation
- creating a streaming silence from frame 1 for continuous sound
- capturing the animation using CamStudio, but it's not smooth enough
I am trying to edit and mix sound effects and music for a FLASH animation in ProTools. After much trial and error I figured out how to make an accurate Quick Time of my FLASH file to spot sounds to in ProTools. The problem is when I import my audio into FLASH, it speeds up making it out of sync with the picture. I did several tests and it looks like for ever minute of ProTools the audio in FLASH speeds up 2 frames. Both programs are running at 24 FPS.
It is not a NTSC vs Flim speed issue. All other programs read my PT audio file correctly and show it to be the correct length with the SFX where I placed them. FLASH speeds it up, making my animation not time to the music and effects causing me to resync all my layers. How do I accurately export a sound file into an AIFF format and import it into FLASH without FLASH changing the speed? I have my audio set to Stream as it should be. After 3 minutes my audio is 8 frames (1/3 of a second) out of sync with the picture.
I have a long timeline (5000+ frames) with cartoon animation and streaming dialogue sound on it. I've run into the dreaded audio sync problem. I found many discussions, peaking around 2005, but no solutions for this problem. I have a track of silence to ensure frame-dropping even between lines of dialogue. Prior to around 2000 frames the error is not noticeable.
My testing shows that playback is off by 2 frames per 1000 at 24fps. So at frame 10,000 the audio is out of sync with the graphics by 20 frames, nearly a second. This is predictable and reproducible on a variety of PCs and an iMac. I'm publishing to Flash 8 + AS2, but publishing to Flash 9 or Flash 10 don't make any difference at all.
I don't want to split this into multiple SWFs. Scenes don't help. Putting things into multiple movieclips would complicate my controls and our workflow. Just shifting the audio on the timeline is preferable to those solutions, but it makes maintenance difficult.
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 RepliesI'm using Flash CS4 to animate hi-def music videos. It seems that I can't keep the audio to stay in sync for anything over 2 or 3 minutes.
- I'm working a stage at 1280x720 and 30 fps
- audio is streamed on a separate layer
- mp3 publish settings are: stereo 128kbs
Inside the FLA file everything syncs perfect, but when it's published, everything drifts in the SWF and in everything else I've tried.I've tried exporting image sequences and popping the sequences into premiere pro to match up with the original wave, and i've also put the swf file in a premiere pro project as well. Whether a SWF or an image sequence, it always lapses after 2 or 3 minutes.
I created a Flash program that utilizes audio and text. The audio is located in an external folder and is loaded using .loadSound(). The text is located on the timeline and appears based on a certain time in the audio. I have a pre-loader that looks to ensure all of the external audio is loaded before the user can move onto the appropriate screen and the audio would play. This is using a combination of the .getBytesTotal and .getsBytesLoaded.
It works fine on Windows 7 but doesn't seem to be working one particular user's Windows XP on IE 7 (So it's not happen on all Windows XP). On a particular user's computer, the text is slow to load while the sounds loads pretty quickly leaving the text out of sync. After a few screens, the text will catch up with the audio.
Following this tutorial: http:[url].....But I keep getting this error message:1046: Type was not found or was not a compile-time constant: CuePointEvent.
how to sync to mpr3 audio files at specific points?
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.
I'm working in AS3. What is the best way to sync some image slides to cue points I have embedded in a video? Ideally the video would play and and the image will change according to the cue points.
View 1 RepliesI've been involved in a webproject where text will be converted into speech. Then the text should be highlighted word by word as the audio is played in the browser.
View 0 RepliesJust like the subject states, I am indeed having frame rate problems importing video to Flash CS3. When I export a video from Premiere with the settings: 1280x720frame rate of 23.976using H264 or Animation (basically every codec produces the same results),"embed video on SWF and play in timeline" When I do this the file exports fine. Playing it in Quicktime works fine and the audio syncs up no problem. But when I import it into Flash using the same settings, for some reason the movie clip is now too fast in that the video does not match the audio and seems to be at more like 12 fps now (just a guestimate). The action of the video is over long before the audio even comes in.I have verified that the frame rate is correct in Flash so it's not that.
I've done this literally hundreds of times in the past and suddenly it does not work and I can not figure out why. I'm not even really using video, but actually artwork that I am putting together as an animatic for an animated piece so the video could not have been imported incorrectly or digitized wrong either.
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 RepliesI 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 RepliesI 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 RepliesI imported a quicktime .mov video clip onto my stage for my website, but when I preview movie, there is no audio.
View 1 RepliesI 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 RepliesI 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