Using MPEG's AVI's in Flash w/ audio..HELP
Hello everyone I need serious help and am on a deadline. I recently began my flash experiences and have made a few simple presentations. Now the need has arisen to utilize movies in our flash ventures.
Here are my problems:
1) Simple convert MPEG/AVI to flash - video and audio are off several seconds, due to frames per second issues no doubt, but still no idea which program to use, or how to fix it
2) My second idea was to take the mpeg, extract the audio into an mp3, and extract video w/ no audio, and play them simultaneously, one problem...everything worked except when i inserted the audio into KoolMoves movie, it played in extremely slow speed.
3) Lastly, when every a convert something to flash, audio or video, it runs fine when i run in in the default shockwave flash player, but when i insert it into KoolMoves ( swf as an object ) upon playing the movie is is running at least in half-speed, very slow.
How do I fix these problems guys? Thank you for your help.
John
Re: Using MPEG's AVI's in Flash w/ audio..HELP
Quote:
Originally posted by JSNewtoFlash
Here are my problems:
1) Simple convert MPEG/AVI to flash - video and audio are off several seconds, due to frames per second issues no doubt, but still no idea which program to use, or how to fix it
In KoolMoves you can choose to stream MP3 audio. The streaming feature will synch the Frames to the Audio at the cost of throwing out frames. Flash, KoolMoves, LM2, I think Swish might, and few other tools implement this feature but most do not.
What tool are you using to convert?
Keep in mind that the Flash Player does not play the animation at the FPS selected. It plays the file as fast as the machine will play the file but no faster than the FPS you set. To be honest the actual FPS performance from the player is so variable that it is not to be relied on. You will get different FPS from the same machine at different times (It all depends on available resources)
Quote:
2) My second idea was to take the mpeg, extract the audio into an mp3, and extract video w/ no audio, and play them simultaneously, one problem...everything worked except when i inserted the audio into KoolMoves movie, it played in extremely slow speed.
This is becuase Flash really only plays back at 3 speeds. If the music/sounds originally were sampled at a different speed then the Flash Player estimates it. The actual rates 44.1kHz 22.050kHz 11.025kHz. It is explained in several technotes. Sample at those three speeds and it should fix the problem.
Quote:
3) Lastly, when every a convert something to flash, audio or video, it runs fine when i run in in the default shockwave flash player, but when i insert it into KoolMoves ( swf as an object ) upon playing the movie is is running at least in half-speed, very slow.
John
The loaded movie inherts the FPS of the timeline it was loaded on.
This is explained here http://www.macromedia.com/support/fl...ovie_clips.htm