Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Streaming Video And Cache



Hi Flasher

I need to stream video clips through Flash. Now I done this before with small clips and works good. However my client want to have larger video-clips of up to 5 minutes of duration.

Now my concern is, when streaming video in Flash it gets cached in the browser, right, unlike realplayer. So Im thinking what is the upper limit of file-sizes which is okey to stream through Flash without the browser crashing.

I realize this must depend on how big the client machine is, however I have no idea about how big file-sizes is safe to stream to broadband users.

Any thought on this most appreciated, thanx.



Ultrashock Forums > Flash > Flash Professional
Posted on: 2003-07-30


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Streaming Video Vs. Workstation Cache
We have a 33MB Flash video created by the vendor that we're planning to put up on our website. The vendor says that if we "enable Streaming Video, it won't get cached and take up memory on the user's computer".

I thought that Flash automatically stream to a browser, like it or not - that this happens no matter whether you use Flash's default progressive download where the video streams from the web server or whether you use a streaming server such as the Flash Media Server.

Am I missing something?

TIA,
Carolyn

Streaming Cache Problem
Hello,

I'm looking for some help in regards to finding out a way to possibly clear the cache from a streaming audio source with as3. I'm writing a program for an internet radio player, however, when you load a stream the data from that stream gets indefinitely stored into the sound object that is being played. I would like to know if there is a way to possibly truncate or clear the data in the sound object without breaking the stream.

If there is not, another option I have been looking at is running two sound objects and swapping back and forth between the two to minimize the amount of memory being used. The drawback to this is that this method breaks the stream and causes a gap in the playing sound.

I will submit my source code if it is necessary for assisting the solution.

Any help or point in the right direction would be greatly appreciated.
Thanks

Cache Problem With Streaming Mp3 ::.. Help Appreciated
I am using the following code to Pause, Fade-in & Play a streaming Mp3 from an external site:


Code:
var vol:Number = 0;
var s:Sound = new Sound();
s.loadSound("http://mysite.com:8000", true );
s.setVolume(vol);

this.createEmptyMovieClip("fader", 1);

function fadeIn(){
fader.onEnterFrame = function(){
vol++;
s.setVolume(vol);
if (vol >= 100){
vol = 100;
delete this.onEnterFrame;
}
}
}


setTimeout(fadeIn, 5000);
The problem is that this file is never-ending and ultimately slows the computer WAY down. I'm assuming this has to do with the cache filling up with the never-ending Mp3 file.

Does anyone know a way to periodically dump the Cache or… limit the amount of the file loaded into the Cache? Say 3-5 Seconds

I am assuming a "DO NOT CACHE" code won't work as the Mp3 is streaming and requires a certain amount for uninterrupted play.

Please & Thank You

Playing Streaming Video From Darwin Streaming Server In Flash Player
I understand that Flash player & FMS support RTMP and not RTSP. However I'd like to know how can I receive the video stream encoded in H.264 from a Darwin Streaming Server and play it in Flash Player 9? Darwin Streaming Server uses RTP/RTSP for streaming. Let me know if anyone had success with this.

Streaming Sound: Problem Playing From Cache
Hi all,
I have a bit of a problem: I've made a game in which I want some streaming sound (mp3) for the main menu. WHat Im doing at the moment is that I have a splash screen (frame 1) where I create a global sound variable and start streaming the sound


Code:
menu_music.loadSound("music.mp3", true);
menu_music.stop();
THen on the second frame on the main timeline I have a


Code:
menu_music.start();
which triggers the playing of the sound. That works fine. My idea was that this menu sound would continue to stream while the game is being played (as the game itself only contains event ounds and are pre-loaded) and then I could just play the menu music when I return to the second frame on the timeline and have flash play the chached sound (as I believe the wav is stored in cache when it is finished streaming). However this doesn't work! Any ideas on why and how to solve this problem of mine?

Cheers

Stop MP3 From Cache'ing Streaming Sound Using Loadsound
hello,

I created a streaming mp3 player, the Click here for player

I have used the loadsound command with the streaming option set to true, so it streams sound etc. But the problem is that it cache's the mp3 file it is streaming onto the user's internet cache folder.

