View Full Version : movie runs slower in fullscreen
esiegel
09-22-2004, 10:11 AM
I have a movie I am creating for a presentation.
I am streaming sound from an MP3 file and need to time the presentation to the music.
The problem that I am having is that the movie runs a different speeds depending on how it is running.
Test movie runs fast.
playing the swf file in the stand alone player runs slower.
and If It run it full screen...it runs much slower.
Is there anyway to control this...or is there a work around?
voodooboy
09-22-2004, 10:41 AM
The more your computer has to do to run the porcesses for that presentation the slower the system runs. It has nothing to do with the flash file. Whether it is played full screen or on one pixel it runs the same. It is all about the system it is run on. Just like viewing online, you are at the mercy of the network, isp and connection you have to the Internet; As a stand alone for presentations, you are at the mercy of the cpu, ram, video card, HD buffer rate, etc...
Best bet is not to stream.
esiegel
09-22-2004, 10:50 AM
The more your computer has to do to run the porcesses for that presentation the slower the system runs. It has nothing to do with the flash file. Whether it is played full screen or on one pixel it runs the same. It is all about the system it is run on. Just like viewing online, you are at the mercy of the network, isp and connection you have to the Internet; As a stand alone for presentations, you are at the mercy of the cpu, ram, video card, HD buffer rate, etc...
Best bet is not to stream.
WELL...
that makes sense...but I'm running it on the same machine time after time. If I leave the
fscommand("fullscreen","true") in the timeing is much slower.
as for streaming...I'm streaming from a folder on the machine itself...just to keep the initial load time down.
voodooboy
09-22-2004, 10:58 AM
Doesn't matter. You are asking the player to do one thing, the video card to do another and the sound card to do yet another. All from the same system. When you blow it to full screen, if not designed at full screen, the video card has to programmatically make the movie fit to your resolution. This slows the process of the rendering while the audio runs at regular speed. That is the downside to streaming. Streaming is based on download time while event sound is based on the frame rate. Yes it has to load before play, but if you are running on the same system it would technically already be loaded.
esiegel
09-22-2004, 03:04 PM
Doesn't matter. You are asking the player to do one thing, the video card to do another and the sound card to do yet another. All from the same system. When you blow it to full screen, if not designed at full screen, the video card has to programmatically make the movie fit to your resolution. This slows the process of the rendering while the audio runs at regular speed. That is the downside to streaming. Streaming is based on download time while event sound is based on the frame rate. Yes it has to load before play, but if you are running on the same system it would technically already be loaded.
Actually...that's not quite true.
A streaming sound will play at normal rate, and in fact the movie will skip video frames to try to keep up.
An event sound will start on an event and play at normal speed...and ignore the video.
Also...if the streaming were the problem, I would be having the opposite problem that I am having now...the sound would be behind the video...in my case the video is behind when played full screen.
Try building a 30 second video only movie and test the movie.
Then add an fscommand("fullscreen","true") to the first frame and publish it...create projector and play it.
If you time it both ways I bet it is slower when played fullscreen.
voodooboy
09-23-2004, 09:15 AM
Actually...that's not quite true.
A streaming sound will play at normal rate, and in fact the movie will skip video frames to try to keep up.
You are correct. I went dyslexic on that one.
Also...if the streaming were the problem, I would be having the opposite problem that I am having now...the sound would be behind the video...in my case the video is behind when played full screen.
Exactly,
the video is behind because all the audio card is doing is playing an MP3 file. The graphics card is programmatically enlarging every single frame of the flash video to fit your resolution. Thus the video card is taking more time than the audio. Making the video lag.
Another thought, is the audio imported into the Flash document or are you loading from an external file? When streaming an external file, the audio will start playing as soon as there is enough info to begin play. An imported file, I believe, loads at the same rate as the animation. This way it stays in sync with the movie. I could be wrong, but it was a thought.
esiegel
09-23-2004, 09:21 AM
Another thought, is the audio imported into the Flash document or are you loading from an external file? When streaming an external file, the audio will start playing as soon as there is enough info to begin play. An imported file, I believe, loads at the same rate as the animation. This way it stays in sync with the movie. I could be wrong, but it was a thought.
loading from an external file...
I'm also loading the images on the fly from external .jpg files to help with load time and file size...not to mention the person I am preparing this for will be chaning images up to the last second.
I've minimized the problem by make the movie size match the screen resolution...and not running it full screen...it should be ok for this go round.
Thanks for your help.