PDA

View Full Version : file size re: linked video


NetScamp
03-10-2004, 01:01 PM
I used some code from the Flash MX 2004 Pro help.
I linked an external flv to a video object.
here's the code copied from help


// Create a NetConnection object:
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
netConn.connect(null);
// Create a NetStream object and define an onStatus() function:
13. var netStream:NetStream = new NetStream(netConn);
14. netStream.onStatus = function(infoObject) {
15. status.text += "Status (NetStream)" + newline;
16. status.text += "Level: "+infoObject.level + newline;
17. status.text += "Code: "+infoObject.code + newline;
18. };
19. // Attach the NetStream video feed to the Video object:
20. my_video.attachVideo(netStream);
21. // Set the buffer time:
22. netStream.setBufferTime(5);
23. // Being playing the FLV file:
24. netStream.play("videoFile.flv");


it works, but the FLV is 9.3M in size. The FLA is 11.5 M in size.

I generated a size report from the publish settings panel, but it made no sense to me.

Won't this be too huge for anyone without high bandwidth?
It is still downloading 11 meg prior to displaying the vid?
what's better about this than just stuffing the vid into the library?

Thanks,
RjW

Ruben
03-11-2004, 06:27 AM
Well, I guess you'll have to make a choice between
1. fukkin up the quality;
2. letting the user download the full video;
3. not using a video in your movie.

I guess option#3 is out of the question, and option#2 is a bit nasty for the ones who don't have a highspeed-connection.

Still, I doubt if a lot of people (even WITH dsl or cable) will download video's with such sizes.
So you'll have to think of resizing the video with some 50% or something....but that's up to you...

You could also let the user choose between high quality or let them tell the movie what their connection is like and them give them the appropriate movie with the appropriate size....

Hope you'll find this helpfull - Ruben