Flash :: No TotalTime Property When Streaming Mp3s Over RTMP (Amazon CloudFront)?

May 31, 2011

I'm building a Flash mp3 player to handle streaming mp3s served by Amazon CloudFront (which uses Flash Media Server). I'm using an FLVPlayback 2.5 component to do most of the heavy lifting (I tried an all AS3 method, but any stream automatically stopped within 5 - 10 seconds of playing). When I trace out the FLVPlayback's totalTime property, I get NaN. This is causing the seek bar to simply not work. This only seems to affect mp3s, as when I load an FLV I get a real value for totalTime. Does anyone know why this is happening

View 1 Replies


Similar Posts:


Flash - Variable Bitrate Streaming With Amazon Cloudfront

Jul 6, 2010

what I need to do to set up variable bit-rate streaming with Amazon Cloudfront. I am not using JWPlayer but have built my own flash player.

What calls to I need to make to Cloudfront and how do I make them? Or is it all handled on the client side?

I am using FMS 3.5.

View 1 Replies

Flash :: OSMF Seek With Amazon Cloudfront?

Jun 7, 2011

I've written a little OSMF player that streams via RTMP from Amazon Cloudfront. There's a known issue, the mp3 duration is not correctly readed from metadata and thus the seek function is not working.
I know there's a workaround implying the use of getStreamLength function of NetConnection, which I successfully implemented in a previous non-OSMF player, but now I don't know how and when to call it, in terms of OSMF Events and Traits. This code is not working:

[Code]...

View 1 Replies

Actionscript 3 :: Building Flash Video Player With Amazon Cloudfront To Stream MP4?

Aug 2, 2010

So I have a working Flash player using Cloudfront, AS3, NetConnection & NetStream. Works with a FLV, but I need it to work with MP4s. It connects to the stream, and outputs the following:

NetConnection.Connect.Success
NetStream.Play.Reset
NetStream.Play.Start
NetStream.Buffer.Full

My presumption is that it is working when looking at these messages, however it doesn't show the video or play any audio.

View 1 Replies

Media Server :: CloudFront Streaming - Slow And Buggy

Mar 22, 2011

Though I've so far had good luck testing FMS with EC2, cloudfront has been awful. Whether I get an actual connection to a stream is hit or miss. Sometimes it connects. Sometimes it connects with no audio. Sometimes is says it's connected, but then shows me the play button (not playing). Delay is anywhere from 10 - 60 secs. Here are a couple of [URLs].

View 3 Replies

Flash :: Player In Windows 7 - No Streaming MP3s?

May 7, 2009

Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming. Wondering if anyone else has Windows 7 specific problems with Flash player?

View 3 Replies

Android :: Flash - Streaming For Devices Using Amazon AWS And Adobe FMS 4.5?

Apr 11, 2012

I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?

<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>

[code].....

View 1 Replies

Media Server :: Flash Player In Windows 7 - No Streaming MP3s?

May 7, 2009

Just installed Windows 7 RC (7100), and got the latest Flash player for IE8 and Opera. My site [URL] has a music player I created that plays (streams) MP3s from a Flash Comm Server I run. The player works fine with Flash Player version 10.0.22.87 on other platforms, but not in Windows 7. Once you pick a song, it should start immediately. Even clicking the play button doesn't work. The symptoms make me think there's a problem establishing the netconnection for streaming.
I've read Microsoft added streaming of some kind in Windows Media Player for Windows 7, could it be interfering?

View 1 Replies

Flash RTMP Streaming With No Filename - How To Connect

Mar 9, 2010

I am building a flash media player for an live audio stream. The server is set up to stream from a url that looks like so: [URL]. The instructions I have found say to first set the directory:

nc.connect("rtmp://ourwowzaserver.net:80/ourfiledirectory");
And then later play it:
nc.play(mp3:thefilename)

This works when we have discrete filenames on the server (thefilename), but the live stream is not a file - rtmp://ourwowzaserver.net:80/shoutcast. How in the heck do I get .play to play it?

View 2 Replies

ActionScript 3.0 :: Rtmp Streaming In Flash Builder

Nov 11, 2010

I am trying to connect to an rtmp site using flash builder 4. I have created a class to handle the connection. This code works (traces a connection error) if connection.connect(null); but if i try to put an rtmp site in the connection, it doesn't do anything. I have it scripted that if the connection fails it should trace and error message but it just seems to stop. any thoughts?

ActionScript Code:
package com.streaming.video
{
import flash.display.Sprite;

[Code]....

View 0 Replies

Handbrake - M4V / MP4 Files With Flash Streaming Server Over RTMP

Oct 8, 2010

We are attempting to transcode some video to a format suitable for our Flash Streaming Server. In the past we have used Adobe Media Encoder (AME) CS4, but we are working with *.VOB files this time, and AME CS4 does not support them. We are attempting to use Handbrake now, as it has great support for h.264 and MP4 files. Unfortunately while the files play wonderfully on our local machines, they do not stream from the Flash streaming server over RTMP. The files come out of Handbrake with a *.m4v extension. Our old files out of AME CS4 are *.MP4's with h.264 and AAC audio. I can see no differences in video or audio codecs which leads me to believe it may be a container format problem. We are attempting to use Handbrake because it does an excellent job of batch encoding files and produces good quality files.

View 1 Replies

ActionScript 2.0 :: Streaming MP3s With Resampling At 32000Hz?

Jun 12, 2007

I was testing out different load times and encoding properties for my mp3 files to be played through Flash and came upon something weird. The files I encoded with a Resampling rate of 32000hz when played through my xml MP3 player are sped up enormously; it was as if I changed the tempo to something it shouldn't be. I have a position / duration field and the duration of a 30 second song shows up as 21 seconds and the music played reflects that time change in terms of how fast the song is played.

View 3 Replies

Create/modify Flash Video Stream Before Streaming Via RTMP?

Jan 4, 2010

Usually, flash streaming is done by capturing webcam video/audio and streaming using NetConnection and other objects to servers like FMS,Red5,Wowza etc.I haven't found any example on how to create your own stream of images and stream as a video to the server.I know it would be possible to convert the image to bytes and send via SharedObjects. Then decode on server and create a video file on the server (e.g. using ffmpeg), but I would rather do it in realtime on the client side if possible.

View 3 Replies

Flash :: RTMP Streaming Videos Ending 3-4 Secs Too Early?

Jan 25, 2010

I've created a player for a client in the past using their LimeLight server to stream videos and not had an issue before, however for a new client using different LimeLight server, the videos seem to be ending 3-4 secs too early.

My traces on 3 vastly different videos I tested:

metadata duration = 32 // 32 secs long, ends at 27
Stop [27.350 seconds] = 4.65
metadata duration = 17 // 17 secs long, ends at 12
Stop [12.852 seconds] = 4.148
metadata duration = 258 // 258 secs long, ends at 255
Stop [255.861 seconds]

In the video players I check for NetStream.Play.Stop then put a 'reset' type function in there. This function however triggers too early due to this strange bug. Has anyone have seen this before?


private function netStatusHandler(event:NetStatusEvent):void
{
trace("connected is: " + nc.connected );

[Code].....

The only work-around I see for this is saving the initial number I get from the metadata duration, and running a timer to constantly check for when the current ns.time matches metadata and then run my reset function.

View 1 Replies

Flash :: Server Bandwidth Usage With Rtmp Streaming Of Video?

Oct 11, 2010

Quick question - I have the following setup:

(1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer
(2) A streaming video distribution set up via Cloudfront

If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data transfer into the server (i.e. for data being read by the SWF) and out of the server (i.e. for data being displayed by the SWF to the user) on account of streaming the video to users (assuming that data transfer into and out for the server is being charged for)?

View 1 Replies

Flash :: Embed RTMP Live Streaming Link To Browser?

Mar 31, 2011

how to embed rtmp link to be viewed in a browser? I already tried Moeya but it is still not running. Anyone knows other solution to how can I embed this to a browser?

View 1 Replies

Flash :: Realtime RTMP Streaming Of User-uploaded Files, As They Upload?

Jan 12, 2010

I want users to be able to upload audio files to my server (say, over HTTP.. mechanism doesn't matter much), and then I'd like to assemble those files into a playlist and stream them out over a live RTMP stream to a Flash widget.The catch is: I'd like to begin streaming the audio files before they completely finish uploading. For example, if a user uploads an hour-long mp3, I'd like it to be able to begin playing on the RTMP stream once, say, the first minute has been uploaded.I'd like to support mp3 and AAC, and would hope to avoid re-encoding the files. Is is there a way to make this work with Wowza, Flash Media Server, or some other clever solution?

View 2 Replies

Media Server :: Streaming For Android Devices Using Amazon AWS And Adobe 4.5

Apr 11, 2012

I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in  <object><embed> and  <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]

View 4 Replies

Flash :: RTMP Streaming Server Implementation: Connect/createStream/play Message Sequence Passed, But No Video/audio In Flashplayer

Oct 8, 2010

Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players.The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations.

From Chrome debug console I can see, what all negotiating messages passed to the flowplayer. The last one is onMetaData. And after this the working sample (rtmp://flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server don't get it.

I'm starting with AVC Header message, containing sps/pps. After it first AVC picture passed. After - AAC header and AAC sample. And then AVC/AAC samples. This dumped OK by rtmpdump - I have working flv on exit. But flowplayer and others does not work.

[Code]...

View 2 Replies

Make Live Streaming On RTMP?

Feb 15, 2010

Am using adobe media development server successfully able to make live streaming on RTMP

View 1 Replies

Media Server :: RTMP Streaming With HLS Delays

Feb 25, 2012

Currently, we are streaming using RTMP, but I want to switch to HLS to allow iOS devices to stream our video. I do not want to encode two separate streams though because we are operating with limited bandwidth on mobile data cards. If I stream using the livepkgr, the delay to iOS devices is about 12 seconds which is OK. However, on desktop clients, we have live scoring integrated with our video, so we cannot have a delay that long. My question is, if I connect to the same stream in a Flash client for the desktop, will the delay still be that long? Or will it stream in real time to flash clients with the delay only for iOS devices using HLS? Also, am I correct in assuming that I can do this on 1 stream, or do I need to setup a separate stream for RTMP and HLS?

View 1 Replies

Java :: Best Way For Live RTMP Streaming From Dv Camcorder?

Nov 3, 2009

I herd about RED5, but unfortunately I can't find any examples for feeding it with external source. I know RTSP is in development, but I'm thinking about (named) pipes or something like this. There is is also project named xuggle that is as far as I understand ffmpeg wrapper for Java, but I herd they have also problems with live streaming.

View 5 Replies

ActionScript 3.0 :: Bandwidth Usage Calculation For RTMP Streaming?

Aug 15, 2011

I am in a requirement where I need to calculate the bandwidth usage of rtmp streaming. Is there any way I can calculate the number of total bytes I have download during the rtmp streaming?

View 2 Replies

Professional :: Android Video Streaming To RTMP Server?

Oct 7, 2010

I am trying to publish a video to an RTMP Server but it doesn't publish. It might be a pre-release bug. I am able to play a NetStream but not able to publish one. Is there a sandbox issue? I'm not sure. Because, the FMS RTMP Server will not let a client connect unless it has been downloaded from the same host as the server (something like a sandbox condition)

View 2 Replies

Calculate Number Of Bytes Download During RTMP Streaming?

Aug 15, 2011

How can I calculate the number of bytes download during RTMP streaming? So that I can keep track of bandwidth usage for particular user? I hope the question is simple enough to understand the requirements.

View 1 Replies

Media Server :: RTMP Live Streaming Including DVR?

Sep 9, 2011

I have some questions regarding 4.5 and deciding which version we must license (FMIS or FMS). Obviously there is a huge price difference and as this is within a local network we don't require encryption or multicast. Here is the scenerio we need to stream live DVR to mac, windows browser AND iPhone/iPad and devices running Android 2.2(Froyo)+. I need someone from Adobe to help us decide.
 
1. I see DVR is now listed as a feature in Flash media server page. Does that mean its no longer exclusive to Flash Media Interactive server. For both http streaming and RTMP?
2. Previously in order to stream live to Adobe dynamic streaming, Flash media interactive server was required because a live segmenter had to be used. Is this still the case? Or can we just launch adobe live media encoder (FLME) and stream to flash media server.3. Related to #2 can we switch between serving streams via RTMP or dynamic streaming without changing the format of the material on disk?4.I was at a webcast for 4.x and remember being told that the latency for http live dynamic streaming was 20 seconds because of the repackaging that had to take place. Is this still true? What is the latency for iOS playback from ingest to playback?5. For the iOS playback feature do the streams have to be in Adobe dynamic streaming format or can we just stream via FLME RTMP and trust it to do the right thing?6. Does the iOS playback support DVR?7. Does the Android plugin have good support for RTMP live streaming including DVR?

View 8 Replies

Media Server :: Mp3 Audio Visualization With Rtmp Streaming?

Sep 20, 2011

Am developing an application with Flex 4.5 & Flash Media Server. I need a visualization curresponding to the plaing track . It is possible with SoundMixer.computeSpectrum(bytes, true, 0) in case of progressive downloading. But not working with rtmp streaming. And also need audio wave curresponding to the track which is also working with progressive ownloading usinf Sound object.

View 1 Replies

Actionscript 3 :: Using BitmapData.draw() On A Streaming (RTMP) .f4v With OSMF?

Sep 14, 2010

I am trying to use BitmapData.draw() on a video object, but using the OSMF framework.My hosting service has set up the following so that I can access my rtmp video:

<VideoSampleAccess enabled="true">/</VideoSampleAccess>

Simplified code is as follows:

_videoURL = "my-url-here"
resource = new StreamingURLResource(_videoURL);
videoElement = new VideoElement(resource);
_player.media = videoElement;

[code]....

However, I am getting the following error message:

SecurityError: Error #2135: Security sandbox violation: BitmapData.draw: ...

View 2 Replies

ActionScript 3.0 :: Streaming M4V Video From Remote Location Via RTMP

Sep 15, 2011

At a certain point in the app flow, a m4v video is streamed from a remote location via rtmp. This works well, except for two little problems:

1. In very rare cases, the video starts playing, but you see no images and only hear the audio. Seems like this happens more often with Chrome, but that is only a guess.

2. In the first frame or so of the video, you hear a noise in the audio. It really is very short, but still a nuisance. This chirp is not there when viewing the same video with VLC or QuickTime player. It IS there when viewing with the Windows Media Player.

Are there any known problems with codecs and the flash as3 video streaming (via NetStream/NetConnection)? The video is composed by using the ffmpeg library (one mess of a library, I can tell you...) to bring together a live-rendered video (using a 3D Engine) and a pre-created *.wav (which does not have the chirp).

View 3 Replies

Media Server :: RTMP And Streaming Not Working For Start Screen

Apr 30, 2009

I've freshly installed the FSM demo on a redhat linux box, and have everything working. From that start screen running on Local Host, I click the "Play video (HTTP)" and that video of a train shows up. Cool. But when I click the link above it ("Play Video (RTMP)") I get an error message: "Connection Error. press Play to try again." and no matter how many times I hit play, I get that same message. The Dynamic stream doesn't work either, and the Interactive sucessfully displays webcam feeds, but doesn't show the "Play Live Stream" button thing. Is there anything special you have to do to get the RTMP stuff working? Some special command or server you have to run?

Would firewalls intefere with things (I'm pretty sure there isn't one on the machine, but I'm flailing wildly here) or would permissions mess things up? I'm completely lost ^_^;; I guess I should also add that there doesn't seem to be any log files. I'm looking under the server install directory, and there isn't even a "log" folder. There isn't one under Apache, either. It confuses me. So far all I can find on the internet is instructions to look at the log files...but if they aren't there... Am I just looking in the wrong places, or are they just not being generated yet? I did a tcpdump with wireshark, and the web app IS pinging port 1935 (for RTMP), but the packets are failling the checksum and are refusing to be reassembled because of that. Is this making sense to ANYBODY?

View 18 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved