ActionScript 2.0 :: Flvfile Not Playing From Server
Jun 17, 2008
I imported a video as progressive download in a flash file called sa-address.fla.The flash video file is sa-address.flv.I published the file it was playing.Next step I moved it to my server.(the flv and the swf).When I open the html page the flv movie is not loaded.It shows the number of bytes loaded as 0.URL...
I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:
1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.
2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().
I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?
var s:Socket = new Socket( "127.0.0.1", 6667 ); s.writeUTFBytes( 'WEBIRC cgipass "cgiirc" this.is.testing.com 127.0.0.1' ); s.writeUTFBytes( "NICK DaBit " );
[code]...
It works to a point, it pings out as if I never did PONG in response, but I never got the PING message which tells me I'm not listening in on the connection correctly. What do I need to do instead? Btw this is all I have, it's all on 1 frame.
Here is my Output thing:
Attemping to launch and connect to Player using URL C:Documents and SettingsDavidMy Documents est_socket.swf [SWF] C:Documents and SettingsDavidMy Documents est_socket.swf - 3088 bytes after decompression :127.0.0.1 NOTICE AUTH :*** Looking up your hostname...
The video in my .swf does not play when I copy from one server to another. I do see the skin but it just displays a scrolling timeline bar and no video. I have checked the source parameter in the component inspector and that seems to be fine.
I have developed an application for recording the mp4 format movie. I am able to record mp4 format file but my recorded file is not playing in window media player.
so, if any body have some idea/suggestion about play pre-recorded mp4 file in window media player then your most welcome.
brand new to cs4. Created a short swf file with video clip, playback component under the clip, and small gray box around it. Plays fine locally. Copy swf, html, f4v to server and the gray box shows up and the player component shows up, but no video plays. Just have s white/green striped image running where the time indicator in the playback component shows up. Have earlier version of Flash running on server fine (created through 3rd-party). Server is Windows Server2003, running IIS6. Mime types include:
I've been trying to insert a video in a flash project that is hosted on a flash media server. I put the address wich by the way is [URL] and it doesn't work, I'm pretty sure that the address is right, am I misssing something?
I thought that FMS3.1 supported f4v files but I cannot get mine to play. It says it cannot find the stream specified but the file is right where all my other files are that do play fine (both flv and mp4 files). Am I incorrect in thinking that FMS3.1 supports f4v files or do I have the wrong code?
I have been using flash for years deploying video for the web.For the life of me I cannot get my .FLV file to import into Flash from my URL.It's already on the server here is the address.I've always used this method.The only thing that is different is I'm now using GoDaddy to host my site instead of 1and1. http:[url]...........I do have the .F4V locally on my machine but I've never been able to get that to play from the remote server... meaning-
I import .F4V file locally into flash.I create a .swf file and place that in the same folder as the.f4v.I use GoLive to make my webpages.I create my webpage and import my .swf and .flv into the html webpage. It plays great locally on my machine.When I upload everything uploads. When I check it all out online, I get no video.
I am relatively new to Flash development. I created my first movie with a poster board. It appears to work fine on my local machine, however, when I publish it to my production server, the poster board displays, but the click to play button does not play the movie. The page is located at: [URL]. I copied all of the published files directly to the production server.
I'm new in FMS Recently, i create an application to record videos from my camera and recorded it But, when i tried to play it in an HTML, i met errors. The .flv jumps to the end when the progress is in the middle.And i tried to play in an .exe, it plays well.
I need to play videos stored on a web server from a web browser.
I was thinking of using Flash to achieve this. I found this article [URL]
Is there a better approach? Also when the video is playing or is paused, I'd like to be able to read the current time of playback from the browser (I guess through Javascript). Would Javascript be able to retrieve this time from the flash player?
I have a web site with HTML files playing SWF movies using AC_FL_RunContent. ALL the SWFs play correctly on one server and my local PC, but only SOME of the SWFs play on another server. The files are exactly the same, as I copied them from a working server to the partially working server.
why the one server will only play some of the SWFs?
I did a bit of search without success to find if anything like this was answered before.Sorry for asking a silly question, I am a newbie and hence maybe missing something obvious.I used the Encoder to create the flv file and embedded the file in the timeline and the swf file plays the video just fine locally. For some reason, it's not playing after I uploaded it to the server. I did copy over all the files (swf)s) & flv). It's a very small video and I can't even see the video(just blank) while running the swf file after uploading the files on to the server. All other frames are working as expected.
I have developed a Player where I am using FMS to play MP3 files, it works great in normal scenario but when user keep on clicking new songs from Song List (List Component) then the player stated playing all songs. Which It should not do. Is there a way that we can unload previous song before loading new song.
In my .smil file, if I put this line it works: <video src="sample.flv" system-bitrate="150000"/> But if I put the following line it doesn't work: <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/> Both video files are in the webrootvod folder. I am using the sample dynamicStream.smil code, so my syntax should be right.
How can I tell after issuing a NetStream::play call when there is any video arrived which I can render (Video::attachNetStream)? I can see that most of that stuff is asynchronous and highly dependent on a number of variables like FMS latency, client latency and bandwidth, server load, weather etc. I however need a reliable dependent way of figuring when there is any picture to show. I administrate our service and need to monitor content people are publishing, for that I need to browse a hundre or so streams as fast as possible. What I do is I have a number of "player" streams that play a stream name (I use Administration API to get an array of these) , wait until there is picture, show it in a video object, disconnect video from stream, create new video object, play another stream, wait until picture, show it, and so on.
I found out that I can achieve a way to check whether video has arrived by NetStream::info.videoBufferByteLength, alternatively perhaps 'videoByteCount'. I cannot create a new stream for new video object, that is too much overhead, so I reuse streams. I close a stream, play new stream name, and wait until the either of the properties above is non zero. This has been working quite alright, but still occasionally I get stale data in the subsequent video objects, even when a stream is supposed to be playing new content. I need to avoid these.
So my question boils down to the already mentioned: what would be a reliable way to do what I am doing? It's just a stream of compressed data, there must be a way for Flash Player to know what is new data and what is stale data. In fact I don't think there is supposed to be stale data in a NetStream that is already playing something else! I know this is hardcore stuff, but we are pushing it :-)
I just had a very bad user experience here: [URL] The Loading... text appears every 1 second. Is it possible to buffer all the video content before playing it? Or at least a portion of the video content when playback, and at the same time display the percentage of video content loaded?
There are some recorded flv files. The guy in the video is showing numbers with his hands. (1.flv, 2.flv, 3.flv etc) And there are live idle videos. In these idle videos the guy doesnt do anything.
I need to be able to click 1 as the operator and viewers should see the guy make "1" in the video. Actually I have accomplished so far. It works. I do this:
If the operator selects a video it adds the video to playlist: stream.play(filename, -2, -1, false);
Also have this event handler to play a random idle video when there are no more action videos lined up:
function onStreamStatus(obj) { if (obj.code != "NetStream.Play.Stop") return; switch (obj.code) {
[Code].....
So it is working so far. Problem is:
As time goes by there appears to be a delay between I issue the play command on the stream and I actually see it in the video on client side.
I am able to record live streams on server side. Now I am looking for an option to play recorded streams on server side when no one is publishing a live stream. Currently I am able to record all live streams that are currently being published in /opt/adobe/fms/webroot/live_recorded Folder. All the recorded streams are saved in stream.f4v format. I want to change main.asc in livemyapp folder in such a way that if any one is not publishing live streams of the name "abc" then automatically the client is served with the previously recorded abc.f4v in his browser.
Here is main.asc /* * application.onAppStart:* is called when application load. It contains Live (out of the box) * application specific initializations. */ application.onAppStart = function(){ // Logging trace("Starting Live Service..."); [Code] ....
What should I write in main.asc so that if a client is requesting to watch a stream and if that is not being published at the moment, he should be served the recorded version of that stream.
I just installed Flash Media Server 4.5 on my apache2.2 server. I am running the default webpage from the program, https:[url].... I get an error when running the HDS streaming sample Error#2032. The rtmp sample runs fine. I run the HLS on IE and it give the error message that it can only run on Safari, whicvh is fine. BUt when I run this sample on Safari nothing happens.
We are using FMS3.5 for VOD streaming. It's spotted that when we are using Flash Player Version = WIN 10.0.42.34/10,0,45,2, it is encountered that the video picture is hang but audio keeps playing after our commercial break point. we will first pause the video content and then use the same object to play the instream ad. After that, the video is resume when instream ad complete.
I am building a custom administration application which has to review streams published to our FMS application. This is to ban clients publishing inappropriate content. I am wondering if I have to make a connection to the application, as normal users do, in order to play the published streams? I am getting the list of streams using another connection, to rtmp://domain:1111/admin, like outlined in Administration API, and issuing the 'getLiveStreams' call.
The reason I am asking is because firstly, I remember that the Administration Console can play streams published to the server, but I don't recall it incrementing the connection count which shows amount of user clients connected to an application. Maybe I have missed however, but if I am right and it indeed can play streams without connecting to the application (which actually DOES sound a bit unlikely, given how the stream names are local to an app.), then maybe I can do it too? Secondly, I presently have to differentiate users and administrators in my 'onConnect' script, because are perform completely different roles. If I could relieve my admin. app from connecting to the application, I could also dump the role switching.
We have one player in this player we are playing flv files. If we are opening that player in the mozilla we can view the flv file after 2 second but in the internet explorer we can see the same flv after 20 to 25 second.
My video files are not playing progressively off the host server. They do in simulate download: Here's the code for one simple module that plays 3 different f4v's on radio buttons. In theory they should stream progressively in a flvplayback instance called qualtestplayer when a radio button is pushed. But they fully download before starting to play.