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
Similar Posts:
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
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
Sep 29, 2010
i have a video in which I can seek to unload parts (Pseudo-Streaming), the server return the video and it loads it from the requested second,the problem, i don't want to make a new request to the server if a part has already been buffered, here's what I have in mind, but can't achieve
Code:
if(netStream_has_been_download){
//Just run the seek() command
[code].....
View 1 Replies
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
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
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
Jul 7, 2010
I can get which part of file in bytes is loaded using netstream.bytesLoaded,netstream.bytesTotal, I can get the current playing position using netstream.time. But I want to know how many seconds of video are already loaded (not the length of buffer, which remains constant).
View 1 Replies
May 22, 2010
I'd like to start playing a web-based video at a specific time, say 2 minutes in, even if the video hasn't been downloaded that far. I thought I could just "seek" to that time but that apparently only works when the video is buffered first.
So for example, this:
Code:
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.play("[URL]");
ns.seek(123);
video.attachVideo(ns);
Seems to work if you have the video cached or buffered or whatever, but if you don't it gives the "NetStream.Seek.InvalidTime" error, which makes sense. I want to know if it's possible to start playing a video at a specific time, even if the video hasn't loaded up to that point.
View 1 Replies
Feb 17, 2010
I have an flv with some navigation cue points embedded in it. The video is pretty long. When I upload it to my site, I cannot access cue points in unbuffered parts of the video. What do I need to do so I can jump to unbuffered parts of my video?
View 5 Replies
Apr 15, 2010
Am working in flex video player with RTMP.How to skip the video file to the middle of a video without having to download the whole file using RTMP.Where i want to put the Video file(FLV). Red5 server location or any other folder.Where i want to put the flex project out put file Red5 server or any other server like XAMPP. How Can i skip the frames in flex using RTMP(*red5*)..
View 1 Replies
Jan 20, 2011
Here's what's going on: I have an F4V file loaded into a SWF. There are no real playback controls -- nor do I want any. I've created a "skip" button that's supposed to a) pause (or seek to 0) the video, then remove the video from the stage. It seems I can either pause the video OR seek to zero, but not both.Here's what I've tried:
Code:
function seekTo (num:Number):void
{
[code].....
View 3 Replies
Jul 14, 2011
when uing netsream.seek(), how can i make a new request to the server if the seconds parameter specifies a time outside of the currently buffered video data. I want to seek unloaded time
View 3 Replies
Nov 4, 2011
I have a "video on demand" video that I'd like to seek at any point of the video. It's playing on a Motorola Xoom tablet. I can seek to the beginning of the video when the playhead is near the beginning. However, if I the playhead is towards the end of the video and I attempt to seek to the beginning of the video, the video seeks many seconds after the start of the video. I thought this might be a buffering issue, so I set inBufferSeek to true, but I still have the same issue.
View 2 Replies
Apr 13, 2011
How do you create the example like "Ninja unboxed 2". The flash video seems to take over the whole browser window. Or even better as the example above has been removed [URL]
View 1 Replies
Feb 5, 2010
Whenever a youtube or any other flash content is buffered on the browser, isn't it true that is downloaded to the client computer ? So my assumption is that, any completely buffered youtube file should be found on my client right ? For example, when i view this video on youtube, i see that it is actually referring to this swf location [URL] How does youtube actually buffer this video on my computer then ?
Note: My objective is NOT to download youtube videos as i know there are extensions available for it. I just want to know how it works :) .
View 1 Replies
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
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
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
Sep 29, 2011
I have a movie clip named circle_mc(see the image on the link below) and a mask object(movie clip) which determines visible area of the circle. User can change the portion which is visible (extend the red area and make it red+blue, gray area is invisible). I need to find proportion of visible area to invisible area (red+blue/gray) so that I can calculate angle.
View 1 Replies
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
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
Mar 18, 2009
how do I load video into the movie area like in the pic? where I can click on a box on bottom and the video for that will load in movie area?
View 1 Replies
Nov 27, 2009
I am playing a video and created a button which displays video area in fullscreen but video doesn't cover whole screen area, there are blanks left and right of the video. I searched a bit and every flash player i found with full screen option in fact resizes the video the same way, it just doesn't cover whole area. Why is that? Can video in full screen mode be resized to cover whole screen area without those blanks at sides?
View 6 Replies
Mar 12, 2010
When recording a video to FMIS if the stream is buffered, does this get buffered in memory or does it use up local storage?
I am developing an application that will use a web cam to record videos which will then be submitted to the server. Ideally I would have liked to write the video to disk first and then upload later however, I understand that I can't do this with flash (my solution has to be in browser AIR apps aren't an option). I am ultimately concerned about video quality so in order to ensure that I loose as few frames as possible I'm planning on setting NetStream.bufferTime to a large value. I am concerned however that someone with a poor internet connection and a good webcam will quickly use up local storage assuming that it is set to the default of 100K.
If this is the case then I potentially need to think again about my approach - maybe even look into Silverlight 4, or at the very least try and explain to my users how to go into flash settings and set local storage to be unlimited.
View 1 Replies
May 19, 2010
I'm moving an movieclip using the cursor keys. The device it has to run on, is too slow to process the keys realtime, so the keys are placed in a some sort of buffer and the object keeps on moving for a while when the key is released.The device places 8 keys in the buffer per second, but flash can only process 5 per second, so holding the key for a second, will look like I've pressed it almost twice as long. Any way to counteract this? I've tried using Key.isDown, but that returns true, even though they key is released, until the buffer is emptied.
I've tried using the onKeyDown event to start the movement and stop the movement using the onKeyUp event, but it seems like the onKeyUp event only occurs when the buffer becomes empty. Even when I remove the onKeyDown listener, it seems like the buffer only decreases 1 key per frame. It might have worked when there is no keyrepeat in the hardware, but that is not an option. It would be good if there was a timestamp indicating when the key was pressed, or some way to clear the buffer, but I've not found one.
View 7 Replies
Nov 4, 2009
i'm trying to build a mp3 player that plays a (for istance) base64 encoded mp3 file.my needs is to protect original files and decrypt them at runtime.now, i'm playing with new Sound apis and SampleDataEvent like this:
ActionScript Code:
public var s1:Sound;
public var s2:Sound;
[code].....
View 9 Replies
Feb 11, 2010
I found an interesting questions regarding the events in action script: is the event buffered and ordered?
Ie) In a swfloader example, I setup a timer(1 sec) to run a function, in the function I setup a listener to event INIT of the loaded swf. It depends on the network condition that whether the timer handler or the INIT event will be first executed. Imagine a case that the INIT event fired first but the handler to handle the INIT event be setup later, will the handler be invoked?
Another question, if the loaded swf fired several events very fast, will the events be kept ordered as the fire sequence?
View 2 Replies
Jan 30, 2009
what I'm trying to put together is some code that will load in multiple flvs, buffer the vids and have them play one after the other in a loop. I have so far code that loads in an array of flvs but doesn't loop. Also the buffering stops the play back for a moment towards the end of the first video, not sure why but changing Flush into Full doesn't help. Anyone know how to add a buffer that plays after a % of the movie it buffered or will buffer movie one and then buffer movie two while the first movie is still playing? As for looping goes I need a listener waiting for the last video in the array to be completed, but not sure how to pull that off.
[Code]....
View 0 Replies
Feb 10, 2010
The upgrade version of FMS 3.5.3 append the new function about buffered stream, in order to resolve problem when the bandwidth no good caused the video getting more and more slow, but I can't find the configuration in which file.
View 2 Replies