Is there a way to prevent mp3 files from being cached (have I murdered the English language today using the word cache? ) Something like what the Real Player does, it streams the files but never cache's them. <gasp>

Slan,
Abhay

Stop MP3 From Cache'ing Streaming Sound Using Loadsound
hello,

I created a streaming mp3 player, the Click here for player

I have used the loadsound command with the streaming option set to true, so it streams sound etc. But the problem is that it cache's the mp3 file it is streaming onto the user's internet cache folder.

Is there a way to prevent mp3 files from being cached (have I murdered the English language today using the word cache? ) Something like what the Real Player does, it streams the files but never cache's them. <gasp>

Slan,
Abhay

Streaming Shoutcast In Flash And Clearing The Cache?
Hi there!
I'm trying to stream a shoutcast radiostation through my flash-website. And I love it!

The PROBLEM is that after a little grooving to the music, my computer hangs... almost stops functioning. I checked windows task-manager and could see that my browsers memoryusage was increasing as i was listening to the stream.

The QUESTION must be HOW TO CLEAR THE CACHE in flash or browser, without having to reload the stream

Here is the ActionScript-

Code:

// movieclips on the stage:
// "flyout_mc"
// "flyout_mc.pause_mc"
// "flyout_mc.secret_mc"

// Apparently obsolete, but in case it is needed on other servers
//System.security.allowDomain("http://64.236.34.67:80/stream/1021");

// The stream's URL:
var secretagent = "http://64.236.34.67:80/stream/1021";

// the sound-object
var theStream:Sound = new Sound();

// loading the stream initially
theStream.loadSound(secretagent, true);
//
// pause-button
this.flyout_mc.pause_mc.onPress = function() {
stopAllSounds();
};

// secretagent-button
this.flyout_mc.secret_mc.onPress = function() {
// loading the stream
theStream.loadSound(secretagent, true);
};

Flash Cache Crash - Bringing In Streaming Live Broadcast Mp3
Hello All,

Anyone know how to stream in a 'live' broadcast, ie. radio station feed, properly without using the Media components? It's not that they don't work well, I would just like to have more flexibility in designing my interface controls, and the current Media components don't support skining. Just wondering if a solid stream can be constructed, without overloading the processor cache, using NetConnection/NetStream/SoundObject constructors? It seems as though, most documentation is concerned with bringing in only short clips/songs streamed one at a time?

Thanks folks!

How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

How To Connect Flash Video Player(like Youtube) To Live Streaming Video The Programm Like WebcamXP?
How to connect flash video player(like youtube) to live streaming video the programm like webcamXP?
Or through a browser to look in a videoplayer video from other usual personal computer with the program for a video broadcasting from the web chamber.

Video Cache Problem?
Alright. I have made a videoplayer which just loads a video using netconnect and netstream and then plays it. But for some reason, the file doesn't run the function which contains the netstream and netconnect the first time you view it on a server.

It's like you have to refresh it so it caches it, then it works.

Is there any know bugs or problem considering stuff like this?

Thanks in advance

Streaming VIDEO : FLV Controllers For Video Jukebox
How do i add action script so that when my video 1.FLV comes to and end it then loads up video 2.FLV

i need this sequence to execute through all 5 tutorial.FLVs

The command i am looking for is along the lines of when current FLV ends play current FLV + 1
upto 5.FLV then go back to 1.FLV

Hope does actionscript regonise the end of the FLV file ?

Help me obi won kenobi - your my only hope....

Linked Video, Streaming Video In Flash MX
hi!

so, I want to be able to import and publish video in Flash. I know how to work with video when I embed it into the .swf, that's farly easy, but my problems come here:

how to control/make controls for linked video?

why the hell can't I get anything workin when I try to publish a file with linked video (even when I publish it as a .mov)

How to preload large (~10 mb) files when the content is offline, say a cdrom?

so in a nutshell, are there any tricks in flash and video, especially when the content is offline. Communication Server MX is solution for online streaming, but offline?

it's **** hard to make a decent cd-rom, when you want to work with flash and use video. please help!?!?!?!?!?!

Cache Problem With Flash Video
Hey Flashers,

