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


Similar Posts:


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

Media Server :: FMS Causes Error 1009 In OSMF Player

Jul 5, 2011

I have written a program to publish the audio and video data to the FMS. I am publishing the video data to FMS in live mode and trying to play back via OSMF player. When i start publishing video data in the livepkgr application folder of FMS files like .bootstrap, .control, .meta are getting created. But when i try to playback via OSMFplayer i will get error 1009 and one intersting thing what i have observed is after 7 minutes this error won't come and OSMF player starts playing properly. give the solution for error 1009 which comes only for first 7 minutes?

View 12 Replies

ActionScript 3.0 :: FLVPlayer Error - Seeking Bar / Volume Control Turned Pink

Aug 6, 2009

I just ran into an error I haven't come across yet. The player's seeking bar turned pink and so does the volume control. Don't know what would have caused it. That's what it looks like. And the link is the errors I'm getting when the movies finish playing. I don't know if that as anything to do with it. I tried to narrate what I was doing. [URL].

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

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 :: 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

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

Seeking The Standard Flash Video Player?

Jul 14, 2009

Where can I get or buy the flash video component I keep seeing around the web which has the extra function of making the flash video go full screen.

View 4 Replies

Flash :: Flashplayer 10.1, Set Enhanced Seeking To False, Without FMS

Nov 26, 2010

So I run into this issue that Enhanced Seeking is enabled by default. And I would really like to disable it (long story here). But it seems you can only disable it on the FMS, by adding this setting to the application.xml. But the thing is we are not sure if we will end up using an FMS or not. So, can I disable Enhanced Seeking without using FMS?

seek() reference

View 1 Replies

Flash :: On Demand Video Transcoding And Seeking?

Oct 10, 2011

At the moment i am using vlc to transcode my video realtime and display the output through Flowplayer.The problem is that I am struggling to seek using flowplayer my time gets out of sync between the stream and flowplayer and there are a few other issues.Are there any streaming servers that allow for real time transcoding and allow for a flash player to seek.

View 1 Replies

Flash - Seeking Video Beyond Buffered Area?

Dec 23, 2011

Normally we use NetStream.Seek method but it will make the seek after the buffer area crossed the seek time length.(HTTP). Can we seek the video that is beyond the buffered area like youtube in red5. Will it start the buffer from the seek point.

View 1 Replies

ActionScript 3.0 :: Flash Play Sound On Seeking?

Jun 26, 2011

I have a flv video file that I imported it on the stage and it plays on timeline. I have written a code that on mouse movement on the stage, the video plays from start to end ( mouse movement from left side of the stage to the right side )

Code:
stop();
stage.addEventListener(MouseEvent.MOUSE_MOVE,stageMovement);
function stageMovement(evt:MouseEvent)

[code]....

The problem is the sound doesn't play in this way. What should i do ?

View 3 Replies

Flash :: Seeking To A Part Of Video That Hasn't Been Loaded Yet

Feb 28, 2011

I was told there is a server technology that allows user to seek to a part of video that has not been loaded yet even if I am using progressive download, not true streaming.

View 1 Replies

Flash :: AS3 - Dynamically Adding Cue Points To Flv And Seeking To Next Cue Point

Mar 14, 2011

I have a flvplayback component onto which I am loading a video. To mimic next frame and previous frame actions I am adding cue points to the loaded for every second of its length. The next frame /previous frame functions implement seekToNextNavCuePoint and seekToPrevNavCuePoint on the video. But its not working the way I expected it to.

Here is the actual class file. You can directly compile it with an fla file containing button instances in the library for play pause stop... Also you would need some sample flv file.

[Code]...

View 3 Replies

Flash :: Video Streaming - Random Seeking In External Files?

Feb 27, 2011

I am working on a system that requires me to be able to load large video files using Flash. However, the problem I am running into is that users need to be able to seek to a random point in the file that may or may not be downloaded yet and have it instantly start playing (think Youtube). The video files can be hosted anywhere, and thus I do not have the ability to install policy files or anything of the like.

I have looked into this, and cannot find any answers. Does anyone know of a way to enable this random seeking in Flash files without policy requests or an RTMP server installed at the destination?

View 1 Replies

Actionscript 3 :: Optimize Random Seeking Of Embedded Video In Flash?

Apr 8, 2011

I have an Embedded (synchronized with timeline) clip in a flash movie.I am controlling the currentFrame of the clip by dragging a slider left to right (to simulate rotating an object).The problem is when I go forwards, motion is smooth, but if I drag to the left Flash cannot seem to efficiently play back in reverse and the motion is extremely jerky.Obviously I'm skipping frames depending upon the position of the mouse, but there is a very noticable lag when currentFrame is decreased vs. increased. Is there a way to optimize an embedded timeline clip for reverse random seeking like this?Possible solutions (untested) :Use video instead of embedded - I would expect this to make the situation worse though!Create a second reversed video for when scrolling to the left. This would probably double the file size.

View 2 Replies

ActionScript 3.0 :: Flash Seeking Elegant Code For List Component?

Jan 13, 2011

The following ActionScript 1.0 code no longer works in CS5:

