Actionscript :: Play An Mp3 Live Stream With Flash?
Jun 29, 2011
I'm completely new to ActionScript and Flash. I need to create a flash plugin that can play audio that is streaming live in an mp3 format. I would have used the new html5 <audio> tag except that they don't support mp3, and I have thus resorted to Flash.[code]...
View 1 Replies
Similar Posts:
Jul 16, 2009
In order to play a FMS stream (live or on demand), either an FLVPlayback component or the Video class is needed.And they require ActionScript 3 and Flash 8 or above.
As far as i know , Youtube, Dailymotion and Google Video stream their on demand videos from a FMS, and their players are compatible with Flash 7.
How can they achieve this? If Youtube, Google and Dailymotion do that, i deduce it's possible..
I tried to create a Flash 7 application that plays a video coming from FMS, using a MediaDisplay component, but it doesn't work well. Sometimes it shows the video, sometimes not.So i don't think youtube player uses MediaDisplay..
View 7 Replies
Sep 4, 2011
I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.Too, when I try and open the html with the stream in a browser, nothing appears.
View 5 Replies
Sep 5, 2011
I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash software I try and set the source of FLVPlayback component to rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.
View 12 Replies
Apr 8, 2009
I need to play a .FLV file (a commercial), then switch over to a live RTMP stream. Then, every 30 minutes STOP the live stream (or mute/hide it if thats more efficient/effective) and play the commercial again, then continue with the stream for another 30 minutes and repeat. For some reason I'm clueless on how to do this. I don't know if I'm supposed to use timers or setInterval. For now I'm using the FLVPlayBack component (I'm too lazy to code my own right now).
It would be really cool if the script could sense when the video is done playing rather than me having to set a specific time because they might not all be the same length. I dont want my viewers seeing 15 seconds of nothing if its a 15 second commercial and I set a timer for 30 seconds.
View 1 Replies
Sep 23, 2010
I'm trying to get Flex Builder 3 to play a live video stream with Flash Media Server and Flash Live Media Encoder.
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not with Flex.
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
<?xml version="1.0"?><!-- controlsvideodisplayVideoDisplayFMS.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox> <mx:Label text="RTMP FMS 2.0"/> <mx:VideoDisplay autoBandWidthDetection="false" source="rtmp://localhost/vod/Legend.flv"/> </mx:HBox></mx:Application>
View 3 Replies
Oct 13, 2010
I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'
View 2 Replies
Jul 13, 2011
I am publishing video content to FMS with my program to livepkgr application. After i start publishing the vidoe content, files like .bootstrap, .conrol, .f4f and .meta are gettign created inside the livepkgr folder's my stream folder. But when i try to playback via OSMF player, the player is throwing error 1009. This happens for some few minutes. After some 4-5 minutes, the player start playing the live video content properly (.f4f file size is not getting updated for those few 4-5 minutes)
View 2 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
Jun 1, 2011
I have a streaming video that is displayed on a web page through a flash player from an external source. This video has a huge border that I would like to crop out before displaying. How can I alter the feed in real time before showing it to the user, such that the resulting video has its border removed?
View 1 Replies
Jan 27, 2010
Live streaming and a buffer on a NetStream do not mix. Why? The docs don't say you can't do this.The playback gets hosed. Buffer is supposed to fill to what you set it to before playing. Instead though, about half the time, the player starts playing right away and disregards the buffer time you've set. Then you get caught in short buffering and rebuffering cycles that degrades the playback experience.
Give it a shot yourself. Here is the simplest of live streaming video players. No frills. Just connect it to your live stream by changing the defaultURL string and stream name in the ns.play() statement.
Run it in Flex debug mode. It will check and print the ns.bufferLength property every second. The buffer is set to 20 secs currently. Last time I ran it, I never made it above 2 seconds in the buffer. Player started playing right away instead of buffering the full 20 secs first. Sometimes you get to the full 20 and sometimes not.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="init()">
<mx:Script>
[code]....
View 2 Replies
Oct 26, 2010
What's the best way to check whether there is video data (or not) in a live RTMP stream? For example, if a broadcast terminates, can I auto-detect that condition, to perform some sort of "thank you for watching" behavior?Also, how can I know if a visitor somehow gets disconnected from the Internet during the broadcast? (So I can notify the visitor of the problem, and give instruction.)
View 1 Replies
Mar 9, 2009
im looking for a Flash Video player that can play Live Stream Video .... i follow the video basic 6 but wasnt sure which part of the link i have to put on ns.play("link here"); this the link i got from the stream
s1.addParam('flashvars','&file=livestream&bufferlength=3&type=rtmp&streamer=rtmp://w.fl.misolutions.net/wn-live01/'); i dont which part i should used to replace "link here"
View 1 Replies
Nov 11, 2010
I am trying to encode and stream live video. I have downloaded both the Flash Media Encoder and Flash Media Server. The problem i have now is, i can't able to connect to Flash Media Server. The FMS url is as default: rtmp://localhost/live. Do i have to purchase a FMS url? How do i make sure that my FMS is running/ activated?
View 1 Replies
Sep 12, 2011
use Flash's StageVideo object through the example ActionScript file in this page [URL] the problem is it's just showing up a black screen (no video) for live streams which are not using the H264 codec?and also it is not even throwing up a StageVideoEvent.RENDER_STATE event to say that it cannot play the stream. Actually it can seem to play the stream because I can hear audio but it is just unable to show up any video, anybody encountered this scenario before?Someone commented on some other sites to check if the "Enable Hardware Acceleration" in the Flash settings is checked, and I can confirm that it is checked, again this is only happening whenever I'm viewing a non-H264 stream
View 1 Replies
Jul 25, 2010
Is it possible to broadcast a live video stream from my PC to my website and have it appear in a flash player?
View 4 Replies
Feb 7, 2011
I want to make sure that only authenticated users are publishing streams to my Adobe Flash Media Server.
Ideally I would like to limit the IPs which are allowed to publish streams to the server.
I read about the Adobe Authentication Plugin, but apparently it is broken since it works only for Adobe Flash Media Live Enconder. It doesn't secure the server for other encoders that publish streams.
View 1 Replies
Nov 22, 2011
We have a Red5 Server that we use to host a video chat. We are looking for a way to overlay SWF files over the top of a live stream video.For example, we could overlay an SWF animation of snow falling in front of a live stream from a webcam.
View 1 Replies
Oct 3, 2002
Is it posible to convert a live stream into a flash format to save on bandwidth? If so, what player could be adapted to use it, and how could I convert it to begin with? If not, what is the best format to use for a live stream to get good quality without using too much bandwidth?
View 1 Replies
Jun 16, 2009
insert captions into a live flash video stream.[URL]this example uses a Flash client app wich can invoke something like video_nc.call("sendDataEvent",null,inputfield_txt.text);How can do this without any Flash client/environment ? (I of course still use an FMS 3.5) I would like to use a python (or php...whatever) piece of code to extract caption from VBI in the incoming video stream and insert it in the flash stream.
View 3 Replies
Aug 2, 2010
I know the stream can only be modified at publishing side by previous posts. I was thinking of using Server shared objects, but it's not supported by lite.
View 2 Replies
Nov 19, 2009
I wonder how I can stream FLV videos live with Red5 open source flash server.
I've tried most of the methods I know of, but can not get it to.
script that can stream live FLV videos.
View 2 Replies
May 24, 2010
I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...
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
Aug 19, 2011
Has there been any further discussion regarding restricting who can stream to FMSS (not FMIS or the development version).
I found this article, but I don't know if this was ever fully resolved:
[URL]
I don't want just anyone to connect to my server to stream live. I want to restrict by IP address, authentication, or any other means.
View 7 Replies