I'm having an SWF file embedded into a webpage that connects to a Flash Media Server and plays a live stream. Everything works fine except for the huge amount of cache the whole application needs. After 15 minutes or so the cache of the Internet Explorer is about 100 KByte and keeps getting up even higher. Any ideas why that happens? Can I somehow reduce the cache or do I have to call Netstream.clear() from time to time?
Thanks in advance!

Oh, by the way, here's the Flash code:








Attach Code

// Open connection to the server
client_nc = new NetConnection();
client_nc.connect("rtmp://170.30.17.104/streamcp/room_01", "Client");

// Create input stream
in_ns = new NetStream(client_nc);
Replay_video.attachVideo(in_ns);
Peplay_video.clear();
in_ns.play("rtl2");

























Edited: 07/16/2007 at 08:21:05 AM by Loonababe

Force Download Video In Stead Of Using The Cache ?
Hello,
Does anyone has expierence with the fact that when you connect to an flv file to play video in flash
the first time it will download the flv file. But suppose i change the content of the flv file but keep the name the same it will play the previous video because it's using the cache of IExplorer.

Is there a way to force the download? Or a way when the movie is finished to clear that cached movie?
I also tried to unload the movie, but that doesn't do the trick.

If someone has a fix for this, please let me know.

Streaming Video, Embbeding Video That Is The Big Q
Streaming video, embbeding video that is the big QHello people!
I have a question for you

I am planning to make a website with a lot, mean LOT of video content.
There is going to be like 12-20 video files inside the site, intergrated as a part of it. My doubt is, if i embbed the files and load external, it will take some time (filesize: 300Kb-2Mb). If i stream using flash media server, will it work correctly? There is not much interaction. You click there, video plays, you come to another scene, video plays.

Can anyone help me and share some thoughts.

Thanks a lot
bhf

Streaming Video, Embbeding Video That Is The Big Q
Hello people!
I have a question for you

I am planning to make a website with a lot, mean LOT of video content.
There is going to be like 12-20 video files inside the site, intergrated as a part of it. My doubt is, if i embbed the files and load external, it will take some time (filesize: 300Kb-2Mb). If i stream using flash media server, will it work correctly? There is not much interaction. You click there, video plays, you come to another scene, video plays.

Can anyone help me and share some thoughts.

Thanks a lot
bhf

Streaming Video
http://ironmallet.com/flashkit/streamingVideo.htm

works pretty good on a medium grade machine with DSL, how about testing it out.

Streaming video could be good.....

Video Streaming
prevarant meands cheater in serbian, so i have another question. How could i get video streaming in flash without flash server?

Streaming Video From Cd
im trying to stream sorenson squeezed .swf files from a CDROM. It works fine although some of the videos are 3-4 min long and it can take up to 45 seconds on older pc's before it starts playing ...

using 6.0.65 (suppoably faster loading from cd) but still slow.

Although its not consistant, some videos start playing within 2-5 seconds.. It doesnt matter if it stich them or not 2mb files or 10mb it all slow..

My question is does someone know how to stream the video fro the cdrom where it doesnt have to load 100% before it plays...

there are no scripting elements in sorenson squeez so a prebuffer script im not sure will work...

anyone?

Streaming Video In MX
Hey.

I am very new to video in Flash MX. So I hope somone can help me understand how this all works.

I want to create a Banner with a streaming video in it.

I have been told that I must have the following specifications:
Loading: 20k initial loading
Flash swf file only ( this must not include mpeg or quicktime movie file).
Total 180k (maximum) shockwave flash files must stream below 30k B/S.

Now, what dose this all mean?
I think I have to embed my mpeg video into the flash file - in order for it to produce a streaming .swf ( am i right ? )

But my question is - how do I get the file to stream below 30k B/S.
And if my maximum .swf file can be 180k - what is the 20k inital loading all about?

Hope anyone can be of help - I am realy confused.
Cheers Werglum

Streaming Video
this onesa bit different, cos im talking about streaming froma CD, not the web. ive made an interactive CD with some video content. its published as a projector file, and when you click the video button, it loads another layer, containing a quicktime movie. problem is, it wont play the vid until its totally loaded it from the CD, and with slow CD drives this can be several minutes. how can i get it to stream properly?

