ActionScript 3.0 :: Determine Length Of Live Stream Until Now
Jul 19, 2010
I have written a browser based stream publisher for my work. It works well for most clients until we get to a few who are streaming live tv shows (which they are producing) where they are getting interlacing issues. We have looked at software based solutions to de-interlace the video, but that puts the video out of sync with the audio and just brings a whole mess of headaches with it. I am fairly sure I can't de-interlace inside my publisher without adding excessive overhead to the computer.
It looks as though our solution is to use an ingestion style software that would handle both de-interlacing and keeping audio sync. I believe Adobe has a piece of software that they offer for that... I can't remember the name. Anyway, my question is that I need to determine the length of time that the stream has been published (while still live) from within a client player. I have read through the livedocs on NetStream and NetConnection and see that netstream.time only returns the length of time that the stream has been playing in my player... not how long the stream has been publishing. I don't have access to change any code on our FMS servers as we are going through Highwinds and they don't allow that.
View 2 Replies
Similar Posts:
Sep 9, 2010
I was wondering if I were to create a NetStream object and publish it passing in "record" (allowing the end user to record a video via webcam which is then stored on the FMS), how would I specify the bitrate and frame rates etc of the video being recorded? Is this something I need to configure flash media server to do or can I do this through action script?
View 1 Replies
Aug 28, 2010
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 Replies
Mar 9, 2010
I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.
[Code]....
My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.
[Code]....
View 3 Replies
Aug 27, 2010
I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?
View 2 Replies
Dec 12, 2011
I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.
Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent
FMS 4.5
I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....
View 2 Replies
Mar 9, 2012
I have over 1200 videos in our catalog that were somehow transcoded with a missing duration, assigning it a value of 0 - the data rate is also 0. How do I determine the video duration by another means, with just the .flv file as a resource.
View 0 Replies
Jun 28, 2004
I am wondering if anyone knows a way to determine the real length in pixels that a phrase uses.The problem lies on the fact that every character does not take the same space (x pixels). Let's say I have a dynamic text field and I want to know how many pixels does the sentence use.is not the same to have:phrase #1 =iiiiiiiiiithanphrase #2 =wwwwwwwwwweven though both are using 10 characters.What is the most precise way to find this out?
View 4 Replies
Jun 28, 2004
way to determine the real length in pixels that a phrase uses. The problem lies on the fact that every character does not take the same space (x pixels). Let's say I have a dynamic text field and I want to know how many pixels does the sentence use. i.e:
is not the same to have:
phrase #1 =iiiiiiiiii
than
phrase #2 =wwwwwwwwww
even though both are using 10 characters. What is the most precise way to find this out?
View 4 Replies
Feb 19, 2011
How i can record a live stream.
I need a very simple app that will connect to rtmp and record it. The app will be on the same server as the live stream.
View 14 Replies
Feb 7, 2012
Is it possible to live stream both RTMP and HLS with FMS 4.5?
I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
View 1 Replies
Sep 17, 2011
How can i stream video live by the help of PHP like live tv? I am willing not to use flash media server. If it is must to use it then which server is free and reliable?
View 1 Replies
Nov 11, 2009
How can i delete the Live stream that published by the client(the stream it's not working)
View 2 Replies
Feb 21, 2010
Possible to place or insert text on live video stream using the FMS?Whether with any solution or plugin.I am a web radio broadcaster and would like to have information on the screen like the station's phone number instead of having to keep reading it out all the time.
View 2 Replies
Apr 14, 2010
I'm having some trouble finding out how you can add metadata to a live stream. I'm streaming the webcam over fms and recording it in main.asc. So far so good. I have 2 applications. One that sends data and one that recieves data. The functionality is more or less like this example. The article says: "Note: If you record the video on the server side (a functionality of FMIS), the injected events are lso being triggered by the recorded file." That is what I want, but I have no idea how to make it happen. The problem is that I can't find any good examles for as3 and I have never looked into as2 (still new to flash in general )
View 1 Replies
Aug 7, 2011
I'm recording a lot of live streams for archiving purposes. Is it possible to somehow (programmaticly) get the timestamp of a certain point of such record?
View 3 Replies
Oct 24, 2011
When I use Adobe Flash Media Server 4.5 publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."
View 3 Replies
Jan 8, 2012
How to create a script of some kind to grab a still picture from a live stream and save it as a JPG file?
In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.
View 3 Replies
Jan 28, 2010
I was wondering how can I connect to a live stream camera like this one URL... or others if you know. And after I established the connection to load it in a movieClip and have it in full screen.
View 0 Replies
Mar 31, 2011
I'm just starting with ActionScript and I want to make an app, but I'm wondering that what I'm thinking of is even possible.Is it possible to make an app that receives a live stream from my desktop??
View 2 Replies
Mar 21, 2012
How do you stream a live camera feed in a flash/actionscript file?What video format do you need to stream it in a swf?
View 1 Replies
Sep 26, 2008
Code:
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://flashmedia.NunyaBusiness.com/live/");
var ns:NetStream = new NetStream(nc);
[code]....
I am using the above code for a live stream. My quesiton is how do I detect whether there is content being streamed and if not, to show a "Coming Soon" movieclip? I know that a listener would do the trick, but I have no experience with listeners in AS2.
View 4 Replies
Dec 4, 2008
I have a HD Camera streaming a live feed through FME 2.5 to FMS 3.0 using the VP6 codec and it works fine. I have now been trying to get the same stream running via H.264 and althogh FME 2.5 connects to the FMS 3.0 server and the stream starts with FMS 3.0 reporting the stream no problem. The Client application crerated with Captivate 3 using Flash Player 9 for publishing no longer dispays the video. Switching back to VP6 works again.
View 4 Replies
Jun 24, 2009
I have a live encode to the media server with dvr enabled for H264/MP3 format. When I try to play the dvr cache stream, all I get is audio and no video. If I switch to VP6/MP3, the stream plays fine. If I do a live encode with no dvr, it streams fine. Does dvr with H264 work only when you flatten the file using F4V post processor tool? Will the dvr cache stream work if I switch to AAC instead of MP3?
View 3 Replies
Sep 30, 2009
I'm running the Interactive Flash server 3 and I'm wondering is there a way to give people a user & password to limit who can live stream into the server.I can do this with the Real server and Windows media fairly easily but having problems figuring out how to on the flash server.Currently if you have the Servers IP and the flash encoder you can stream with no Username or password required. I would like to restrict this.
View 3 Replies
Apr 13, 2008
i have an urgent question for the following purpose. We plan to develope a solution consisting of a sender software for streaming live video to the streaming server. Now more than one client should be able to connect to the stream of the server. Because the different clients are connected with different bandwidth rates the server should be able to convert the video stream (e.g. the video width and height, framerate and quality) on the fly. Maybe a client with a better connection than DSL should get the video in a resolution
of 640x480, a DSL client should get the video in 352x288 and a client with ISDN in 176x144.
Is there a possibility to do this with the FMS server on the server with server-side ActionScript? Or can I limit the requested stream size on the client side? Or anything I can do?
View 8 Replies
Aug 25, 2010
I'm not sure if this is the right place to post but here goes. I'm looking to stream a live webcam on my website and have no idea where to start. I've been searching for a while and various things refer to Flash Media Server but this is costly and, as I will be streaming from University, it will probably be blocked on the network or take up too much bandwidth.
Does anyone know of a way to stream a webcam, without FMS or Quicktime Broadcaster etc.? Any free websites that provide this service could be possible, so long as the stream isn't available to anyone outside my website.
View 1 Replies
Oct 8, 2010
i need to stream a live TV Online. I have a computer with windows server 2003 and i wiil instal the adobe flash media server. I need to understand whow i can do this. I am a bigginer, what is the steps for i build a flash media server.
View 2 Replies
Dec 2, 2010
I don't find such API to indicate whether a stream is live or not.
Anyone knows how to judge this,either by client side or server side actionscript?
View 4 Replies
Feb 28, 2011
My fmis server is 3.5.4 and I use flvPlayback to play the fms live stream.
I want to let the live stream stopping status after be load completed.but after I set the autoPlay=false, the fms live stream is not stopping status after be load completed.
However I try the fms vod stream as the autoPlay=false ,is can stop .
what's different the live stream and vod stream. why the vod stream can stop but live stram can't stop?
View 3 Replies