ActionScript 2.0 :: Reduce Cpu Usage When Streaming Video?

Apr 28, 2008

I have developed a video player in flash 8 with actionscript 2.0. The problem I am having is that it uses something like 30%-45% of my cpu, 1,73 GHz. Is this normal and can u code it smarter for lower cpu usage?

View 9 Replies


Similar Posts:


Media Server :: Reduce CPU Usage With RTMFT Video Chatting?

Jul 22, 2011

We are using the FMS4 for 1-1 real time video chatting. it is fine but the CPU usage are very high.[url]...

we use the :80 I guess it helps to deal with the firewall with HTTP tunneling? (seems if it is true, it will this degrade performance?)
 
with 320*240; it is using 30~50 % CPU;  with 480*360: 40-60% CPU at the clients. so high... decent client machine: Intel i5 650. Quad 3.3Ghz  8G RAM. win7 64

View 2 Replies

ActionScript 2.0 :: Reduce Load And Loop 'AS' Based Streaming Video?

Aug 11, 2006

I'm in the process of including a 1 minute .flv into a flash doc. I don't want to stream the video since i want the video to load almost instantly and do not have any room for streaming progress bars also i can't use flash8 and to get video to stream in flash 6 is a pain.

What i have planned to do now was slice up the 1 minute video into 6/ 10sec clips. Put each clip in a seperate external movie which will range from 50-100kb each in kb's. I want to preload the first video and then play it, then in the background load external video2 while external 1 is playing. then play external 2 at the end of external video1 and do the same for the rest of the videos. Its a lot more work but i think this way i can reduce load time and have the video play almost straight away.

What do you guys think? is there a easy way to do it and achieve the same results or should i continue with my concept above, and if i do what i have planned is there any code that you can direct me too that will load a movie / hide it and play when called for?

View 10 Replies

ActionScript 3.0 :: Flash Streaming Video Memory Usage?

Aug 10, 2010

My problem is going to be hard to outlay in detail due to NDA's I am bound to, but the gist is this..I have a swf application the progressively streams content from a cdn edge server.I have built a video player class and instantiate a new one for each new piece of footage I find.Naturally this requires good memory management to ensure no leaks..... and herein lies the problem (surprise).

I have unregistered all my event listeners (not using weak at present) and nulled all objects from my media player object.I slice it from my list and call a destroy method that cleans up all objects setting references to null. Once this is done I call System.gc().My profiling tools are showing that my memory usage is continuing to increase linearly for each new video clip. The jump is about 5mb each time the approx size of each video file.

Is the built in "Video" component on the stage (players all share the same one) a built in type?

View 3 Replies

Flash :: Server Bandwidth Usage With Rtmp Streaming Of Video?

Oct 11, 2010

Quick question - I have the following setup:

(1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer
(2) A streaming video distribution set up via Cloudfront

If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data transfer into the server (i.e. for data being read by the SWF) and out of the server (i.e. for data being displayed by the SWF to the user) on account of streaming the video to users (assuming that data transfer into and out for the server is being charged for)?

View 1 Replies

ActionScript 3.0 :: Bandwidth Usage Calculation For RTMP Streaming?

Aug 15, 2011

I am in a requirement where I need to calculate the bandwidth usage of rtmp streaming. Is there any way I can calculate the number of total bytes I have download during the rtmp streaming?

View 2 Replies

Media Server :: Massive CPU Usage FMS 3.5 Live Streaming

Jun 3, 2009

We have a problem working with FMS 3.5 (installed on a IIS server). Configuration of the servers all based on IIS: webserver (authentification, xml data loaded by Flash app, data (on IIS) sended to and recieve from FMS). Seperate FMS 3.5 (latest update) server. Only running FMS (no other apps are running on this machine).

[Code]...

View 7 Replies

Media Server :: High CPU Usage With RTMFP Live Streaming?

Jul 29, 2011

There are 25 livestreams streaming to FMS4 server  by fmle3.2,and client number is 20, (FMSCore.exe)CPU usage is about 20%~40%,  how can i reduce cpu usage?
 
CPU: 2x E7320 2.13G

View 2 Replies

Media Server :: Reduce Audio And Video Latency In Flash?

Sep 22, 2010

We have one functionality in which one user can communicate with the other user at the same time through flash media server3.5. In this fucnitonality we are catching stream from both end through camera and pass it to flash media server. On FMS side this streams gets stored also we are displaying those recorded flv files side by side to the corresponding user so that they can communicate with each other. In this situation we are facing a video and audio latency upto 1.5 to 2 sec.

View 2 Replies

ActionScript 3.0 :: Creative Video Usage Ideas?

Nov 28, 2008

Would everyone please mention how they have used video fortheir clients; I would like to hear some really good creative andunusual usage of Flash video on websites etc...Maybe, you could provide some code samples ;) Anyone got anystories to tell al

View 6 Replies

Actionscript 3.0 :: Flash Video Playback - High Cpu Usage

May 12, 2009

I've been deploying video to the web via Flash for a couple years now and I was curious if anyone has experience with / knows if deploying video via a Flash Media Server or any other type of video centric server has a significant impact on performance playback? I've noticed lately that with YouTube content, often available in "HQ" or "HD" that the video playback suffers very marginally when switching to higher quality video. However, with video players I have developed, using HTTP progressive download, CPU usage often spikes during download of the video and decreases once it's been cached. I've also recently employed pseudo-streaming techniques with the help of XMOOV but this doesn't seem to have much of an effect on CPU usage during video download.

My video player was developed in AS3 and while it's not using a class based structure, it does follow general OOP techniques. Would a class based video player improve performance? Here is a link to a work in progress video player: [URL] Please try a couple videos and let me know if they play back smoothly and / or if you notice CPU spikes. Also note that the only video that makes use of XMOOV is the "Make a Wish" video as it's been injected with the necessary metadata.

View 7 Replies

Media Server :: Streaming Video Live With A Video Camera?

Sep 17, 2009

I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?

View 5 Replies

ActionScript 3.0 :: Streaming Flash Video And The Dimension Of The Video Is 1280 By 720?

Apr 10, 2011

I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
 
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720)  .... a quick flash is the best way I can explain it.
 
This is my code:
 
function clicked(event:MouseEvent):void {
var video:Video = new Video();
addChild(video);

[Code]....
 
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?

View 4 Replies

Flash :: Play Smooth Streaming Video From Iis 7 For A Video Player?

Jun 10, 2011

I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?

View 1 Replies

ActionScript 2.0 :: Streaming Video - Change The Location Of The Video Without Flash?

Jan 30, 2004

I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.

View 6 Replies

IDE :: Video Streaming - Loaded An External Video With Playback Component?

Feb 18, 2010

I have loaded an external video with playback component in Flash CS4.

Now the question is do I need to add streaming script or not?

View 2 Replies

Flash :: Video Player For Video Streaming?

Oct 31, 2010

I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:

1) Either buy a commercial flash player

2) Customize a open source player or use free player and customize its gui

3) Develop our own (time consuming and last resort)

I am required to find a flash video player with these requirements:

Player should work in all major browsers (IE, FF, Chrome, Safari)

Player should have way to inject Advertisement clips when playing a video file

Light weight and easy to integrate

Must support streaming and scale

Plus all other basic features of a flash video player.

View 1 Replies

Flash :: Video Player For Video Streaming ?

Apr 11, 2011

Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried

f4player.org

https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.

View 1 Replies

Media Server :: Flash Video Streaming With "fall Forward" To HTML5 Video For Mobile Only

Jul 19, 2010

I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
 
Is there a browser-sniffing framework, or some other method available to accomplish this?

View 2 Replies

Flex :: Flash - Total Memory Usage And TaskManager Memory Usage Are Different?

Aug 24, 2010

I wrote an application in flash AS3, and when I trace from flash the total memory usage of the total application is only about 9MB, But at the same time Task Manager Shows the memory usage as 110MB. Around 100MB difference.Flash Trace Method System.totalMemory difference of the Trace from the Beginning of the application to end of the application.

View 2 Replies

FLV Video Compression / Streaming?

May 12, 2009

Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.

View 3 Replies

Choppy Streaming Video FMS 3.5

Jul 23, 2009

I'm new to the streaming video world but I do have FMS 3.5 up and running and have encoded some wmv and mp4 videos to flv using adobe encoder CS4.  I followed the tutorials and have created the swf files in flash CS4 and the videos are streaming as expected.

The primary issue I am having is the videos tend to be choppy at times.  They pause, run slowly, audio pops and just overall; glitchy.  Typically at the beginning but some times throughout. The test files at the FMS admin page stream fine without issue from the same server.  We have tested the site/streams from multiple providers all at cable modem speed or above.

We are running FMS 3.5 developer version and wish to purchase the full version but I really need to fix this issue to prove it's value.As a bit of background we are running/testing FMS 3.5 from a server with the following specs:Redhat EL 4.6-32 SuperMicro X7DBU Intel Xeon QuadCore DualProc Sata [2Proc] Intel Xeon-Harpertown 5420-Quadcore [2.5GHz] OEM 4GB ECC FB-DIMM DDR2 Mainboard Onboard SATAII Controller  (2) Western Digital WD Caviar RE 16 WD2500YS  Uplink speed 10 (Mbps) Bandwidth allotment 2000 GB(Virtual Private Rack)

View 2 Replies

Publish A Streaming Video To FMS?

Sep 22, 2011

I know Flash can capture webcam and record the video to FMS.Can I publish a streaming video to FMS ?

I mean, I am streaming a video with netstream and I want record to FMS the output of that video.

View 3 Replies

ActionScript 3.0 :: Add A Streaming Bar To Video?

Apr 18, 2010

I have a "Play video" button that does exactly that, it loads a flv video and plays it - I can stop, pause and play the video. Now, I want to add a streaming bar.

View 2 Replies

Video: Streaming Vs Progressive Download

Jun 18, 2009

I'm trying to decide whether, for my particular application, I would be better off delivering video via streaming or progressive download. Here's the situation: Background: this will be a learning drill for learning foreign language phrases. There will be a series of ten short video clips, each one a headshot of a native speaker, saying a single sentence. The background is static so the only thing changing will be facial expressions, so compression should be pretty effective. Each clip will be approximately 4-6 seconds total length. Resolution will be approximately 360 X 270.

The way this particular drill works makes me wonder if perhaps progressive downloading might make more sense than streaming. But like I said, I'm not a Flash developer, so I could easily be wrong. (Did I mention we're currently looking for a talented, reliable Flash developer?) So here's how it will work: Drill will load up showing written text of instructions, along with audio of the narrator reading the instructions aloud. Approximate length of the audio instructions will be 15 seconds. (I"m thinking progressive download could begin during the reading of the instructions.)

After the instructions have been read, the intructional text goes away and is replaced with (from top to bottom) the text for the first sentence, the video box with a static image of the first frame, a "Begin" button. When the user clicks the "Begin" button, the video begins to play, and the "Begin" button transforms into a "Repeat" button, which is inactive while the video plays. When the video ends, the "Repeat" button becomes active. Clicking the "Repeat Button" causes the same video clip to play a second time (again, the "Repeat" button is inactive while video plays.

View 1 Replies

ActionScript 3.0 :: Streaming An FLV Into A Video Object?

Feb 9, 2010

I am trying to stream an FLV file into a Video object by attaching a netStream using attachNetStream(). This works fine for local files as well as downloading files from a different domain; however, I am trying to download an FLV from php file that sends these headers:
 
Content-Type: video/x-flv Content-Disposition: attachment; filename="video.flv"
 
The netStream object responds as though there is no problem, outputting:
 
NetStream.Play.StartNetStream.Buffer.FullNetStream.Buffer.FlushNetStream.Play.StopNetStream.Buffer.Empty
 
But The video does not play on the Video object. If I download the video from that php link and save it locally, then have the netStream load it from there, it works just fine.
 
Why is this happening? I was trying to use URLStream as a way around this, but I couldn't figure out a way to attach a URLStream to a Video.

View 3 Replies

Use IP Camera With FMS For Live Video Streaming?

Mar 2, 2010

How i can use IP Camera with FMS for live video streaming.

View 2 Replies

Flash :: Video Streaming Stops

Aug 24, 2010

I have a problem with an embedded  flash video not playing to the end, it stops around half way It is a 4 minute video with sound, the FLV file is around 24Mo This is a normal server not a flash streaming server .

I have at least 10 other sites on line with a flash video on the home page and they all work fine.on the same server.only difference is that this file is about 10 Mo bigger on average.

I contacted the company where my server is hosted and they say that it looks like a java script problem but I am using flash 8 pro standard <object> no java script to detect version etc.[code]...

View 1 Replies

Streaming Flash Video - Clipping

Jan 21, 2010

I have a simple flash video player that streams the video from a streaming media server. The stream plays fine and I have no problems with playing the video and doing simple functions. However, my problem is that on a mouse over of the video, I have the controls come up and when I do a seek or scrub on the video, I get little weird boxes that show over the video - like little pockets - of the video playing super fast (you can basically see it seeking) until it gets to the point it needs to be at and then these little boxes disappear.

View 2 Replies

Flash :: Dynamic Video Streaming In It?

Mar 22, 2010

Is there any way to do dynamic video streaming in flash without using Flash Media Server (FMS) 3.5 as it's a very expensive software but using some open-source software or in any other way.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved