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


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

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

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

ActionScript 3.0 :: OSMF MediaPlayer.seek Not Seeking To The Correct Point?

Feb 24, 2011

Here's my function:

ActionScript Code:
private function onTrackClickHandler( e:MouseEvent,trackWidth:Number):void{
mps.mediaPlayer.seek((skinControls.trackBg.mouseX/trackWidth) * mps.mediaPlayer.duration);

[code].....

View 0 Replies

Flash :: Content-Delivery-Networks (CDN) Like AWS Cloudfront, Policies?

Jun 26, 2011

Is this a typical 'CDN' policy ? Is this to encourage customers to host only such content that is going to be around for quite a while, and going to see probably a million downloads I started looking at AWS Cloudfront for it's ability stream RTMP media (aka Flash server like behaviour) to host video content. That is to say, I am not too concerned about the "distribution close to client" benefit. However, what surprised me is a clause on the AWS Cloudfront pricing page, that says something like the first 1000 'cancellations' (per month) are free. I interpret 'Cancellation' to the be the act of removal of content that I no longer wish to serve via the CDN. Is that right ?

My requirement is the ability to serve media content (streaming audio, streaming video) which isn't shared with general public or a large audience. It is something like each of these files have a lifetime (or relevance) for only few days (a week or so, at most), and each file will be viewed only by a small handful of people/consumers (e.g. 1 file viewed by an average of 3 people, maximum say 10 people). Also the content's privacy needs to be maintained, so an accidentally shared media URL shouldn't allow an unauthorized person to access it. In this case, is it right to assume that CDN is an overkill, not the right solution ?

I was drawn to AWS CF for it low price (at least, low entry price) for RTMP streaming abilities. What other options could I consider. For me, high availability and round-trip-time are secondary... primary concern being cost, i.e. it needs to be as low as possible. On the question of "how low", I'd say low-enough for developing economies, s.a. in Asia, South America and Africa.

View 2 Replies

Flash :: Set A Buffer Graphic Using OSMF?

Jun 29, 2011

I'm building a pretty simple player and have a a buffer size set on my MediaPlayer (mediaPlayer.bufferTime = BUFFER_TIME). That's working but I want to show a graphic whenever it starts to buffer. I have an Event Listener on my mediaplayer to show and hide but it doesn't seem to be working properly.[code]...

View 1 Replies

Flash :: Crossfade Two AudioElements In OSMF?

Sep 5, 2011

I'd like to crossfade two AudioElements inside a SerialElement but I don't know where to start.

View 1 Replies

Flash :: Seeking Error In OSMF?

Dec 1, 2011

I have a HTTP video player built using Adobe's OSMF and I am experiencing a strange behavior when trying to seek within a subclip.The player requests data from the server using URL like "http:[url]...." to get the full video, and appends "?begin=123456" to request a subclip starting at 123456 bytes offset.Whenever I try to seek within a loaded subclip, the playhead just drops to the start of the subclip and the video plays from there. Although both mediaPlayer.canSeek() and mediaPlayer.canSeekTo(newtime) return true.

View 1 Replies

ActionScript 3.0 :: OSMF Player Without Flex (Flash Only)?

May 28, 2010

I am looking to build a custom OSMF player such as this OSMF player sample, however I only have Flash CS but not Flex. Is it possible to build a OSMF player without using Flex?

View 2 Replies

Flash :: Experience Using Strobe Media Playback (OSMF)?

Sep 11, 2010

Does anyone have an experience of using Strobe Media Playback (OSMF) in a real project? How is it compared to JW Player and Flowplayer?

View 2 Replies

Flash :: OSMF Detecting The End Of A Live RTMP Stream?

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

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 :: Accessing Private Files From Amazon S3?

Apr 27, 2010

I have flash (AIR) application running on a single controlled system (there is only one computer running it and nobody has access to it).I will host some files on Amazon's S3 and I need to make sure that only my flash app running locally on that computer can access those files.I'm wondering what the best (most secure) approach would be for doing this.My initial thought is to make the files on S3 private and store the secret key on the local computer running the flash app. Then when I needed to access the files from flash I would send out an authenticated query string with some expiration time. The only problem with this is that I don't know how to generate the S3 signature in flash. Also I'm a little skeptical about storing the secret key on the flash machine (even though it's a privately owned machine with no other users using it).Is there a better approach perhaps?I have access to a server with PHP, so I could maybe use that as some kind of proxy, I'm just not sure how while keeping the file access secure and not creating a bottleneck through the web server (as opposed to direct access to S3).

View 1 Replies

Flash :: Unable To Load Images From Amazon S3

Feb 27, 2012

I have a flex 3 app that is attempting to load images from Amazon S3. The images fail to load, so I fired up debug mode. In debug mode, the images load, but I also get the following output in the debugger[code]...

View 1 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

Flash - OSMF Player Stops Working When Deployed Onto Apache Tomcat Server?

Dec 28, 2010

I downloaded OSMF Sample player and opened osmf.html, (C:playerosmf.html)it worked perfectly without any problem.The same file when I deployed onto tomcat server,[URL] I get the error "The specified capability is not currently supported" while debugging.

View 2 Replies

Flash :: Setting Up Amazon Web Services Media Interactive Server

Apr 24, 2011

I've been trying to set up an instance of Flash Media Interactive Server on Amazon Web Services for an AVChat (avchat.net). I signed up for the service here:[URL] I have some simple questions on getting it started --- namely: do I create the FMIS instance myself now that I've signed up, or do I need to go ahead and create it? I see under the EC2 tab I can create an instance under 'Community AMIs' for adobe-flashmediaserver-useast/fms-4.0.1.8011-centos-5.5-ami-1.manifes t.xml Is this what I want? I realize this is a bit of a noob question.

once installed what I'm trying to do is to add a folder for AVChat into /opt/macromedia/fms/applications/ ([URL]). I am assuming that once I do have this instance running, I can move/modify files on the server instance.

View 7 Replies

Flash :: Required On Adobe Media Server On Amazon Web Services

Oct 28, 2011

I have just started using Adobe Flash Media Server on Amazon Web Services. Does anyone know how can I monitor server statistics such as the number of active connections? I have connected using SSH to the server but I cannot know what to do from this point on?

View 1 Replies

Flash :: Code Own Socket Server Or Use Red5/ElectroServer On Amazon EC2?

Apr 17, 2010

I've been thinking for a long time about working on a multiplayer game in Flash. I need updates frequently enough that ajax requests won't work so I need to use a socket server. The system will eventually have enough objects/players that I would consider it an MMO. I would like to set up a scalable system on Amazon's EC2. (Which probably effects my choice of server) This architecture would hopefully allow the game to grow without many changes over time. (Using a domain decomposition technique or something similar)

Heres my internal debate:Should I

a. Code my own socket server in C++ or Java?

b. Use the free and open source Red5 socket server for Flash?

or c. Pay the licensing fees and go for Electroserver?

I consider myself a decent developer, but am at an impasse as to what road to go down. I'm not sure if I, could develop/would need, the features of one of the prepackaged socket servers.

I'm also not sure if the prepackaged servers would work well in an Amazon EC2 environment and take full advantage of its features.

View 2 Replies

ActionScript 3.0 :: Downloading A File From Amazon S3 From Inside Flash Client

Nov 23, 2009

So to get around Flash security issues, I have a script to upload files to S3 by sending it to a PHP script on my server which then uploads it to S3 with server-side PHP libraries.

Now, I'm looking for a solution to downloading a file from S3 in the same way. I suppose the best way to do it is to somehow make a PHP script that downloads the file from S3, then sends it back to the Flash client?

But the one thing is, I don't want the file to hang around--I'd like to delete it when the process is done. I suppose I can just have the Flash client call another PHP script on the server that deletes the file after the load is finished.

View 1 Replies

Flash :: Swf - Using Amazon S3 To Host Videos - Why Does The FlashVar Show No File Extension

Jul 8, 2010

I'm using FlowPlayer to replace an existing FLV player on my site that plays videos from Amazon E3. I have many pages and each should show a different video. For each page, I have a value stored in my CMS that is the "streamName". The stream name corresponds to a flashvars paramenter in the object/embed tags that show the video player:&streamName=my-great-video

On my new player, I'm able to get the video using a URL similar to [URL] How Does Flash (or Amazon???) know to add in the .swf extension? There are several video formats used on the site, and the current player works with them all... But, as I mentioned above, on each page the value store for the video (ex="my-great-video") includes no extension.

View 1 Replies

Actionscript 3 :: Seek Bar In Flash?

Jun 1, 2010

I have created a flash movie in AS3, I wanted to have a seek bar [or a Back and Forward button] to move my movie forward/backward.

View 1 Replies

Flash :: Start Or Seek To Sub-second Intervals With NetStream?

Jan 20, 2010

I am working on a Flash Video player and am implementing the ability to start a video at x time within the span of an FLV (served from FMS). I am able to start it x seconds into a stream without any issue using

netStream.play(source, startTime);

but as far as I can tell, it only supports seconds. I am looking to be able to give a start time (or even a seek time if that is supported) in milliseconds, or really anything more precise than whole seconds.

Anyone know of any way to achieve this even by monkey patching the fl classes?

View 1 Replies

Flex :: Seek To An Exact Point In A Flash Video Without A Flash Media Server?

Aug 20, 2010

Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in a video?It seems to always 'snap' to keyframes (which is understandable). I'm just wondering if there are any mechanisms in the video classes for seeking to exact frames, ie it should do the translation from keyframe to specific frame in the background rather than having to actually play the video forward to the desired frame.This is not a streaming file and has nothing to do with buffering. The player is just downloading a movie file from the web and playing it from memory.

View 1 Replies

Flash :: Getting Error While Trying To Seek In My Streaming Video Player

Jan 28, 2010

I'm building a video player here[url]...

It's streaming RTMP, and I'm trying to get my video to seek correctly if the user clicks on the groove bar (gray bar under the green progress bar) Currently it does not seek and gives me a NaN on my duration variable and an error on my progress bar width variable, which is puzzling me.

For some reason my videoDuration variable is coming up as NaN when used inside of my seeker function, also I'm getting a null object reference error when trying to trace out playerCntrls.progressTotalW which is the total width of the groove bar[code]...

View 1 Replies

Flash :: NetStream.seek() For Mp4 To Exact Position Not Keyframe?

Jul 26, 2010

It seems seek() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes?

View 2 Replies

Actionscript 3 :: Netstream.seek() Not Working For MP4 Videos In Flash

Mar 11, 2011

I am implementing a video player in Actionscript and I need to be able to define the starting play time for the videos. Netstream.seek(pos) works for flv files but fails for H.264 files (the player starts playing the video from the beginning). Anyone knows what might be the problem? (I am using Netstream for this instead of adding a parameter with the starting time when I call the Netstream.play method because I don't have Flash Media Server).

View 2 Replies

Flash :: Use Script To Seek Position Of Videos Embedded On A Page?

Nov 28, 2009

Is it possible to use javascript to seek position of videos embedded on a page (Videos from Youtube, DailyMotion, Revver, etc)?

View 2 Replies

Flash :: Flex Component - Show The Stream Progress On The Seek Bar

Jul 2, 2010

I am developing a audio player in flex. I need a seekbar kind of like on youtube's video player. To implement the basic seek functionality the HSlider component is enough. But I also want to show the stream progress on the seek bar. (youtube colors the already streamed part of the seekbar red). Is there a way I can achieve the same? drag and drop audio player component with play/pause and seek functionality.

View 1 Replies







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