Justin is dead on. B/c you are using progressive download, you cannot
seek to a point beyond what is already downloaded.
You may want to consider using Red5 or Flash Media Server (or whatever
they are calling it now). Both will allow you to stream video. Red5 is
open source. FMS is commercial, but the developer edition will allow a
limited number of connections (I think 5 or 10 concurrent), so it might
be enough, depending on your application needs. Both however assume
that you have a server available onto which you can install the
streaming app.
Justin Haygood wrote:
1. Make sure that much of the video is downloaded first. This is a
drawback of progressive downloaded video.
2. Seek() only works to keyframes. Make sure you have keyframes
encoded in the video at those points.
--------------------------------------------------
From: "Kevin Shorner-Johnson" <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2008 8:28 PM
To: <[email protected]>
Subject: [AFFUG Discuss] NetStream and Video Problem
I have recently encountered a problem with the netStream.seek()
method. I have built a video application for my doctoral
dissertation that extensively uses the seek function with a
"scrubber bar" and buttons that allow the user to move through a
video in 10 second and 1 minute increments.
When I pilot tested the application this summer, I used a 20
minute flv video that was loaded into the application and everything
worked just great. Now I am having problems with the seek()
method. When I use the scrubber bar, or any button to move forward
through the video, the video 'snaps back' to a location that is
nowhere near where I need it to go. For example, if I move the
playhead position to 23 minutes and 14 seconds, the video might snap
back to 9 minutes and 34 seconds and never allow me to jump to that
spot in the video. I have to let the video play to that spot.
I think that the root of all of my problems is that I have built
the application around progressive downloading of the video rather
than streaming. Now that I am using larger videos of 45 and 55
minutes, this may be the root of all of my problems. Is this my
problem or is there another aspect that I need to troubleshoot?
Thanks for any help that you can provide,
Kevin Shorner-Johnson
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe
in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe
in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------