ActionScript 3.0 :: Embed .flv Animation And At The Same Time Stream It?
Apr 6, 2011
I've got a pretty heavy animation like 10Mb and it needs to be compiled in a single .swf file. Is it possible to embed .flv animation and at the same time stream it with some buffering at the start?
I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).
The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.
Does anyone know how to embed cue points into a live stream?I have been searching around and trying to figure out how to make it work properly.I have played around with stream.send functions and onmetadata.It works just fine for pre-recorded files with embedded cue points.But I am having problems getting it working with a live dvr stream.It also seems if you modify the metadata keyframe using the stream.send("@setDataFrame"... while you are appending to a file, that the metadata change is only in memory, it does not get flushed to the file.If you stop and restart the stream and start appending the new metadata is not retained.
I am using the dvrcast application to serve and record the streams.The stream is recorded over a period of time, but recording is started and stopped.So the file is actually appended to instead of just over writing.So the problem lies in the metadata, if you actually want to know the exact time something happened and there is a break in the stream there is no way to calculate the actual time.So my thought was ever time the stream is appended to add a cue point that contains a date time stamp when recording began, so the actual time can be determined by calculating the difference between the last time stamp/cue point and the time elapsed.
Also I believe all of this only applies to flv files for f4v files the process would be completely different.
I have install the Flash Media Server and Flash Media Live Encoder. Everything run perfectly when I test the Live Stream through localhost, but if I try to embed to another machine, it is failed.
I am trying to find a way to embed a live video stream on a webpage accessible via the internet. I have my video server setup so that multicast streaming over my LAN works. The only problem I face now is figuring out how to embed the live video object into my webpage. I am wondering if I could use a converter like ffmpeg and flex to accomplish this? If this is not the right place to post this, just let me know and I'll repost in the proper place.
We have some HTML pages that embed a swf file to stream flv videos. The video doesn't play and I firstly thought it was the video player's version problem. But it seems more to be related to the path now.
I have read that you can only embed Animated Gif if you want to send emails containing animation. Is this true, or can Flash be embedded somehow where a user receives the email and when they open the message the animation is playing in the email and not as an attachment file.
Also is it possible to make the embedded animation interactive, where the user can click on a next button, to go thru a slide of images?
I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60.When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.I am using VMware Mac OS x leopard in window xp for testing purpose.
1. When using Stream.time in actionscript server side, sometimes it returns the same timestamp. why it is returning the same output and any solution for the same.
2. When I am unpublishig the stream then re-publishing the unpublished stream timestamp does not get to reset to 0. I want to restart with 0 timestamp.
I'm using NetStream class to create p2p video conferension. Is it possible to add overlay pictures or animation into video captured from webcam and then send reencoded stream to other user?
I have created an Image component in flash which is having a "imageSource" paramter, where in a user can provide the path of his/her image(both from web or from harddisk). I want that image to be compiled with the swf. how can i do that?.
I'm pretty new to flash media server (and adobe technologies in general). I have an Air app that publishes a camera stream to the server, that can be played live by the same app on another computer/device. I would like to record to disk all audio/video passing through the server (on the server side) while streaming it at the same time. How can I accomplish this?
As a subscriber of live stream how do I get absolute stream time since it is published? Consider the case, a publisher has published a live stream at 0 seconds. It has been 100 seconds past since the live stream is published. A new subscriber comes to fms and subscribers a live stream. It starts playing that live stream but NetStream.time property will start from 0 instead of 100. Is there any way or configuration (in fms) which allows subscriber to get absolute stream time?
I made a little animation for a client. Its a repeating movement of a cat. The flash-file works great and shows an endless animation without interruptions. But after I integrated that animation, it plays the animation wrong. It sticks on some point. Heres the code and the link:
I've read suggest naming the stream in the FMLE to something like mp4:mystream.mp4 or mp4:mystream.f4v but then you can no longer view the stream, and according my the admin console the stream will not even publish using this syntax.
I can view the published stream if I name the FMLE stream to something like mystream.mp4 or just mystream, but then it doesn't record at all or records as a FLV file depending on how I code the main.asc file.
So I have FMLE and FMS. to record and stream video at the same time. On server side I have "main" application.onPublish = function(client, potok){ potok.onStatus = function(info){ for(var i in info){ trace(i + "=" + info[i]); [Code] .....
How can you change this to where when the page is loaded it does not say (loading) and it will say (No live video streams) you can view archived videos. Is this on the server FMS Interactive in the configuration or can it be done from the code inserted above?
I have been using the embed feature of flex to embed fonts at compile time.[code]I realize this isnt the entire line. Im just putting in the pertinent parts.Either one works fine. My question is , what if I dont know what font i need where this line exists. For example let say i want to instantiate a new object of type SomeField. And as an arguement i want to pass in a string , an associative id of the system font, like "Arial" or "Tahoma". Then inside the SomeField class where the :[code]where $Some var is a string assigned by the caller of the child. The idea is to have the developer be able to import a class , create a new instance of that class , and pass in a string , being the name of the font theyd like to dynamically embed. All this could be done without ever having to go into the acutal class defintion for the object and manually chaning the 'systemFont' or 'source' linakge.
I'm having a reliability problem with publishing live, h.264 streams from FFMPEG (using the rtmp publish ability now built into FFMPEG, where I can set an rtmp address as the output).After a random period of time (usually between an hour and several hours), the default "live" application in FMS 4 (or 3.5) eventually drops the connection from the FFMPEG encoder. This is what appears in the log for the application:"Dropping application (live/_definst_) message. Clients not allowed to broadcast message."After googling the error, I discovered that people have been reporting this error for several years, but there has not been a single response from any FMS experts or Adobe about what causes the error.
I'm writing a Flash game where the game levels are saved in small plain-text files, which I want to embed in the swf file. My current solution has a distinct code smell in its repetition, and I'm certain that there is a better way. My code is basically: In a LevelLoader class, embed all the levels
There are a couple of problems with this approach: I have to add a line for embedding each level. Optimally, all files in a folder would be automatically embedded.A level can't be "prepared" from a string. I'd like to be able to pass LevelLoader a level number or level name as a string.I think that all strings are stored in memory rather than on disk.How could I program this "correctly"?
I have a job where the client wants to switch an animation (movieclip) on the stage between the times of 10 a.m. and 12p.m. EST then the off time will just revert back to the original animation.
I have a very simple animation (spring effect) on a rectangle. The animation is run on mouse over event. When I test the movie and drag the mouse over the movie clip for the first time, the animation is always a little jaggy. On second and further mouse over, it's ok. Is there a way to improve it? Maybe to run the animation for the first time in an invisible way..
I'd like to find the best way to calculate the actual time for the animation to be played. In my scenario, I have a button to start animation and button to stop it. Animation is set to run 3 second. I'd like to know how long the animation did ran after I press the stop button.
I am primarily a programmer, a games programmer by trade who happened to pick up Flash on the side and later through a series of coincidences became a full time flash developer. Most of my work thus far has been code heavy, and has focussed on such things as interacting with web services, localization with xml files, flash video, streaming video, networking etc.
My employer recently lost one of its contractors who built a lot of animation heavy flash apps for them, and as I know my way around the Flash IDE quite well, and have created fairly complex animations in the past, they have asked me to assume a more animation orientated role. To this end, they have offered to send me on courses to get up to speed with Flash animation.
As I know probably 90-95% of Flash's capabilities, and am comfortable with animating / easing / masking / filters / tweening and how to produce these effects programmatically, my interest would lie in a course that teaches fairly advanced uses / best practices of flash. For instance, I find that there are many ways to do things in Flash, but only a few approaches that will get you there without the entire IDE coming to a grinding halt (shape hints is a good one, or perhaps an approach has forced you into a corner with many tweened animations which now need a small alteration made to all of them).
I was looking up the web today and couldn't find anything in how to time an timeline animation in flash.
Let suppose I have X number of scenes and each scene has a different number of frames running at a certain frame rate, how could I code a text box to tell me how long my animation would be in seconds?