cheers for any help.

Video Streaming
I need to set up a video to be streamed. This video is the only object in my movie (except for the controls stop, play, etc). I allready contacted my server tech and he installed the flash communication server mx on my server. Do I simply upload the movie or do I have to give it some indication for it to be streamed? Any help is welcome. Thank you.

Streaming Video
hi, i have a free tripod account, which alows me small web hosting space, is there anyway i can stream a movie from these types of web hosting providers

thanks

Video Streaming?
Hi!

I'd like to know how can I make a *.fla project, that load the video and play from a folder..? like to know video streaming, since it loads the avi file fast and good quality.


pls, answer my question..

Streaming Video
Can I stream a 10/15 minutes video in Flash?

It's a CD but I don't know yet waht type of video it is.

Any help, tips?

It's a video cd someone will be sending me. Not sure yet what format it's in.

Thanks
Dave

Video - Streaming?
Hello,

I am creating a site to promote my new film. I would like to give the viewers the option of seeing trailers of the film. The file sizes of the trailers vary from 2.3 mg to 12mg. I assumed that streaming is the way to go. I tried using the mediaplayback component but it's display properties can't be changed (color, etc). I was thinking of choosing the method that most other sites use, where they give you the option of choosing the player that you would like (quicktime, windows, realplayer) and then a player opens with the video. If someone can give me a little help on how to accomplish this i would appreciate it.

Regards,

John

P.S. If I'm not approaching this with the proper method please feel free to comment

Streaming Video
Looking for a tutorial to show me how to STREAM video in Flash MX 2004.

Streaming Video?
I want to have my .mov file uploaded to my site and then have a .swf the same size that I can stream that video into. Can anyone tell me how this is done in terms of the code I would put on frame 1?

I'm new at this, so explain in detail as much as possible. thank you!!!!

Streaming FLV Video
Hi, I've been sweating over a problem that doubtless has some simple solution, but that has eluded me.

I am using the MediaDisplay component to stream .flv videos from the hard drive, like a video jukebox, and it works just fine. But what I want to do, having failed so far, is to to distribute a Windows Projector (.exe) file of my project along with the video clips on a CD, and have Flash find the .flv file regardless of the CD drive letter. I have created the autorun file, and everything works just fine, except for the streaming.

What I don't want to do is to embed these sizable files into the Flash document.

So, to pose the question: How can I make Flash find the video files on the CD regardless of the drive letter?

This is driving me nuts. :)

Thanks in advance,

Richard Tyrol

Streaming Video
hi.
i have my protafolio in flash and to publish it the web ill be using dreamweaver. Can anybody expain t o me how to stream video? do i insert the video in a window in dreamweaver, and call the link form flash? or how should this be done? can anyone help me???
thanks.

Streaming .flv Video
I'm new to streaming .flv, so please forgive my ignorance. From what I've gathered, I need to subscribe to a host that will allow streaming. Is there anybody out there the does streaming .flv's and could recommend a host? Is there actionscript required to specifically prepare a .flv for streaming (vs progressive download)? Perhaps someone could guide me to a tutorial? I cannot find anything in the "user's manual" for Video Encoder 8.

Thanks in advance -

Streaming Video
My client wants me to make a streaming video in Flash but gave me a movie on DVD. Can I do this or do I need to go back and get an AVI or Quicktime file?

Streaming Video
Hello,

I need some help with some script on how to play one streaming video after the previous one is finished. These videos are .flv files on my server, and I just need them to load in to a player once the first video is finished.

Thanks,
Jason

Streaming Video
Is it possible to stream a video using Flash MX04. If so could someone please explain how and give an example.
thanks

Streaming Video...
I am creating a website that hosts gaming trailers and clips and was interested in creating a site similar to youtube. I was wondering how to:

1. Create and customize my own flash media player that streamed media

2. Convert .wmv videos into .flv files or streaming media without losing quality.

(Good, free conversion software?)

[F8] Streaming Video Ads
I'm trying to get a streaming video ad developed and I need it to connect to an external FLV file, but I also need it to start immediately and be muted with the option to enable sound.

I've played with video importing and I can't figure out how to get the video player to start muted and then be able to unmute it.

