Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-10-2004, 02:01 PM   #1
NetScamp
Registered User
 
Join Date: Mar 2003
Posts: 16
Default file size re: linked video

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
NetScamp is offline   Reply With Quote
Old 03-11-2004, 07:27 AM   #2
Ruben
Me
 
Ruben's Avatar
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 3,510
Send a message via MSN to Ruben Send a message via Skype™ to Ruben
Default

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
__________________
.
Originally Posted by MichaelxxOA
"He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit."
Ruben is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.