productList.setChangeHandler("listchange");
listchange=function(me) {
gotoAndStop(me.getSelectedItem().data);[code]....

This code takes the value in a clicked cell within a List and positions the playhead on the frame indicated by the value. The label is a simple string and the value is the name of the named frame.I know that I need to use an event listener,

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

Handle NetStatusEvents With OSMF?

Jul 12, 2011

I am developing a video player using the OSMF library. I have the problem that I sometimes lose the connection to the server. So I set up an object that watches the connection to the server and in case of connection lost it tries a limited number of times to reconnect before giving up. Everything works just fine except for the message that I get on the debugger version of the player which states:[code]But I still get the error. The onNetStatus method gets events like NETSTREAM_BUFFER_EMPTY, NETSTREAM_BUFFER_FULL or NETSTREAM_PLAY_START but not NETSTREAM_PLAY_STREAMNOTFOUND.

View 2 Replies

ActionScript 3.0 :: Load A ByteArray FLV In OSMF?

Oct 21, 2011

I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method (just like adding 10 at each byte). I can load/play them using NetStream.appendBytes() after my decrypt, but that happens only after I read all video data. What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF player that I already have.
 
This is my current code just to play my decoded FLV byte array
 
private function playBytes(bytes:ByteArray):void
{
// detecting it's header
if (bytes.readUTFBytes(3) != "FLV")

[Code].....

View 3 Replies

Actionscript 3 :: Set Video Size In OSMF?

Apr 29, 2010

OSMV is very thick so so I'm trying to put a series of minimalist tutorials and again I'm stuck with something that should be dead simple.I have a VideoElement that I added to a MediaPlayer. Now now do I set the size of the video?I'd like to just set the size on the mediaPlayer or MediaElement and not include 20 layout classes like the OSMF examples.

private function handle_elementLoaded(e:MediaFactoryEvent):void
{
mediaPlayer = new MediaPlayer(e.mediaElement); [code]....

View 1 Replies

Actionscript 3 :: OSMF - Add Cuepoint To A Video?

Jun 5, 2010

I'm trying to add a cuepoint to a video using OSMF. I built an OSMF video player, and I'd like to use this instead of the FLVPlayback component, which seems like the only way to add an actionscript cuepoint? Anyhow, I created a cuepoint by writing this:

[Code]...

View 2 Replies

Eclipse :: Flex 4.1 And OSMF 1.5 - Does It Work?

Apr 29, 2011

The Flex 4.1 SDK ships with OSMF 1.0. For new features, OSMF can be updated. Adding the updated osmf.swc to a Flex 4.1 project, I get error messages as soon as I add an OSMF component in my application (VideoDisplay in the sceenshot): Screenshot: [URL].png OSMF 1.5 download page According to the documentation, OSMF 1.5 should work with the Flex 4.1 SDK. Unfortunately, I have to stick to Flex 4.1 because Flash 10.1 needs to be supported (Flex 4.5 needs Flash 10.2) When I change the SDK to version 4.5, the error messages disappears and it compiles as expected. --> Is the documentation wrong about supporting Flex 4.1 or am I doing something wrong?

View 2 Replies

Flex :: OSMF With Basic Authentication?

Jul 24, 2011

How would one create a video or audio stream using OSMF when there must be basic authentication on the url?Can one feed in Audio/Video using HTTPService to provide the header authentication?

View 2 Replies

Actionscript 3 :: Load A ByteArray FLV In OSMF?

Oct 20, 2011

I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method by now (just like adding 10 at each byte).

I can load/play them using NetStream.appendBytes() after decrypting, but that happens only after I read all video data it's not streamed.

What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF based player that I already have built. I'm lost on how OSMF deals with FLV, otherwise, I would try to create a plugin or something like. .

find a way to load a local file using OSMF, passing a ByteArray value, instead of a url (below). Or even giving me directions to create a OSMF plugin to solve my problem.

videoElement.resource = "video_url/video.flv";

This is my current code just to play my decoded FLV byte array

private function playBytes(bytes:ByteArray):void
{
// detecting it's header
if (bytes.readUTFBytes(3) != "FLV")

[Code].....

View 1 Replies

Flex :: Play Flv Formatted ByteArray In OSMF?

Jan 9, 2011

I am developing an web application in flex which have a feature of recording the runtime by having a snapshot of each frames then encoding it into a ByteArray for video playback. I am currently using NetStream.appendBytes() for playing the ByteArray FLV. It is working, but I just found out about OSMF and thinking bout integrating it in my application. It is it possible to play the flv byteArray in OSMF?

View 1 Replies

Actionscript 3 :: Detect Event From SWFElement In OSMF?

Apr 7, 2011

I use OSMF's SWFElement for my project to load SWF file in to main Application but the main app can't detect event from child SWF at all, .CODE in the Main App

mediaPlayerSprite = new MediaPlayerSprite();
var swfElement:SWFElement = new SWFElement();[code]....

CODE in the Child Flash SWF using Flash CS3 add code in The FLASH TimeLine

this.dispatchEvent(new Event('animationEnd') );

View 1 Replies







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