I've been going through Google searches like crazy to figure this out, but I can't find anything specific.

Thanks in advance!

Jimmy

Trying To Get Rid Of My Streaming Video
Hi. I need to get rid of a streaming video when visitors navigate from one section of my main timeline to another. Someone suggested adding newStream.close and videoHolder.clear to my navigation buttons.

This did end the streaming video when a button was clicked, but it also de-activated my buttons which are used throughout the timeline. (Not sure why it inactivated them)

As an alternative to clearing the video and stream inside of my button functions, I tried adding the following to each frame / section of my website that could be navigated to:

stage.addEventListener(event.ENTER_FRAME, clearVideo)
function clearVideo(myEvent:event): void {
newStream.close();
videoHolder.clear();
}

That gave me error message:1046: Type was not found or was not a compile-time constant: event.

Any help would be much appreciated.
Also, is there an onExitFrame command in Action Script 3 so I'd only have to use the code once - ending the stream as leave the Video Section of my website?

Thanks,
Mosk

Streaming Video Help
Hi guys, this really is an emergency, i have a piece of work to submit for a job position that is very important and i have spent ages on a design in After Effects and Flash that is fine off line but when i finally uploaded it, the little sh*t won't stream!

I have a file that streams a different flv just fine. I shall attach the two.

"banner02" is broke
"Emedded_Video_better" works

I don't think either have metadata so i've manually put in the duration in seconds.

The clip that works is 36 seconds with a 5 second buffer and weighs around 1MB, the clip that won't stream is 5 seconds, also with 5 second buffer and weighs around 1.9 MB.

Any help would be SOOO appreciated. I need this job and i've worked so hard thus far.

THANKS!!

Streaming Video
Does anyone know of any tutorials on how to do streaming video in Flash MX 2004? (Not the Professional edition...)

Streaming Video
Can flash be used for live video footage of sports events? This site, http://mediazone.com uses wmp for this. But Mac and Linux users can't use it even with their wmp's. I figured flash would make this cross-platform. Any ideas?

Streaming Video
My client produces streaming video on his website. He has asked me to provide web clips. That's OK, but he may ask me to provide additional video streaming content. If so, does that mean that I need to purchase Flash Communication Server, or is there some other way of producing streaming video?

I have Flash 8.

Any help would be greatly appreciated.
Philippa

Video Streaming - How?
Hello,

I am looking to create a website using Dreamweaver 8. I need to know how to stream videos:

1. Should I stream with Flash? If so, what are the requirement e.g. FLV 256K

2. What host should I use? I do expect traffic on the site so is shared hosting ok?

3. Can Dreamweaver support video streaming and how?

4. Are there any resources online for this?

Any constructive help is appreciated.

rmichaeluk@yahoo.co.uk

I am based in London.

Thank you.

Richard

Video Streaming
I have a question for you guys. I am fairly new to flash, and I am trying to stream a video to my businesses web page.

I have flash cs3, and have encoded my 4 minute video into an .flv. I skinned it, and produced it so I get the .js, .swf and .html files. when I click on the html locally, it works fine from the html file. But, when I upload them to my server, the html does not work.

I tried using the content inspector and changing the content path to be where my flv is, but it still does not work. any help you can offer would be awesome! Thanks,

Streaming Video
Hi, i know this probably isnt the right forum, however i think it is probably the closest to the right forum... so anyway...
I have a swf video player, when i load a page in explorer with the swf embeded into it.. the video begins to stream fine.. however if i try and change the explorer page the page wont change untill the entire video has been streamed.. anyone have any ideas as to why this is?... is this something wrong with
a. my explorer settup?...
b. my server setup?... or
c. my swf?...
kind regards to any responders.

Video Streaming
Hi All

I had customized a flash video player, my all functionally are working fine. Video streaming is working but I don’t have any idea about set seek.

How I will start my flv file from 120 seconds, it is not fixed 120 sec, this is dynamical time

Please help

P2p Video Streaming
hi all;
i just started with flash video stuff.
is there any way to stream video via p2p like msn, skype, etc?, just using fms as a gateway or sth. like it.
i see fms is a client-server model.
it's totally useless for me due to high bandwitdh usage prices.

thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved