PDA

Click to See Complete Forum and Search --> : huge swf file...loading????



PilotX
09-09-2002, 03:56 AM
Hi all
I am doing cd-rom and have some videos in it.
I have imported mpeg files and saved as swf, the
size of swf is 60MB....(huge)...I am loding this file in targetclip and it takes forever to display...is there any work around?

much appericiate for the feedback.

thanks
Reverse

enpstudios
09-09-2002, 07:47 AM
Have you squeezed it with Sorenson Squeeze ?

What I would do is Squeeze it, then import the .flv directly into Flash.

PilotX
09-09-2002, 08:20 AM
hi estudioworks
thanks for the reply!
You mean import the video,then expoot from libary as flv and again import the video and export as swf???


I need to keep the videos external.


is there not other way to display video faster...? load faster?


thanks
PilotX

enpstudios
09-09-2002, 08:44 AM
Try the demo version of Sorenson Squeeze.

You can import the video to that program, compress it and then export it as a smaller .swf, then do your loadMovie

Jonathan_B
09-09-2002, 07:31 PM
Hi.
Because of the way Flash works, when you have a SWF on CD, the Flash player loads the entire file into memory before it starts to play. So, depending on your computer's speed, ram, CD player speed, etc. your performance may vary. Consequently, we suggest not creating files larger than 25MB for use on a CD Rom - 60 MB is way too large, and in fact many people feel that 25 MB is too large. You can get around this limit by chaining your video swf's and loading them sequentially.
Also, if you're going to make Mac projectors, you need to allocate enough RAM to your projector. When preparing a CD-ROM, the projector file needs to be allocated it's own size plus the biggest Flix file plus a couple of extra MB to be on the safe side. When the HFS volume is burnt onto CD it will inherit the memory settings you've specified.
There are also some issues with the current version of the Flash player that affect video and audio files loaded from CD that can cause stuttering problems. We're waiting for a fix from MM that will hopefully come out soon.
jb
http://www.wildform.com/flix

PilotX
09-10-2002, 04:04 AM
Hi everbody
Many thanks for the reply`s!

Jonathan_B:
Could you please suggest me link or tutorial on loading them sequentially....please!



Thanks all
PilotX

Jonathan_B
09-10-2002, 02:00 PM
Hi.
We have several related tutorials at:
http://www.wildform.com/tutorials
There are several that describe chaining SWfX effects (SWfX is one of our software programs), but you can use the same technique with video SWFs.
You may be particularly interested in:
http://www.wildform.com/tutorials/f5_load_unload_chain/index.php
http://www.wildform.com/tutorials/banner_engine2/index.php
http://www.wildform.com/tutorials/preload_sixbutton.php
And our software, Flix, will let you "load a new SWF at end" automatically.
jb
http://www.wildform.com

PilotX
09-11-2002, 04:01 AM
Hi jonathan
I read the tutorial on "encoding lossless video into flash"
it says:
----------------------------------------------------------
The final Flash will be larger than the original video. In our case, the Sex Drugs & Democracy trailer was originally 4.67 MB. Now, it is just over 23 MB. This will be the case with any video you encode in this way. This has to do with the SWF format itself and not the Flix encoder. That is why encoding lossless video should only be for off-line content (desktop publication and CD-ROM) and not for the internet.
------------------------------------------------------------
23 MB is way too big for 486 computer to load!

wher do I find a link to tutorial on breaking the swf in chunks?


many thanks
PilotX

Jonathan_B
09-11-2002, 01:42 PM
Hi.
Above, I posted several links on tutorials that explain how to chain SWFs. Check them out.
To break up a large SWF you will need to do that in Flash. Or you can break up the video into chunks and encode them into separate SWF files that you then load sequentially.
jb
http://www.wildform.com

Justmade
09-11-2002, 02:24 PM
You may want to have a look at the following samples :
http://www.lpflashex.com/dl/MovieSamplesV2.zip (161KB)

There are 5 samples in the file
You can start test with publishing MovieMouseClick.fla or MMPMouseClick.fla to EXE which shown some more advanced functions. When looking at sources code, you can start with the 2 simple one first.

ChooseMovie.fla show how to write code that support both media playing engin LPFlashEx provided and let user (or your action script code) to choose at run time.

The two engin :
Movie (using Window Media Player OCX) is well testing and used by our many customer. Some also send their production using LPFlashEx for Lab test in over 20 computers with different OS (95/98/Me/2K/XP) and different hardware and scored 100% pass without any error / warning. Media Player 6.4 + is needed to play movie this way. You can use the OCX detection event to prompt user to install Media Player using your included installer or use LPFlashEx download action to download installer from Microsoft. You can see this in MovieMouseClick.fla.

MMP is a newer engin which make direct call to system to let it play media with whatever codec it got so it dont depend on a specific program. For example, if the user had any program that registered it codec to playback mpg file with system, MMP should be able to play it. It also support Audio CD playback and we may act more support to it later such as sound recording.

If you need more info or have any questions. You are welcomed to visit our web site and email me.